-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore classes defined in the unnamed pckg inside
BeanArchives.index
fixes: #26524
- Loading branch information
1 parent
a16ffa8
commit 97571f9
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...ndent-projects/arc/processor/src/test/java/io/quarkus/arc/processor/BeanArchivesTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package io.quarkus.arc.processor; | ||
|
||
import org.jboss.jandex.Indexer; | ||
import org.junit.jupiter.api.Assertions; | ||
import org.junit.jupiter.api.Test; | ||
|
||
public class BeanArchivesTest { | ||
|
||
@Test | ||
public void testIndex() { | ||
final Indexer indexer = new Indexer(); | ||
Assertions.assertFalse(BeanArchives.index(indexer, "String")); | ||
Assertions.assertTrue(BeanArchives.index(indexer, String.class.getName())); | ||
} | ||
|
||
} |