/openjdk7/langtools/test/tools/javac/file/ |
H A D | T7018098.java | 111 <T> void checkEqual(String label, T actual, T expected) { argument 112 if (actual != expected) 115 + "; expected: " + expected
|
/openjdk7/jdk/test/sun/nio/cs/ |
H A D | TestUTF_32.java | 35 String expected, 40 if (!out.equals(expected)) { 41 failureReport (out, expected); 48 byte[] expected) 52 for (int i = 0; i< expected.length; i++) 53 if (testBytes[i] != expected[i]) 64 String expected) { 66 for (int i = 0; i < expected.length() ; i++) { 67 warn("expected char[" + i + "] : " + 68 Integer.toHexString((int)expected 34 testDecode(String charset, String expected, byte[] input) argument 46 testEncode(String charset, String input, byte[] expected) argument 63 failureReport(String testStr, String expected) argument [all...] |
/openjdk7/langtools/test/tools/javac/T5090006/ |
H A D | broken.jar | ... .Object, java.lang.Object) String message
Object expected
Object actual
public static void assertEquals (java.lang. ... |
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | quickSort.cpp | 79 bool QuickSort::compare_arrays(int* actual, int* expected, int length) { argument 81 if (actual[i] != expected[i]) { 83 print_array("Expected array", expected, length);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/message/ |
H A D | AbstractHeaderImpl.java | 85 public WSEndpointReference readAsEPR(AddressingVersion expected) throws XMLStreamException { argument 87 WSEndpointReference epr = new WSEndpointReference(xsr, expected);
|
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/AES/ |
H A D | TestShortBuffer.java | 55 private byte[] expected = null; field in class:TestShortBuffer 63 private void init(byte[] in, byte[] expected) { argument 65 this.expected = (byte[]) expected.clone(); 66 this.out = new byte[expected.length]; 82 byte[] expected = null; 109 if (!Arrays.equals(out, expected)) { 111 System.out.println("expect: " + new BigInteger(expected));
|
/openjdk7/jdk/test/com/sun/jdi/ |
H A D | FinalLocalsTest.java | 100 private void test(Method method, int which, String name, String expected) { argument 102 System.out.println(" test() comparing expected = " + expected + 104 TreeSet expectedSet = buildSet(expected); 117 //assert expectedSet.isEmpty() : name + " expected set should have been emptied";
|
H A D | Vars.java | 126 void test(Method method, int which, String name, String expected) { argument 128 if (got.equals(expected)) { 129 System.out.println(name + ": got expected: " + got); 132 System.out.println(name + ": ERROR expected: " + expected); 137 void test2(Method method, int which, String name, String expected, String expected2) { argument 139 if (got.equals(expected) || got.equals(expected2)) { 140 System.out.println(name + ": got expected: " + got); 143 System.out.println(name + ": ERROR expected: " + expected); [all...] |
/openjdk7/jdk/test/com/sun/jdi/redefine/ |
H A D | RedefineTest.java | 70 static final String expected ="Boring Boring Different Boring Different "; field in class:RedefineTest 128 if (!remoteWhere.equals(expected)) { 129 failure("FAIL: expected result string: '" + expected + 180 * so expected line stays the same as last successful 199 " (expected)"); 252 failure("FAIL: no exception; expected: UnsupportedOperationException"); 254 println("Received expected exception: " + receivedException); 257 ", expected: UnsupportedOperationException");
|
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/ |
H A D | FixedLengthInputStream.java | 101 long expected; field in class:FixedLengthInputStream.MyHandler 103 MyHandler(long expected){ argument 104 this.expected = expected; 118 check(count == expected, "Expected: " + expected + ", received "
|
/openjdk7/jdk/test/java/lang/Class/getEnclosingClass/ |
H A D | EnclosingClassTest.java | 79 static void match(String actual, String expected) { argument 80 assert((actual == null && expected == null) || actual.equals(expected)); 82 actual + "' matches expected `" + 83 expected + "'");
|
/openjdk7/jdk/test/java/lang/Math/ |
H A D | PowTests.java | 36 static int testPowCase(double input1, double input2, double expected) { argument 39 StrictMath.pow(input1, input2), expected); 41 Math.pow(input1, input2), expected); 46 static int testStrictPowCase(double input1, double input2, double expected) { argument 49 StrictMath.pow(input1, input2), expected); 53 static int testNonstrictPowCase(double input1, double input2, double expected) { argument 56 Math.pow(input1, input2), expected); 140 double expected=NaN; 145 expected = NaN; 147 expected [all...] |
/openjdk7/jdk/test/java/lang/instrument/ |
H A D | ATestCaseScaffold.java | 144 assertEquals(String message, Object expected, Object actual) { argument 145 if ( (expected == null) && (actual == null) ) { 148 else if ( (expected != null) && (expected.equals(actual)) ) { 152 throw new TestCaseScaffoldException(message + ". Expected: '" + expected + 158 assertEquals(Object expected, Object actual) { argument 159 assertEquals(null, expected, actual); 163 assertEquals(String message, int expected, int actual) { argument 164 assertEquals(message, new Integer(expected), new Integer(actual)); 168 assertEquals(int expected, in argument [all...] |
/openjdk7/jdk/test/java/nio/channels/FileChannel/ |
H A D | Transfer.java | 324 static void checkFileData(File file, String expected) throws Exception { argument 332 if (! contents.equals(expected)) 333 throw new Exception("expected: " + expected 522 throw new RuntimeException("NonReadableChannelException expected"); 523 } catch (NonReadableChannelException expected) {
|
/openjdk7/jdk/test/java/nio/channels/Selector/ |
H A D | LotsOfCancels.java | 161 int expected) 166 while (channels.size() < expected) { 159 acceptAndAddAll(Selector selector, ServerSocketChannel server, int expected) argument
|
/openjdk7/jdk/test/java/nio/channels/SocketChannel/ |
H A D | ConnectState.java | 50 // NO exceptions expected 53 // make a set of expected exception. 54 static Collection<Class<?>> expectedExceptions(Class<?>... expected) { argument 56 if (expected.length == 0) { 58 } else if (expected.length == 1) { 59 assert expected[0] != null; 60 exceptions = Collections.<Class<?>>singleton(expected[0]); 62 exceptions = new HashSet<>(Arrays.asList(expected)); 128 log.println(name + ": As expected: " 138 // exceptions we expected [all...] |
/openjdk7/jdk/test/sun/util/logging/ |
H A D | PlatformLoggerTest.java | 83 logger.getName() + " but expected " + name); 102 private static void checkLoggable(PlatformLogger logger, PlatformLogger.Level level, boolean expected) { argument 103 if (logger.isLoggable(level) != expected) { 105 (expected ? " not loggable" : " loggable")); 108 if (logger.isLoggable(level.intValue()) != expected) { 110 (expected ? " not loggable" : " loggable")); 114 if (expected && !logger.isLoggable(value)) { 195 + javaLevel + " is not the expected " + level); 221 + platformLevel.name() + " but expected " + level.getName()); 225 + platformLevel.intValue() + " but expected " [all...] |
/openjdk7/jdk/test/java/util/Currency/ |
H A D | CurrencyTest.java | 166 static void checkCountryCurrency(String countryCode, String expected) { argument 170 if (!(expected == null ? code == null : expected.equals(code))) { 173 ": expected " + expected + ", got " + code); 187 currencyCode +": expected " + expectedSymbol + 215 currencyCode +": expected " + expectedFractionDigits + 261 currencyCode +": expected '" + expectedName +
|
/openjdk7/jdk/test/java/util/ResourceBundle/Control/ |
H A D | ExpirationTest.java | 111 private static void check(String s, String expected) { argument 113 if (!s.equals(expected)) { 114 throw new RuntimeException("got '" + s + "', expected '" + expected + "' at " 133 + "expected %d [ms] latency rate: %+.2f%% (expected not more than 1%%)%n"
|
/openjdk7/jdk/test/java/util/concurrent/CountDownLatch/ |
H A D | Basic.java | 201 private static void checkCount(CountDownLatch b, int expected) { argument 202 if (b.getCount() != expected) 204 ", expected = " + expected);
|
/openjdk7/jdk/test/javax/swing/JColorChooser/ |
H A D | Test6524757.java | 114 private static void validate(Object[] expected, Object[] actual) { argument 115 int count = expected.length; 120 if (!expected[i].equals(actual[i])) {
|
/openjdk7/jdk/test/sun/net/idn/ |
H A D | PunycodeTest.java | 263 public static void checkResult(String actual, String expected) { argument 264 if (!actual.equals(expected)) { 266 System.out.printf("%15s: %s\n\n", "should be", expected);
|
/openjdk7/jdk/src/share/classes/sun/net/www/ |
H A D | MeteredStream.java | 38 /* if expected != -1, after we've read >= expected, we're "closed" and return -1 42 protected long expected; field in class:MeteredStream 48 public MeteredStream(InputStream is, ProgressSource pi, long expected) argument 53 this.expected = expected; 56 pi.updateProgress(0, expected); 83 pi.updateProgress(count, expected); 89 // if expected length is known, we could determine if 91 if (expected > [all...] |
/openjdk7/langtools/test/tools/javac/ |
H A D | QualifiedThisAndSuper_3.java | 70 void check(String expr, String result, String expected) { argument 71 if (!result.equals(expected)) { 73 " : result " + result + ", expected " + expected);
|
/openjdk7/langtools/test/tools/javac/StringsInSwitch/ |
H A D | OneCaseSwitches.java | 44 public static int zeroCasesNoDefault(String s, Set<String> stringSet, boolean expected) { argument 52 public static int zeroCasesWithDefault(String s, Set<String> stringSet, boolean expected) { argument 60 if (addResult != expected) { 71 public static int zeroCasesWithDefaultBreak(String s, Set<String> stringSet, boolean expected) { argument 77 failures = zeroCasesWithDefault(s, stringSet, expected); 85 public static int oneCaseNoDefault(String s, Set<String> stringSet, boolean expected) { argument 93 if (addResult != expected) { 104 public static int oneCaseNoDefaultBreak(String s, Set<String> stringSet, boolean expected) { argument 110 failures = oneCaseNoDefaultBreak(s, stringSet, expected); 118 public static int oneCaseWithDefault(String s, Set<String> stringSet, boolean expected) { argument 140 oneCaseBreakOnly(String s, Set<String> stringSet, boolean expected) argument 151 oneCaseDefaultBreakOnly(String s, Set<String> stringSet, boolean expected) argument [all...] |