We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e92558 commit f525405Copy full SHA for f525405
src/test/java/org/scijava/annotations/EclipseHelperTest.java
@@ -52,6 +52,20 @@
52
*/
53
public class EclipseHelperTest {
54
55
+ @Test
56
+ public void testSkipIndexGeneration() throws Exception {
57
+ final File dir = createTempDirectory();
58
+ copyClasses(dir, Complex.class, Simple.class);
59
+ final File jsonDir = new File(dir, Index.INDEX_PREFIX);
60
+ assertFalse(jsonDir.exists());
61
+ final URLClassLoader loader =
62
+ new URLClassLoader(new URL[] { dir.toURI().toURL() }, getClass()
63
+ .getClassLoader().getParent());
64
+ EclipseHelper.indexed.clear();
65
+ EclipseHelper.updateAnnotationIndex(loader);
66
67
+ }
68
+
69
@Test
70
public void testIndexing() throws Exception {
71
final File dir = createTempDirectory();
0 commit comments