/openjdk7/langtools/test/tools/javac/4917091/ |
H A D | Test256a.java | 33 static Object expected = (Object)new Object field in class:Test256a
|
H A D | Test256b.java | 36 static Object expected = (Object)new Object field in class:Test256b
|
/openjdk7/jdk/test/java/io/PushbackInputStream/ |
H A D | Available.java | 36 private static void dotest(PushbackInputStream in , int expected) argument 41 System.err.println("available must be " + expected + " , got : " + got); 42 if (got != expected) {
|
H A D | Skip.java | 33 private static void dotest(PushbackInputStream in, int expected) argument 56 System.err.println("Expected " + expected + " got " + got); 57 if (expected != got) { 58 throw new Exception("Expected " + expected + " got " + got);
|
/openjdk7/jdk/test/java/beans/XMLEncoder/6380849/ |
H A D | TestPersistenceDelegate.java | 51 private static void test(Class<?> type, Class<? extends PersistenceDelegate> expected) { argument 53 if ((actual == null) && (expected != null)) { 54 throw new Error("expected delegate is not found"); 56 if ((actual != null) && !actual.getClass().equals(expected)) {
|
/openjdk7/jdk/test/java/lang/Class/ |
H A D | IsAnnotationType.java | 37 static int test(Class clazz, boolean expected) { argument 38 int status = (clazz.isAnnotation() == expected)?0:1;
|
/openjdk7/jdk/test/java/lang/Integer/ |
H A D | ParsingTest.java | 77 private static void check(String val, int expected) { argument 79 if (n != expected)
|
/openjdk7/jdk/test/java/lang/Long/ |
H A D | ParsingTest.java | 77 private static void check(String val, long expected) { argument 79 if (n != expected)
|
/openjdk7/jdk/test/java/lang/Math/ |
H A D | Rint.java | 36 static int testRintCase(double input, double expected) { argument 39 failures += Tests.test("Math.rint", input, Math.rint(input), expected); 40 failures += Tests.test("Math.rint", -input, Math.rint(-input), -expected); 42 input, StrictMath.rint(input), expected); 44 StrictMath.rint(-input), -expected);
|
/openjdk7/jdk/test/java/lang/StrictMath/ |
H A D | CubeRootTests.java | 45 static int testCubeRootCase(double input, double expected) { argument 49 double minus_expected = -expected; 52 StrictMath.cbrt(input), expected);
|
H A D | Expm1Tests.java | 45 static int testExpm1Case(double input, double expected) { argument 47 StrictMath.expm1(input), expected);
|
H A D | Log10Tests.java | 46 static int testLog10Case(double input, double expected) { argument 48 StrictMath.log10(input), expected);
|
H A D | Log1pTests.java | 45 static int testLog1pCase(double input, double expected) { argument 47 StrictMath.log1p(input), expected);
|
/openjdk7/jdk/test/java/lang/String/ |
H A D | ToLowerCase.java | 108 static void test(String in, Locale locale, String expected) { argument 110 if (!result.equals(expected)) { 112 ", expected: " + expected + ", actual: " + result);
|
H A D | ToUpperCase.java | 96 static void test(String in, Locale locale, String expected) { argument 98 if (!result.equals(expected)) { 100 ", expected: " + expected + ", actual: " + result);
|
/openjdk7/jdk/test/java/lang/reflect/Modifier/ |
H A D | toStringTest.java | 34 static void testString(int test, String expected) { argument 35 if(!Modifier.toString(test).equals(expected))
|
/openjdk7/jdk/test/java/math/BigDecimal/ |
H A D | EqualsTests.java | 69 boolean expected = Boolean.TRUE; 71 failures += equalsTest(testValuePair[0], testValuePair[1], expected); 72 expected = !expected; 81 private static int equalsTest(BigDecimal l, BigDecimal r, boolean expected) { argument 83 int failed = (result == expected) ? 0 : 1; 87 "\n\tExpected " + expected);
|
H A D | PrecisionTests.java | 70 // The array below contains the expected precision of the above numbers 82 private static int testPrecision(BigDecimal bd, int expected) { argument 85 // System.out.printf("Testing %s, expected %d%n", bd, expected); 87 if (precision != expected) { 88 System.err.printf("For (%s).precision expected %d, got %d%n", 89 bd, expected, precision);
|
/openjdk7/jdk/test/java/nio/charset/RemovingSunIO/ |
H A D | TestUnmappableForLength.java | 43 static void testDecode(String csName, byte[] ba, int expected) argument 51 if (cr.isUnmappable() && cr.length() != expected) {
|
/openjdk7/jdk/test/sun/security/x509/X509CRLImpl/ |
H A D | OrderAndDup.java | 75 static void checkData(X509CRLImpl c, byte[] data, BigInteger[] expected) argument 77 if (c.getRevokedCertificates().size() != expected.length) { 86 if (d2.length != expected.length) { 92 if (!bi.equals(expected[i])) { 94 + ", should be " + expected[i]);
|
/openjdk7/jdk/test/java/util/ResourceBundle/ |
H A D | Bug4396021.java | 44 private static void checkValue(String key, String expected) throws Exception { argument 46 if (!result.equals(expected)) { 48 + " - key: " + key + ", expected: " + expected
|
/openjdk7/jdk/test/java/util/StringTokenizer/ |
H A D | Supplementary.java | 38 String[] expected = 40 testTokenizer(text, delims, expected); 43 expected = new String[] { "ab\uD800\uDC00\uD800\uDC01cd\uD800\uDC00\uD800xy", 47 testTokenizer(text, delims, expected); 50 expected = new String[] { "ab\uD800\uDC00\uD800\uDC01cd\uD800\uDC00", 52 testTokenizer(text, delims, expected); 55 static void testTokenizer(String text, String delims, String[] expected) { argument 58 if (n != expected.length) { 60 + ", expected " + expected [all...] |
/openjdk7/jdk/test/sun/net/www/ |
H A D | MessageHeaderTest.java | 42 if (!expected[i].equals(after)) { 43 throw new RuntimeException(Integer.toString(i) + " expected != after"); 51 static String expected[] = { field in class:MessageHeaderTest
|
/openjdk7/langtools/test/tools/javac/generics/6413682/ |
H A D | TestPos.java | 52 static final String expected = field in class:TestPos 118 if (!log.toString().equals(expected))
|
/openjdk7/langtools/test/tools/javac/unit/util/convert/ |
H A D | EnclosingCandidates.java | 41 void test(String name, String... expected) { argument 43 if (!result.isEmpty() || expected.length != 0) { 44 Name[] expectedNames = new Name[expected.length]; 46 for (String s : expected)
|