/openjdk9/jdk/test/java/beans/PropertyEditor/ |
H A D | TestEnumClassValue.java | 25 * @test 36 TestEditor test = new TestEditor(HexLetter.class); 37 test.testValue(HexLetter.A, "A"); 38 test.testValue(null, null); 39 test.testText("F", HexLetter.F); 40 test.testText(null, null);
|
H A D | TestIntegerTypeValue.java | 25 * @test 36 TestEditor test = new TestEditor(Integer.TYPE); 37 test.testValue(0, "0"); 38 test.testValue(null, null); 39 test.testText("1", 1); 40 test.testText(null, null);
|
H A D | TestLongClassValue.java | 25 * @test 36 TestEditor test = new TestEditor(Long.class); 37 test.testValue(0l, "0"); 38 test.testValue(null, null); 39 test.testText("1", 1l); 40 test.testText(null, null);
|
/openjdk9/nashorn/test/script/basic/ |
H A D | JDK-8176511.js | 27 * @test 37 function test(i) { function 46 test(-2147483649); 47 test(-2147483648); 48 test(2147483647); 49 test(2147483648);
|
H A D | JDK-8034055.js | 27 * @test 35 function test(defineGlobals) { function 52 test(true); 53 test(false); 54 test(true); 55 test(false);
|
H A D | JDK-8074556.js | 27 * @test 44 function test(o) { function 49 test(new A()); 50 test(new B()); 51 test(new A()); 52 test(new B());
|
H A D | JDK-8023531.js | 27 * @test 33 } else if (!(new RegExp("").test(""))) { 39 } else if (!(new RegExp("", "g").test(""))) { 45 } else if (!(new RegExp("", "i").test(""))) { 51 } else if (!(new RegExp("", "m").test(""))) { 57 } else if (!RegExp("").test("")) { 63 } else if (!RegExp("", "g").test("")) { 69 } else if (!RegExp("", "i").test("")) { 75 } else if (!RegExp("", "m").test("")) { 83 } else if (!re.test("")) { [all...] |
H A D | NASHORN-623.js | 27 * @test 31 var obj = JSON.parse("{ \"test\" : -1 }"); 32 if (obj.test != -1) { 33 fail("expected obj.test to be -1, got " + obj.test); 36 obj = JSON.parse("{ \"test\" : [3, -2] }"); 37 if (obj.test[1] != -2) { 38 fail("expected obj.test[1] to be -2, got " + obj.test[1]); 41 obj = JSON.parse("{ \"test\" [all...] |
/openjdk9/jdk/test/java/util/Formatter/ |
H A D | BasicShort.java | 24 /* Type-specific source code for unit test 27 * We check in the generated source files so that the test tree can be used 47 private static void test(String fs, String exp, Object ... args) { method in class:BasicShort 57 private static void test(Locale l, String fs, String exp, Object ... args) method in class:BasicShort 68 private static void test(String fs, Object ... args) { method in class:BasicShort 74 private static void test(String fs) { method in class:BasicShort 118 test(fs); 132 test(fs, args); 338 public static void test() { method in class:BasicShort 354 test(Local [all...] |
H A D | Basic.java | 24 /* @test 25 * @summary Unit test for formatter 80 BasicBoolean.test(); 81 BasicBooleanObject.test(); 82 BasicByte.test(); 83 BasicByteObject.test(); 84 BasicChar.test(); 85 BasicCharObject.test(); 86 BasicShort.test(); 87 BasicShortObject.test(); [all...] |
H A D | BasicByte.java | 24 /* Type-specific source code for unit test 27 * We check in the generated source files so that the test tree can be used 47 private static void test(String fs, String exp, Object ... args) { method in class:BasicByte 57 private static void test(Locale l, String fs, String exp, Object ... args) method in class:BasicByte 68 private static void test(String fs, Object ... args) { method in class:BasicByte 74 private static void test(String fs) { method in class:BasicByte 118 test(fs); 132 test(fs, args); 338 public static void test() { method in class:BasicByte 354 test(Local [all...] |
/openjdk9/langtools/test/tools/javac/lambda/ |
H A D | LambdaCapture04.java | 25 * @test 28 * test for capture of non-mutable locals/outer fields in multiple scopes 44 void test(); method in interface:LambdaCapture04.Tester 61 void test() { 64 void test() { 66 exec((final Integer x) -> new Tester() { public void test() { assertTrue(x + n1 + n2 + N1 + N2 + N3 == 66); } }.test(),30); 69 new B().test(); 72 new A().test(); 79 void test() { [all...] |
/openjdk9/hotspot/test/compiler/c2/cr7200264/ |
H A D | TestSSE4IntVect.java | 25 * @test 30 * @library /test/lib / 38 TestDriver test = new TestDriver(); 39 test.addExpectedVectorization("MulVI", 2); 40 test.run();
|
/openjdk9/jdk/test/java/beans/Introspector/6976577/ |
H A D | Test6976577.java | 25 * @test 31 import test.Accessor; 44 // test PropertyDescriptor 46 test(pd.getReadMethod()); 47 test(pd.getWriteMethod()); 49 // test IndexedPropertyDescriptor 51 test(ipd.getReadMethod()); 52 test(ipd.getWriteMethod()); 53 test(ipd.getIndexedReadMethod()); 54 test(ip 64 private static void test(Method... methods) { method in class:Test6976577 [all...] |
/openjdk9/jdk/test/tools/jar/modularJar/src/baz/jdk/test/baz/internal/ |
H A D | BazServiceImpl.java | 24 package jdk.test.baz.internal; 26 import jdk.test.baz.BazService; 28 public class BazServiceImpl implements jdk.test.baz.BazService {
|
/openjdk9/langtools/test/tools/javac/overload/ |
H A D | T4723909.java | 25 * @test 36 new Subclass().test(0); 40 static void test(int i) { method in class:T4723909.Superclass 41 System.out.println("test(int i)"); 45 static void test(long l) { method in class:T4723909.Subclass 46 System.out.println("test(long l)");
|
/openjdk9/jdk/src/java.base/share/classes/java/util/function/ |
H A D | DoublePredicate.java | 35 * whose functional method is {@link #test(double)}. 50 boolean test(double value); method in interface:DoublePredicate 70 return (value) -> test(value) && other.test(value); 81 return (value) -> !test(value); 102 return (value) -> test(value) || other.test(value);
|
H A D | IntPredicate.java | 35 * whose functional method is {@link #test(int)}. 50 boolean test(int value); method in interface:IntPredicate 70 return (value) -> test(value) && other.test(value); 81 return (value) -> !test(value); 102 return (value) -> test(value) || other.test(value);
|
H A D | LongPredicate.java | 35 * whose functional method is {@link #test(long)}. 50 boolean test(long value); method in interface:LongPredicate 70 return (value) -> test(value) && other.test(value); 81 return (value) -> !test(value); 102 return (value) -> test(value) || other.test(value);
|
/openjdk9/hotspot/test/compiler/c2/ |
H A D | Test6443505.java | 25 * @test 39 test(Integer.MIN_VALUE, 0); 40 test(0, Integer.MIN_VALUE); 41 test(Integer.MIN_VALUE, -1); 42 test(-1, Integer.MIN_VALUE); 43 test(Integer.MIN_VALUE, 1); 44 test(1, Integer.MIN_VALUE); 46 test(Integer.MAX_VALUE, 0); 47 test(0, Integer.MAX_VALUE); 48 test(Intege 67 public static void test(int a, int b) throws InterruptedException { method in class:Test6443505 [all...] |
/openjdk9/hotspot/test/gc/survivorAlignment/ |
H A D | TestPromotionFromSurvivorToTenuredAfterFullGC.java | 25 * @test 29 * @library /test/lib 84 SurvivorAlignmentTestMain test 86 System.out.println(test); 88 long expectedMemoryUsage = test.getExpectedMemoryUsage(); 89 test.baselineMemoryAllocation(); 96 test.allocate(); 100 test.verifyMemoryUsage(expectedMemoryUsage);
|
H A D | TestPromotionFromEdenToTenured.java | 25 * @test 29 * @library /test/lib 80 SurvivorAlignmentTestMain test 82 System.out.println(test); 84 long expectedMemoryUsage = test.getExpectedMemoryUsage(); 85 test.baselineMemoryAllocation(); 92 test.allocate(); 95 test.verifyMemoryUsage(expectedMemoryUsage);
|
/openjdk9/jdk/test/java/util/ResourceBundle/modules/visibility/src/test/ |
H A D | module-info.java | 24 module test { 25 // jdk.test.resources.classes.spi.MyResourcesProvider is in named.bundles. 27 uses jdk.test.resources.classes.spi.MyResourcesProvider; 28 uses jdk.test.resources.props.spi.MyResourcesProvider;
|
/openjdk9/jdk/test/javax/management/remote/mandatory/socketFactories/ |
H A D | RMIServerFactory.java | 31 private String test; field in class:RMIServerFactory 34 public RMIServerFactory(String test) { argument 35 this.test = test; 36 throwException = test.equals("test_server_factory") ? true : false; 41 throw new RuntimeException(test);
|
/openjdk9/jdk/test/tools/jar/modularJar/src/baz/ |
H A D | module-info.java | 25 exports jdk.test.baz; 26 provides jdk.test.baz.BazService with jdk.test.baz.internal.BazServiceImpl;
|