mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8155774: move code from ModuleTestBase to toolbox
Reviewed-by: ksrini, jlahoda
This commit is contained in:
parent
5950e361a2
commit
325a065aff
43 changed files with 455 additions and 385 deletions
|
@ -46,7 +46,7 @@ public class ReportNonExistentPackageTest extends ModuleTestBase {
|
|||
}
|
||||
|
||||
@Test
|
||||
void testExportUnknownPackage(Path base) throws Exception {
|
||||
public void testExportUnknownPackage(Path base) throws Exception {
|
||||
Path src = base.resolve("src");
|
||||
tb.writeJavaFiles(src, "module m { exports p1; }");
|
||||
Path classes = base.resolve("classes");
|
||||
|
@ -64,7 +64,7 @@ public class ReportNonExistentPackageTest extends ModuleTestBase {
|
|||
}
|
||||
|
||||
@Test
|
||||
void testExportEmptyPackage(Path base) throws Exception {
|
||||
public void testExportEmptyPackage(Path base) throws Exception {
|
||||
Path src = base.resolve("src");
|
||||
tb.writeJavaFiles(src,
|
||||
"module m { exports p1; }",
|
||||
|
@ -84,7 +84,7 @@ public class ReportNonExistentPackageTest extends ModuleTestBase {
|
|||
}
|
||||
|
||||
@Test
|
||||
void testPackageWithMemberWOPackageDeclaration(Path base) throws Exception {
|
||||
public void testPackageWithMemberWOPackageDeclaration(Path base) throws Exception {
|
||||
Path src = base.resolve("src");
|
||||
tb.writeJavaFiles(src, "module m { exports p1; }");
|
||||
Path p1 = src.resolve("p1");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue