8165583: Fix module dependencies for jdk/java/util/* tests

Reviewed-by: alanb
This commit is contained in:
Sergei Kovalev 2016-09-08 09:59:54 -07:00
parent 37ff205c8a
commit d0474e029b
7 changed files with 9 additions and 1 deletions

View File

@ -24,6 +24,7 @@
/*
* @test
* @bug 4302966
* @modules jdk.localedata
* @summary In Czech Republic first day of week is Monday not Sunday
*/

View File

@ -24,6 +24,7 @@
/*
* @test
* @bug 8135055
* @modules java.sql
* @summary Test java.sql.TimeStamp instance should come after java.util.Date
* if Nanos component of TimeStamp is not equal to 0 milliseconds.
*/

View File

@ -24,6 +24,7 @@
/**
* @test
* @bug 8146156 8159548
* @modules jdk.localedata
* @summary test whether uppercasing follows Locale.Category.FORMAT locale.
* @run main/othervm FormatLocale
*/

View File

@ -69,6 +69,7 @@ public class TestPermission {
@Test
public void runTest() throws Exception {
int exitValue = executeTestJava("--module-path", MODS_DIR.toString(),
"--add-modules", "m1",
"-m", "test/jdk.test.Main")
.outputTo(System.out)
.errorTo(System.out)

View File

@ -42,7 +42,7 @@ import static org.testng.Assert.*;
* @test
* @library /lib/testlibrary
* @modules java.scripting
jdk.compiler
* jdk.compiler
* @build ServicesTest CompilerUtils jdk.testlibrary.*
* @run testng ServicesTest
* @summary Tests ServiceLoader to locate service providers on the module path
@ -112,6 +112,7 @@ public class ServicesTest {
public void runWithModulePath() throws Exception {
int exitValue
= executeTestJava("--module-path", MODS_DIR.toString(),
"--add-modules", "bananascript",
"-m", "test/test.Main",
"BananaScriptEngine")
.outputTo(System.out)
@ -131,6 +132,7 @@ public class ServicesTest {
int exitValue
= executeTestJava("--module-path", MODS_DIR.toString(),
"-cp", CLASSES_DIR.toString(),
"--add-modules", "bananascript",
"-m", "test/test.Main",
"BananaScriptEngine", "PearScriptEngine")
.outputTo(System.out)

View File

@ -24,6 +24,7 @@
/*
* @test
* @bug 4487276 8008577
* @modules jdk.localedata
* @summary Verify that Hong Kong locale uses traditional Chinese names.
* @run main/othervm -Djava.locale.providers=COMPAT,SPI HongKong
*/

View File

@ -37,6 +37,7 @@ import static org.testng.Assert.*;
* @bug 8129126 8136802 8137316 8137317 8136804 8139350
* @library /lib/testlibrary
* @modules jdk.compiler
* java.logging
* @build GetResourceBundleTest CompilerUtils jdk.testlibrary.ProcessTools
* @run testng GetResourceBundleTest
* @summary Tests Logger.getLogger + logger.getResourceBundle in an named/unnamed module,