equal
deleted
inserted
replaced
55 // mIV and mV are analyzed. Others are compiled to make sure they are present |
55 // mIV and mV are analyzed. Others are compiled to make sure they are present |
56 // on the module path for analysis |
56 // on the module path for analysis |
57 private static final Set<String> modules = Set.of("unsafe", "mIV", "mV", "mVI", "mVII", "mVIII"); |
57 private static final Set<String> modules = Set.of("unsafe", "mIV", "mV", "mVI", "mVII", "mVIII"); |
58 |
58 |
59 private static final String JAVA_BASE = "java.base"; |
59 private static final String JAVA_BASE = "java.base"; |
|
60 private static final String JAVA_COMPILER = "java.compiler"; |
60 |
61 |
61 /** |
62 /** |
62 * Compiles classes used by the test |
63 * Compiles classes used by the test |
63 */ |
64 */ |
64 @BeforeTest |
65 @BeforeTest |
70 |
71 |
71 @DataProvider(name = "javaBase") |
72 @DataProvider(name = "javaBase") |
72 public Object[][] base() { |
73 public Object[][] base() { |
73 return new Object[][] { |
74 return new Object[][] { |
74 { JAVA_BASE, new ModuleMetaData(JAVA_BASE) |
75 { JAVA_BASE, new ModuleMetaData(JAVA_BASE) |
|
76 }, |
|
77 { JAVA_COMPILER, new ModuleMetaData(JAVA_BASE) |
75 }, |
78 }, |
76 }; |
79 }; |
77 }; |
80 }; |
78 |
81 |
79 @Test(dataProvider = "javaBase") |
82 @Test(dataProvider = "javaBase") |