/openjdk7/jdk/test/com/sun/jdi/ |
H A D | CompatibleConnectors.java | 115 // check that a connector is of the expected type 139 fail(arg_name + " is of type: " + arg.getClass() + ", expected: " 159 connector.transport().name() + ", expected: " + transport_name); 233 // expected list of Connectors. 269 String expected = "com.sun.jdi.CommandLineLaunch"; 270 System.out.println("Checking that defaultConnector is: " + expected); 272 if (!(dflt.equals(expected))) { 274 ", expected:" + expected);
|
/openjdk7/jdk/test/java/beans/Introspector/ |
H A D | Test4935607.java | 124 private static void test(Object expected, FeatureDescriptor fd) { argument 127 if ((actual == null) ? (expected != null) : !actual.equals(expected)) 128 throw new Error("expected " + expected + " value, but actual value is " + actual); 133 return type.getField("VALUE").get(type); // NON-NLS: the field name with expected value
|
H A D | Test4498236.java | 182 private static void test(String expected, Object object) { argument 184 if (!actual.equals(object.getClass().getName() + expected)) {
|
/openjdk7/jdk/test/java/lang/Math/ |
H A D | CubeRootTests.java | 43 static int testCubeRootCase(double input, double expected) { argument 47 double minus_expected = -expected; 50 Math.cbrt(input), expected); 54 StrictMath.cbrt(input), expected);
|
/openjdk7/langtools/test/tools/javac/ClassPathTest/ |
H A D | ClassPathTest.sh | 86 echo "PASS: succeeded as expected" 88 echo "PASS: failed as expected" 132 echo PASS: all tests gave expected results
|
/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/sun/net/www/http/HttpClient/ |
H A D | StreamingRetry.java | 67 } catch (IOException expected) { 68 //expected.printStackTrace();
|
/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/com/sun/nio/sctp/SctpChannel/ |
H A D | Send.java | 359 ByteBuffer expected = ByteBuffer.allocate(Util.SMALL_BUFFER); 360 expected.put(Util.SMALL_MESSAGE.getBytes("ISO-8859-1")); 361 expected.flip(); 363 expected.position(offset); 376 check(info.bytes() == expected.remaining(), 379 check(expected.equals(buffer),
|
/openjdk7/jdk/test/com/sun/nio/sctp/SctpMultiChannel/ |
H A D | Send.java | 309 ByteBuffer expected = ByteBuffer.allocate(Util.SMALL_BUFFER); 310 expected.put(Util.SMALL_MESSAGE.getBytes("ISO-8859-1")); 311 expected.flip(); 313 expected.position(offset); 326 check(info.bytes() == expected.remaining(), 329 check(expected.equals(buffer),
|
/openjdk7/jdk/test/java/lang/StrictMath/ |
H A D | HyperbolicTests.java | 46 static int testSinhCase(double input, double expected) { argument 48 StrictMath.sinh(input), expected); 51 static int testCoshCase(double input, double expected) { argument 53 StrictMath.cosh(input), expected); 56 static int testTanhCase(double input, double expected) { argument 58 StrictMath.tanh(input), expected);
|
/openjdk7/jdk/test/javax/management/remote/mandatory/notif/ |
H A D | NotificationBufferTest.java | 276 // Check that the 10 notifs are the ones we expected 278 String expected = 281 if (!found.equals(expected)) { 282 System.out.println("Notif " + i + " bad type: expected <" + 283 expected + ">, found <" + found + ">"); 314 // Check that the 10 notifs are the ones we expected 317 String expected = 321 if (!found.equals(expected)) { 322 System.out.println("Notif " + i + " bad type: expected <" + 323 expected [all...] |
/openjdk7/jdk/src/share/classes/java/lang/invoke/ |
H A D | Invokers.java | 347 WrongMethodTypeException newWrongMethodTypeException(MethodType actual, MethodType expected) { argument 349 return new WrongMethodTypeException("expected "+expected+" but found "+actual); 357 MethodType expected = (MethodType) expectedObj; 359 if (actual != expected) 360 throw newWrongMethodTypeException(expected, actual); 368 MethodType expected = (MethodType) expectedObj; 370 MethodHandle gamh = expected.form().genericInvoker; 372 return prepareForGenericCall(expected);
|
/openjdk7/hotspot/src/share/vm/ci/ |
H A D | ciInstanceKlass.hpp | 106 void update_if_shared(instanceKlass::ClassState expected) { argument 107 if (_is_shared && _init_state != expected) {
|
/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/java/nio/channels/SocketChannel/ |
H A D | SocketOptionTests.java | 44 throw new RuntimeException("value not as expected"); 52 List<? extends SocketOption> expected = Arrays.asList(SO_SNDBUF, SO_RCVBUF, 54 for (SocketOption opt: expected) { 89 throw new RuntimeException("expected linger to be enabled"); 93 throw new RuntimeException("expected linger to be disabled"); 110 throw new RuntimeException("expected linger to be enabled"); 114 throw new RuntimeException("expected linger to be disabled");
|
/openjdk7/jdk/test/java/nio/file/Path/ |
H A D | Misc.java | 110 throw new RuntimeException("IOException expected"); 111 } catch (IOException expected) { 115 throw new RuntimeException("IOException expected"); 116 } catch (IOException expected) {
|
/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/javazip/ |
H A D | Test.sh | 63 expected=$1 75 if [ "$actual" != "$expected" ]; then 83 ok ) echo "command succeeded as expected" ;; 84 err ) echo "command failed as expected."
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/ |
H A D | WsaServerTube.java | 258 String expected = helper.getInputAction(packet); 261 expected = soapAction; 263 if (expected != null && !gotA.equals(expected)) {
|
/openjdk7/hotspot/src/share/vm/prims/ |
H A D | jvmtiEnvFill.java | 76 error("expected '" + functionPrefix + "'"); 105 String expected = "} /* end " + name + " */"; 107 if (!trimmed.equals(expected.replaceAll("\\s",""))) { 108 error("function end is malformed - should be: " + expected);
|
/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/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/ |
H A D | NonAutoClose.java | 94 void expectValue(int got, int expected, String msg) throws IOException { argument 98 if (got != expected) { 100 + ") but expecting(" + expected + ")");
|
/openjdk7/jdk/test/java/util/EnumSet/ |
H A D | AllOf.java | 42 int expected) { 44 if (set.size() != expected) 45 throw new RuntimeException(set.size() +" != " + expected); 41 test(Class<T> enumClass, int expected) argument
|
/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);
|