Searched defs:expectedValue (Results 1 - 15 of 15) sorted by relevance

/openjdk7/jdk/test/java/nio/channels/DatagramChannel/
H A DSocketOptionTests.java40 T expectedValue)
44 if (!value.equals(expectedValue))
38 checkOption(DatagramChannel dc, SocketOption<T> name, T expectedValue) argument
/openjdk7/jdk/test/java/nio/channels/ServerSocketChannel/
H A DSocketOptionTests.java39 static void checkOption(ServerSocketChannel ssc, SocketOption name, Object expectedValue) argument
43 if (!value.equals(expectedValue))
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DSocketOptionTests.java39 static void checkOption(SocketChannel sc, SocketOption name, Object expectedValue) argument
43 if (!value.equals(expectedValue))
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/
H A DEnableTest.java40 private static void checkThreadContentionMonitoring(boolean expectedValue) argument
43 if (value != expectedValue) {
46 " but expected to be " + expectedValue);
79 private static void checkThreadCpuTime(boolean expectedValue) argument
82 if (value != expectedValue) {
85 " but expected to be " + expectedValue);
/openjdk7/jdk/test/java/nio/channels/AsynchronousServerSocketChannel/
H A DBasic.java165 SocketOption name, Object expectedValue)
169 if (!value.equals(expectedValue))
164 checkOption(AsynchronousServerSocketChannel ch, SocketOption name, Object expectedValue) argument
/openjdk7/jdk/test/sun/management/jmxremote/bootstrap/
H A DJvmstatCountersTest.java57 String key, String expectedValue) throws Exception {
66 } else if (!expectedValue.equals(value)) {
56 checkKey(Map<String, String> data, int index, String key, String expectedValue) argument
/openjdk7/hotspot/test/serviceability/
H A DParserTest.java176 public void parse(String searchName, String expectedValue, argument
185 if (expectedValue.equals(parsedValue)) {
190 + "! Expected: " + expectedValue);
/openjdk7/jdk/test/java/net/URLClassLoader/closetest/
H A DCloseTest.java95 static void test (String name, int expectedValue) throws Exception { argument
110 if (res != expectedValue) {
112 "/"+expectedValue+"]");
/openjdk7/langtools/test/tools/javac/multicatch/
H A DPos04.java39 int expectedValue; field in class:Pos04.ExceptionKind
41 ExceptionKind(int expectedValue) { argument
42 this.expectedValue = expectedValue;
80 if (catchNumber == null || catchNumber.value() != ekind.expectedValue) {
86 if (catchNumber == null || catchNumber.value() != ekind.expectedValue) {
/openjdk7/jdk/test/com/sun/nio/sctp/SctpChannel/
H A DSocketOptionTests.java51 T expectedValue) throws IOException {
53 check(value.equals(expectedValue), name + ": value (" + value +
54 ") not as expected (" + expectedValue + ")");
50 checkOption(SctpChannel sc, SctpSocketOption<T> name, T expectedValue) argument
/openjdk7/jdk/test/sun/text/resources/
H A DLocaleDataTest.java205 String expectedValue = null;
217 expectedValue = "";
222 expectedValue = "";
224 expectedValue = line.substring(index + 1);
226 if (!processLine(key, expectedValue, out, writeNewFile))
234 static boolean processLine(String key, String expectedValue, PrintWriter out, argument
336 if (retrievedValue == null || !retrievedValue.equals(expectedValue)) {
344 out.println(" file = \"" + expectedValue + "\"");
351 out.println(key + "=" + expectedValue);
/openjdk7/jdk/test/com/sun/nio/sctp/SctpMultiChannel/
H A DSocketOptionTests.java59 T expectedValue) throws IOException {
61 check(value.equals(expectedValue), name + ": value (" + value +
62 ") not as expected (" + expectedValue + ")");
58 checkOption(SctpMultiChannel smc, SctpSocketOption<T> name, T expectedValue) argument
/openjdk7/jdk/test/java/net/CookieHandler/
H A DTestHttpCookie.java218 void raiseError(String attr, String realValue, String expectedValue) { argument
221 append(", should be ").append(expectedValue).
/openjdk7/jdk/test/com/sun/jdi/
H A DModificationWatchpoints.java262 private final Value expectedValue; field in class:ModificationWatchpoints.MWP
269 this.expectedValue = value;
300 if (!val.equals(expectedValue)) {
302 expectedValue.getClass() + ":" + expectedValue +
/openjdk7/jdk/test/java/text/Bidi/
H A DBidiConformance.java1405 int expectedValue,
1407 if (expectedValue != actualValue) {
1409 " Expected: " + expectedValue + " Got: " + actualValue);
1416 boolean expectedValue,
1418 if (expectedValue != actualValue) {
1420 " Expected: " + expectedValue + " Got: " + actualValue);
1427 String expectedValue,
1429 if (!expectedValue.equals(actualValue)) {
1431 "\n\tExpected: \"" + expectedValue + "\"" +
1404 checkResult(String name, int expectedValue, int actualValue) argument
1415 checkResult(String name, boolean expectedValue, boolean actualValue) argument
1426 checkResult(String name, String expectedValue, String actualValue) argument

Completed in 79 milliseconds