/openjdk7/jdk/test/sun/nio/cs/ |
H A D | TestUTF_16.java | 37 String expected, 42 if (!out.equals(expected)) { 43 failureReport (out, expected); 50 byte[] expected) 54 for (int i = 0; i< expected.length; i++) 55 if (testBytes[i] != expected[i]) 66 String expected) { 69 for (int i = 0; i < expected.length() ; i++) { 70 warn("expected char[" + i + "] : " + 71 Integer.toHexString((int)expected 36 testDecode(String charset, String expected, byte[] input) argument 48 testEncode(String charset, String input, byte[] expected) argument 65 failureReport(String testStr, String expected) argument [all...] |
/openjdk7/jdk/test/sun/security/pkcs11/KeyGenerator/ |
H A D | TestKeyGenerator.java | 51 TestResult expected) 71 if (expected == TestResult.FAIL) { 81 if (expected != TestResult.TBD && expected != actual) { 82 throw new Exception("Expected to " + expected + ", but " + 50 test(String algorithm, int keyLen, Provider p, TestResult expected) argument
|
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/utils/ |
H A D | ElementCheckerImpl.java | 18 public void guaranteeThatElementInCorrectSpace(ElementProxy expected, argument 21 String localnameSHOULDBE = expected.getBaseLocalName(); 22 String namespaceSHOULDBE = expected.getBaseNamespace(); 37 public void guaranteeThatElementInCorrectSpace(ElementProxy expected, argument 40 String localnameSHOULDBE = expected.getBaseLocalName(); 41 String namespaceSHOULDBE = expected.getBaseNamespace(); 56 public void guaranteeThatElementInCorrectSpace(ElementProxy expected, argument
|
/openjdk7/hotspot/test/compiler/5057225/ |
H A D | Test5057225.java | 85 static void check(long result, long expected) { argument 86 if (result != expected) 87 throw new InternalError(result + " != " + expected);
|
/openjdk7/jdk/test/com/sun/tools/extcheck/ |
H A D | TestExtcheckArgs.java | 65 static void verify(String[] args, String expected) throws Throwable { argument 70 if (ex.getMessage().startsWith(expected)) {
|
/openjdk7/jdk/test/java/beans/Introspector/ |
H A D | Test4498236.java | 182 private static void test(String expected, Object object) { argument 184 if (!actual.equals(object.getClass().getName() + expected)) {
|
H A D | Test6422403.java | 45 private static void test(Class type, String name, Class expected) { argument 48 if (!expected.equals(pd.getPropertyType())) 49 throw new Error("expected " + expected + " but " + pd.getPropertyType() + " is resolved");
|
H A D | Test6447751.java | 47 private static void test(Class<?> type, Class<?> expected) { argument 55 if (actual != expected) { 58 if (expected != null) { 59 sb.append("expected ").append(expected);
|
/openjdk7/jdk/test/java/lang/Double/ |
H A D | ParseDouble.java | 35 private static void check(String val, double expected) { argument 37 if (n != expected) 586 final double expected = 0x0.0000008000001p-1022; 597 if (conversion != expected) {
|
/openjdk7/jdk/test/java/lang/Math/ |
H A D | HyperbolicTests.java | 271 // Result and expected are the same. 307 * So, we can calculate the approximate expected result as 328 * than exp(x+offset) alone. (The expected result cannot be 337 double expected = 341 failures += testSinhCaseWithUlpDiff(input, expected, 4.0); 349 // Result and expected are the same. 358 double expected, 363 expected, tolerance); 366 -expected, tolerance); 370 expected, toleranc 357 testSinhCaseWithTolerance(double input, double expected, double tolerance) argument 377 testSinhCaseWithUlpDiff(double input, double expected, double ulps) argument 715 testCoshCaseWithTolerance(double input, double expected, double tolerance) argument 735 testCoshCaseWithUlpDiff(double input, double expected, double ulps) argument 1009 testTanhCaseWithTolerance(double input, double expected, double tolerance) argument 1029 testTanhCaseWithUlpDiff(double input, double expected, double ulps) argument [all...] |
H A D | Tests.java | 30 * and finally the expected result. 53 boolean result, boolean expected) { 54 if (expected != result) { 57 "\texpected " + expected + "\n" + 66 boolean result, boolean expected) { 67 if (expected != result) { 70 "\texpected " + expected + "\n" + 79 boolean result, boolean expected) { 80 if (expected != result) { 84 "\texpected " + expected 52 test(String testName, float input, boolean result, boolean expected) argument 65 test(String testName, double input, boolean result, boolean expected) argument 78 test(String testName, float input1, float input2, boolean result, boolean expected) argument 91 test(String testName, double input1, double input2, boolean result, boolean expected) argument 104 test(String testName, float input, int result, int expected) argument 116 test(String testName, double input, int result, int expected) argument 129 test(String testName, float input, float result, float expected) argument 143 test(String testName, double input, double result, double expected) argument 156 test(String testName, float input1, double input2, float result, float expected) argument 171 test(String testName, double input1, double input2, double result, double expected) argument 186 test(String testName, float input1, int input2, float result, float expected) argument 201 test(String testName, double input1, int input2, double result, double expected) argument 216 testUlpCore(double result, double expected, double ulps) argument 243 testUlpDiff(String testName, double input, double result, double expected, double ulps) argument 257 testUlpDiff(String testName, double input1, double input2, double result, double expected, double ulps) argument 274 testUlpDiffWithAbsBound(String testName, double input, double result, double expected, double ulps, double absBound) argument 299 testUlpDiffWithLowerBound(String testName, double input, double result, double expected, double ulps, double lowerBound) argument 321 testTolerance(String testName, double input, double result, double expected, double tolerance) argument [all...] |
/openjdk7/jdk/test/java/net/Authenticator/ |
H A D | B4722333.java | 40 static String [][] expected = { field in class:B4722333 137 if (f != expected.length) { 138 except ("Authenticator was called "+f+" times. Should be " + expected.length); 163 if (!scheme.equals (expected [count][0])) { 164 B4722333.except ("wrong scheme received, " + scheme + " expected " + expected [count][0]); 166 if (!prompt.equals (expected [count][1])) { 167 B4722333.except ("wrong realm received, " + prompt + " expected " + expected [count][1]);
|
/openjdk7/jdk/test/java/nio/Buffer/ |
H A D | Basic.java | 77 String expected, char expectedChar, 96 + expected 101 static void fail(Buffer b, long expected, long got) { argument 103 Long.toHexString(expected), (char)expected, 112 static void ck(Buffer b, long got, long expected) { argument 113 if (expected != got) 114 fail(b, expected, got); 117 static void ck(Buffer b, float got, float expected) { argument 118 if (expected ! 76 fail(Buffer b, String expected, char expectedChar, String got, char gotChar) argument 124 ck(Buffer b, double got, double expected) argument [all...] |
/openjdk7/jdk/test/java/nio/channels/FileChannel/ |
H A D | ClosedByInterrupt.java | 146 expected(e + " thrown and interrupt status set"); 157 expected(e); 165 static void expected(Exception e) { method in class:ClosedByInterrupt 166 System.out.format("%s (expected)%n", e); 169 static void expected(String msg) { method in class:ClosedByInterrupt 170 System.out.format("%s (expected)%n", msg); 174 System.err.format("%s (not expected)%n", e);
|
/openjdk7/jdk/test/java/nio/charset/coders/ |
H A D | Check.java | 87 private void mismatch(String s, byte[] expected, byte[] got) { argument 91 + Util.toString(expected) 98 private void mismatch(int i, byte[] ba, String expected, String got) { argument 104 + Util.toString(expected)
|
/openjdk7/jdk/test/java/nio/file/WatchService/ |
H A D | Basic.java | 51 static void takeExpectedKey(WatchService watcher, WatchKey expected) { argument 57 // not expected 60 if (key != expected) 432 throw new RuntimeException("key not expected"); 445 throw new RuntimeException("key not expected");
|
/openjdk7/langtools/test/tools/javac/6304921/ |
H A D | TestLog.java | 88 private static void check(int found, int expected, String name) { argument 89 if (found == expected) 90 System.err.println(found + " " + name + " found, as expected."); 93 System.err.println("expected: " + expected);
|
/openjdk7/jdk/test/java/text/Format/DateFormat/ |
H A D | ISO8601ZoneTest.java | 37 // time zone name, expected output at TIMESTAMP 149 static void formatTest(String fmt, String expected) throws Exception { argument 152 if (!expected.equals(s)) { 154 + ", expected " + expected); 161 + ", expected " + TIMESTAMP.getTime()); 169 + ", expected " + TIMESTAMP.getTime()); 173 + pos.getIndex() + ", expected " + s.length()); 212 + ", expected=" + expectedErrorIndex
|
/openjdk7/jdk/test/java/util/Locale/ |
H A D | InternationalBAT.java | 52 + "failures are expected and OK.\n" 201 // expected conversion results for the date strings of the sample locales 239 byte[] expected = expectedBytes[i]; 240 if (out.length != expected.length) { 241 reportConversionError(encoding, expected, out); 245 if (out[j] != expected[j]) { 246 reportConversionError(encoding, expected, out); 261 byte[] expected, byte[] actual) { 265 dumpBytes(expected); 260 reportConversionError(String encoding, byte[] expected, byte[] actual) argument
|
/openjdk7/jdk/test/java/util/ResourceBundle/Control/ |
H A D | LoadingStrategiesTest.java | 75 private static void check(String msg, String got, String expected) { argument 76 if (!got.equals(expected)) { 77 error("%s: got \"%s\", expected \"%s\"%n", msg, got, expected);
|
/openjdk7/jdk/test/javax/rmi/ssl/ |
H A D | SocketFactoryTest.java | 93 public static void testEquals(Object a, Object b, boolean expected) { argument 95 if (found != expected)
|
/openjdk7/jdk/src/share/classes/sun/net/ |
H A D | ProgressEvent.java | 45 // bytes expected 46 private long expected; field in class:ProgressEvent 53 public ProgressEvent(ProgressSource source, URL url, String method, String contentType, ProgressSource.State state, long progress, long expected) { argument 59 this.expected = expected; 96 * Return expected maximum progress value; -1 if expected is unknown. 99 return expected; 111 + ", content-type=" + contentType + ", progress=" + progress + ", expected=" + expected [all...] |
/openjdk7/langtools/test/tools/javac/ |
H A D | QualifiedThisAndSuper_1.java | 64 void check(String expr, String result, String expected) { argument 65 if (!result.equals(expected)) { 67 " : result " + result + ", expected " + expected);
|
H A D | QualifiedThisAndSuper_2.java | 37 void check(String expr, String result, String expected) { argument 38 if (!result.equals(expected)) { 40 " : result " + result + ", expected " + expected);
|
/openjdk7/langtools/test/tools/javac/api/6731573/ |
H A D | T6731573.java | 73 void checkErrorLine(String output, boolean expected, List<String> options) { argument 77 if (errLinePresent != expected) { 79 (expected ? "" : " not") + " expected but" +
|