/openjdk10/hotspot/test/compiler/runtime/ |
H A D | Test6778657.java | 35 public static void check_f2i(int expect) { argument 36 float check = expect; 39 if (actual != expect) { 40 throw new RuntimeException("expecting " + expect + ", got " + actual); 44 public static void check_f2l(long expect) { argument 45 float check = expect; 48 if (actual != expect) { 49 throw new RuntimeException("expecting " + expect + ", got " + actual); 53 public static void check_d2i(int expect) { argument 54 double check = expect; 62 check_d2l(long expect) argument [all...] |
/openjdk10/hotspot/test/compiler/compilercontrol/ |
H A D | TestCompilerDirectivesCompatibilityCommandOff.java | 52 expect(!WB.shouldPrintAssembly(method, comp_level)); 53 expect(!WB.shouldPrintAssembly(nomatch, comp_level)); 54 expect(!WB.shouldPrintAssembly(method, comp_level)); 55 expect(!WB.shouldPrintAssembly(nomatch, comp_level)); 59 expect(WB.shouldPrintAssembly(method, comp_level)); 60 expect(!WB.shouldPrintAssembly(nomatch, comp_level)); 61 expect(WB.shouldPrintAssembly(method, comp_level)); 62 expect(!WB.shouldPrintAssembly(nomatch, comp_level)); 66 expect(!WB.shouldPrintAssembly(method, comp_level)); 67 expect(!W [all...] |
H A D | TestCompilerDirectivesCompatibilityCommandOn.java | 51 expect(WB.shouldPrintAssembly(method, comp_level)); 52 expect(WB.shouldPrintAssembly(nomatch, comp_level)); 53 expect(WB.shouldPrintAssembly(method, comp_level)); 54 expect(WB.shouldPrintAssembly(nomatch, comp_level)); 58 expect(!WB.shouldPrintAssembly(method, comp_level)); 59 expect(WB.shouldPrintAssembly(nomatch, comp_level)); 60 expect(!WB.shouldPrintAssembly(method, comp_level)); 61 expect(WB.shouldPrintAssembly(nomatch, comp_level)); 65 expect(WB.shouldPrintAssembly(method, comp_level)); 66 expect(W [all...] |
H A D | TestCompilerDirectivesCompatibilityFlag.java | 51 expect(WB.getBooleanVMFlag("PrintAssembly")); 52 expect(WB.shouldPrintAssembly(method, comp_level)); 53 expect(WB.shouldPrintAssembly(nomatch, comp_level)); 54 expect(WB.shouldPrintAssembly(method, comp_level)); 55 expect(WB.shouldPrintAssembly(nomatch, comp_level)); 59 expect(!WB.shouldPrintAssembly(method, comp_level)); 60 expect(WB.shouldPrintAssembly(nomatch, comp_level)); 61 expect(!WB.shouldPrintAssembly(method, comp_level)); 62 expect(WB.shouldPrintAssembly(nomatch, comp_level)); 66 expect(W [all...] |
H A D | TestCompilerDirectivesCompatibilityBase.java | 79 expect(!WB.getBooleanVMFlag("PrintAssembly")); 80 expect(!WB.shouldPrintAssembly(method, comp_level)); 81 expect(!WB.shouldPrintAssembly(nomatch, comp_level)); 82 expect(!WB.shouldPrintAssembly(method, comp_level)); 83 expect(!WB.shouldPrintAssembly(nomatch, comp_level)); 87 expect(WB.shouldPrintAssembly(method, comp_level)); 88 expect(!WB.shouldPrintAssembly(nomatch, comp_level)); 89 expect(WB.shouldPrintAssembly(method, comp_level)); 90 expect(!WB.shouldPrintAssembly(nomatch, comp_level)); 94 expect(!W 100 public void expect(boolean test) throws Exception { method in class:TestCompilerDirectivesCompatibilityBase 106 public void expect(boolean test, String msg) throws Exception { method in class:TestCompilerDirectivesCompatibilityBase [all...] |
/openjdk10/nashorn/test/script/basic/ |
H A D | trycatch.js | 32 var expect = ''; variable 37 expect = true;
|
/openjdk10/jdk/test/java/io/InputStreamReader/ |
H A D | One.java | 39 String expect; field in class:One.Test 41 Test(byte[] in, String expect) throws Exception { argument 43 sb = new StringBuffer(expect.length()); 44 this.expect = expect; 50 if (!expect.equals(sb.toString())) 51 throw new Exception("Expected " + expect 60 private static void test(String expect) throws Exception { argument 61 byte[] in = expect.getBytes("UTF-8"); 63 new Test(in, expect) { [all...] |
/openjdk10/jdk/test/javax/imageio/stream/ |
H A D | ReadFullyTest.java | 43 private static void expect(long e, long g) { method in class:ReadFullyTest 70 expect(s[0] & 0xffff, 0x1122); 71 expect(s[1] & 0xffff, 0x4499); 72 expect(s[2] & 0xffff, 0xAA33); 73 expect(s[3] & 0xffff, 0xBBCC); 78 expect(s[0] & 0xffff, 0x2211); 79 expect(s[1] & 0xffff, 0x9944); 80 expect(s[2] & 0xffff, 0x33AA); 81 expect(s[3] & 0xffff, 0xCCBB); 86 expect( [all...] |
/openjdk10/langtools/test/jdk/javadoc/tool/api/basic/ |
H A D | DocumentationToolLocationTest.java | 52 String expect = dl.name(); 54 if (!Objects.equals(expect, found)) 55 throw new Exception("mismatch for " + dl + "; expected " + expect + ", found " + found); 69 DocumentationTool.Location expect = dl; 71 if (!Objects.equals(expect, found)) 72 throw new Exception("mismatch for " + dl + "; expected " + expect + ", found " + found);
|
H A D | GetSourceVersionsTest.java | 55 Set<SourceVersion> expect = EnumSet.range(SourceVersion.RELEASE_3, SourceVersion.latest()); 56 if (!expect.equals(found)) { 57 System.err.println("expect: " + expect); 58 System.err.println(" found: " + expect);
|
/openjdk10/jdk/test/tools/launcher/ |
H A D | ChangeDataModel.java | 52 String expect = "Unrecognized option: " + dmodel; 58 checkRejection(expect, cmds1); 65 checkRejection(expect, cmds2); 69 void checkRejection(String expect, String... cmds) throws Exception { argument 72 if (!tr.contains(expect)) { 74 String error = "did not get " + "\'" + expect + "\'" +
|
H A D | EnvironmentVariables.java | 38 String expect = args[1]; 62 "' expecting the value: '" + expect + "'"); 69 if (!expect.equals(System.getenv().get(key))) { 70 throw new RuntimeException("ERROR: expected: '" + expect +
|
/openjdk10/langtools/test/tools/javadoc/api/basic/ |
H A D | DocumentationToolLocationTest.java | 52 String expect = dl.name(); 54 if (!Objects.equals(expect, found)) 55 throw new Exception("mismatch for " + dl + "; expected " + expect + ", found " + found); 69 DocumentationTool.Location expect = dl; 71 if (!Objects.equals(expect, found)) 72 throw new Exception("mismatch for " + dl + "; expected " + expect + ", found " + found);
|
H A D | GetSourceVersionsTest.java | 55 Set<SourceVersion> expect = EnumSet.range(SourceVersion.RELEASE_3, SourceVersion.latest()); 56 if (!expect.equals(found)) { 57 System.err.println("expect: " + expect); 58 System.err.println(" found: " + expect);
|
/openjdk10/langtools/test/tools/javap/ |
H A D | InvalidOptions.java | 50 void test(int expect, String option, String ... expectedOutput) { argument 51 String output = runJavap(expect, option); 55 String runJavap(int expect, String... option) { argument 62 if (rc != expect) 63 throw new Error("Expect to return " + expect + ", but return " + rc); 68 for (String expect: expects) { 69 if (!output.contains(expect)) 70 error(expect + " not found");
|
/openjdk10/jdk/test/java/awt/image/RescaleOp/ |
H A D | ImageRescaleOpTest.java | 76 int expect = 0xff7f7f7f; 77 runTest(TYPE_INT_RGB, TYPE_INT_RGB, expect); 78 runTest(TYPE_INT_ARGB, TYPE_INT_ARGB, expect); 79 runTest(TYPE_INT_ARGB, TYPE_INT_RGB, expect); 80 runTest(TYPE_INT_RGB, TYPE_INT_ARGB, expect); 82 runTest(TYPE_3BYTE_BGR, TYPE_3BYTE_BGR, expect); 83 runTest(TYPE_3BYTE_BGR, TYPE_4BYTE_ABGR, expect); 84 runTest(TYPE_4BYTE_ABGR, TYPE_3BYTE_BGR, expect); 85 runTest(TYPE_4BYTE_ABGR, TYPE_4BYTE_ABGR, expect); 94 //runTest(TYPE_USHORT_555_RGB, TYPE_USHORT_565_RGB, expect); 101 check(BufferedImage bi, int expect, String msg) argument 111 runTest(int sType, int dType, int expect) argument [all...] |
/openjdk10/langtools/test/tools/doclint/ |
H A D | OptionTest.java | 82 void test(String[] tests, boolean expect) { argument 86 if (found != expect) 87 error("Unexpected result: " + found + ",expected: " + expect);
|
/openjdk10/langtools/test/tools/javac/MethodParameters/ |
H A D | ReflectionVisitor.java | 131 String expect = null; 136 expect = "\\$enum\\$name"; 139 expect = "\\$enum\\$ordinal"; 144 expect = "this\\$[0-9]+"; 147 expect = "final this\\$[0-9]+"; 149 expect = "this\\$[0-9]+"; 152 expect = "final this\\$[0-9]+"; 154 expect = "this\\$[0-9]+"; 163 expect = "final this\\$[0-9]+"; 170 expect [all...] |
/openjdk10/hotspot/test/runtime/memory/LargePages/ |
H A D | TestLargePagesFlags.java | 61 .expect( 70 .expect( 79 .expect( 90 .expect( 100 .expect( 114 .expect( 123 .expect( 132 .expect( 143 .expect( 152 .expect( 298 public void expect(Flag... expectedFlags) throws Exception { method in class:TestLargePagesFlags.FlagTester [all...] |
/openjdk10/langtools/test/tools/javac/processing/model/type/ |
H A D | BasicAnnoTests.java | 246 /** Get the expect value from an @Test annotation mirror. */ 248 AnnotationValue v = getValue(test, "expect"); 391 String expect(); method in interface:BasicAnnoTests.Test 418 @Test(posn=0, annoType=TA.class, expect="1") 421 @Test(posn=0, annoType=TA.class, expect="11") 424 @Test(posn=1, annoType=TA.class, expect="111") 427 @Test(posn=1, annoType=TA.class, expect="1120") 428 @Test(posn=0, annoType=TB.class, expect="1121") 431 @Test(posn=0, annoType=TB.class, expect="11211") 432 @Test(posn=1, annoType=TA.class, expect [all...] |
/openjdk10/jdk/test/java/beans/Introspector/ |
H A D | TestTypeResolver.java | 69 * called "expect" which 91 Object expect = null; 93 Field f = c.getDeclaredField("expect"); 94 expect = f.get(null); 99 Field f = outer.getDeclaredField("expect" + c.getSimpleName()); 100 expect = f.get(null); 105 if (expect == null) { 108 "but not expect field"); 118 if (expect.equals(t) && t.equals(expect)) 320 static final Type expect = new ClassTypeVariable("T", Super.class); field in class:TestTypeResolver.Super 328 static final Type expect = Integer.class; field in class:TestTypeResolver.Int 332 static final Type expect = Integer.class; field in class:TestTypeResolver.IntOverride 340 static final Type expect = new ClassTypeVariable("X", Mid.class); field in class:TestTypeResolver.Mid 344 static final Type expect = String.class; field in class:TestTypeResolver.Str 348 static final Type expect = ParameterizedTypeImpl.make( field in class:TestTypeResolver.ListInt 353 static final Type expect = ParameterizedTypeImpl.make( field in class:TestTypeResolver.ListIntSub 362 static final Type expect = ParameterizedTypeImpl.make( field in class:TestTypeResolver.ListU 367 static final Type expect = ParameterizedTypeImpl.make( field in class:TestTypeResolver.ListUInt 372 static final Type expect = ParameterizedTypeImpl.make( field in class:TestTypeResolver.ListUSub 381 static final Type expect = ParameterizedTypeImpl.make( field in class:TestTypeResolver.ListUSubInt 386 static final Type expect = new ClassTypeVariable("S", TwoParams.class); field in class:TestTypeResolver.TwoParams 390 static final Type expect = new ClassTypeVariable("T", TwoParamsSub.class); field in class:TestTypeResolver.TwoParamsSub 394 static final Type expect = String.class; field in class:TestTypeResolver.TwoParamsSubSub 398 static final Type expect = new ClassTypeVariable("T", Intf.class); field in interface:TestTypeResolver.Intf 404 static final Type expect = String.class; field in class:TestTypeResolver.Impl 408 static final Type expect = String.class; field in class:TestTypeResolver.Impl2 412 static final Type expect = new ClassTypeVariable("T", Bound.class, Number.class); field in class:TestTypeResolver.Bound 416 static final Type expect = Integer.class; field in class:TestTypeResolver.BoundInt 420 static final Type expect = Number.class; field in class:TestTypeResolver.RawBound 424 static final Type expect = Integer.class; field in class:TestTypeResolver.RawBoundInt 438 static final Type expect = new MethodTypeVariable("T", m); field in class:TestTypeResolver.MethodParam 446 static final Type expect = Object.class; field in class:TestTypeResolver.Raw 450 static final Type expect = Object.class; field in class:TestTypeResolver.RawSub 454 static final Type expect = String[].class; field in class:TestTypeResolver.SimpleArray 458 static final Type expect = GenericArrayTypeImpl.make( field in class:TestTypeResolver.GenericArray 463 static final Type expect = GenericArrayTypeImpl.make( field in class:TestTypeResolver.GenericArrayT 468 static final Type expect = String[][].class; field in class:TestTypeResolver.GenericArrayTSub 472 static final Type expect = ParameterizedTypeImpl.make( field in class:TestTypeResolver.Wildcard 477 static final Type expect = ParameterizedTypeImpl.make( field in class:TestTypeResolver.WildcardT 487 static final Type expect = ParameterizedTypeImpl.make( field in class:TestTypeResolver.WildcardTSub 498 static final Type expect = WildcardTSub.expect; field in class:TestTypeResolver.WildcardTSubSub 502 static final Type expect = List.class; field in class:TestTypeResolver.RawWildcardTSubSub 506 static final Type expect = ParameterizedTypeImpl.make( field in class:TestTypeResolver.WildcardTSuper 516 static final Type expect = ParameterizedTypeImpl.make( field in class:TestTypeResolver.WildcardTSuperSub 526 static final Type expect = ParameterizedTypeImpl.make( field in class:TestTypeResolver.SuperMap 539 static final Type expect = ParameterizedTypeImpl.make( field in class:TestTypeResolver.SubMap 546 static final Type expect = ParameterizedTypeImpl.make( field in class:TestTypeResolver.ListListT 557 static final Type expect = ParameterizedTypeImpl.make( field in class:TestTypeResolver.ListListString 568 static final Type expect = new ClassTypeVariable( field in class:TestTypeResolver.UExtendsT 573 static final Type expect = Integer.class; field in class:TestTypeResolver.UExtendsTSub 577 static final Type expect = field in class:TestTypeResolver.SelfRef 582 static final Type expect = SelfRefSub.class; field in class:TestTypeResolver.SelfRefSub [all...] |
/openjdk10/jdk/test/java/util/logging/ |
H A D | TestConfigurationListeners.java | 255 private static void expect(TestConfigurationListener listener, long value) { method in class:TestConfigurationListeners 304 expect(l1, 0); 305 expect(l2, 0); 308 expect(l1, 1); 309 expect(l2, 1); 311 expect(l1, 1); 312 expect(l2, 1); 314 expect(l1, 2); 315 expect(l2, 2); 317 expect(l [all...] |
/openjdk10/jdk/src/java.base/share/classes/javax/crypto/ |
H A D | CryptoPolicyParser.java | 307 private boolean peekAndMatch(String expect) argument 310 if (peek(expect)) { 311 match(expect); 317 private boolean peek(String expect) { argument 323 if (expect.equalsIgnoreCase(st.sval)) 327 if (expect.equalsIgnoreCase("number")) { 332 if (expect.equals(",")) 336 if (expect.equals("{")) 340 if (expect.equals("}")) 344 if (expect 390 match(String expect) argument 702 ParsingException(int line, String expect, String actual) argument [all...] |
/openjdk10/langtools/test/tools/javac/api/6440333/ |
H A D | T6440333.java | 47 URI expect = src.getCanonicalFile().toURI(); 48 System.err.println("Expect " + expect); 50 if (!expect.equals(fo.toUri())) {
|
/openjdk10/langtools/test/jdk/javadoc/tool/6964914/ |
H A D | Test.java | 46 void javadoc(String path, String expect) { argument 65 if (!out.contains(expect)) 66 error("expected text not found: " + expect);
|