Skip to content

Commit

Permalink
Solved some problems.
Browse files Browse the repository at this point in the history
  • Loading branch information
Doom9527 committed Apr 8, 2024
1 parent 45d7c4c commit 7b9a606
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions elide-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,6 @@
<artifactId>hibernate-validator</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.yahoo.elide</groupId>
<artifactId>elide-core</artifactId>
<version>7.0.2</version>
</dependency>
</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@ public void testGetAnyAnnotatedClasses() {

@Test
public void testGetAnnotatedClassesNoClassesFound() {
Set<Class<?>> classes = scanner.getAnnotatedClasses("example", Include.class);
int expectedNumberOfAnnotatedClasses = 33;
assertEquals(expectedNumberOfAnnotatedClasses, classes.size(), "Actual: " + classes);
classes.forEach(cls -> assertTrue(cls.isAnnotationPresent(Include.class)));

assertThrows(IllegalArgumentException.class, () -> {
scanner.getAnnotatedClasses("nonexistent.package", Include.class);
}, "No annotated classes found in the specified package: nonexistent.package");
Expand Down

0 comments on commit 7b9a606

Please sign in to comment.