/openjdk7/jdk/test/sun/rmi/rmic/minimizeWrapperInstances/ |
H A D | Test.java | 63 Object[] expected; field in class:Test.ArgCheckingRemoteRef 64 ArgCheckingRemoteRef(Object... expected) { argument 65 this.expected = expected; 68 System.err.print("expected argument values: "); 69 printValues(expected); 72 if (args.length != expected.length) { 76 if (args[i] != expected[i]) { 77 throw new Error("args[" + i + "] not expected value");
|
/openjdk7/jdk/test/sun/security/pkcs11/KeyStore/ |
H A D | SecretKeysBasic.java | 94 SecretKey expected, 98 ks.setKeyEntry(alias, expected, null, null); 108 c.init(Cipher.ENCRYPT_MODE, expected); 116 if (!Arrays.equals(result.getEncoded(), expected.getEncoded())) { 117 dumpKey("\texpected:", expected); 93 checkSecretKeyEntry(String alias, SecretKey expected, boolean saveBeforeCheck) argument
|
/openjdk7/hotspot/test/compiler/6823354/ |
H A D | Test6823354.java | 164 static void check(int value, int result, int expected) { argument 165 //System.out.println(value + ": " + result + ", " + expected); 166 if (result != expected) 167 throw new InternalError(value + " failed: " + result + " != " + expected); 170 static void check(long value, long result, long expected) { argument 171 //System.out.println(value + ": " + result + ", " + expected); 172 if (result != expected) 173 throw new InternalError(value + " failed: " + result + " != " + expected);
|
/openjdk7/hotspot/test/compiler/6942326/ |
H A D | Test.java | 241 public static void test_end(String a, String b, int v, int expected, long start) { argument 246 if (res != expected) { 247 System.out.println("wrong indexOf result: " + res + ", expected " + expected);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/ |
H A D | TypedAnnotationWriter.java | 207 private void checkType(Class<?> actual, Class<?> expected) { argument 208 if(expected==actual || expected.isAssignableFrom(actual)) 211 if( expected==JCodeModel.boxToPrimitive.get(actual) ) 214 throw new IllegalArgumentException("Expected "+expected+" but found "+actual);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/ |
H A D | ArrayElementProperty.java | 141 // item is not of the expected type. 178 protected abstract void serializeItem(JaxBeanInfo expected, ItemT item, XMLSerializer w) throws SAXException, AccessorException, IOException, XMLStreamException; argument
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/ |
H A D | Header.java | 253 * @param expected 261 public @NotNull WSEndpointReference readAsEPR(AddressingVersion expected) throws XMLStreamException; argument
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/ |
H A D | StreamSOAPCodec.java | 122 * Checks against expected Content-Type headers that is handled by a codec 125 * @param expected expected Content-Types for a codec 129 private static boolean isContentTypeSupported(String ct, List<String> expected) { argument 130 for(String contentType : expected) {
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/ |
H A D | StreamHeader.java | 225 public WSEndpointReference readAsEPR(AddressingVersion expected) throws XMLStreamException { argument 226 return new WSEndpointReference(_mark,expected);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/ |
H A D | XmlPolicyModelUnmarshaller.java | 323 * Method checks whether the actual name of the end tag is equal to the expected name - the name of currently unmarshalled 324 * XML policy model element. Throws exception, if the two FQNs are not equal as expected. 326 * @param expected The expected element name. 328 * @throws PolicyException If the actual element name did not match the expected element. 330 private void checkEndTagName(final QName expected, final EndElement element) throws PolicyException { argument 332 if (!expected.equals(actual)) { 333 throw LOGGER.logSevereException(new PolicyException(LocalizationMessages.WSP_0003_UNMARSHALLING_FAILED_END_TAG_DOES_NOT_MATCH(expected, actual)));
|
/openjdk7/jdk/test/com/sun/jdi/ |
H A D | ArrayRangeTest.java | 60 Sample(String name, ArrayReference arrRef, int[] expected) { argument 63 this.expected = expected; 67 int[] expected; field in class:ArrayRangeTest.Sample 98 if (ival != samp.expected[index]) { 115 ".getValue(" + index + ") - no expected exception"); 118 ".getValue(" + index + ") - got expected: " + exc); 129 if (vals.size() != samp.expected.length) { 132 " , expected: " + samp.expected [all...] |
H A D | PopSynchronousTest.java | 99 String expected = ""; field in class:PopSynchronousTest 139 if (!actual().equals(expected)) { 140 failure("FAIL: expected value: " + expected + 163 failure("FAIL: expected " + methodName + 196 expected = ""; 197 ((ClassType)targetClass).setValue(field, vm().mirrorOf(expected)); 203 expected += output[stateIndex];
|
H A D | VarargsTest.java | 171 void doInvoke(Object ct, Method mm, List args, Object expected) { argument 180 if (!returnValue.value().equals(expected)) { 181 fail("failure: expected \"" + expected + "\", got \"" +
|
/openjdk7/jdk/test/java/awt/regtesthelpers/ |
H A D | AbstractPolicyTest.java | 116 void assertEquals(final String message, final Object expected, final Object actual) { argument 117 assertEquals(null, message, expected, actual); 120 void assertEquals(final String cont_id, final String message, final Object expected, final Object actual) { argument 121 if (actual == null && expected == null 122 || actual != null && actual.equals(expected)) 128 "(actual = " + actual + ", 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
|
/openjdk7/jdk/test/java/lang/StringBuffer/ |
H A D | Supplementary.java | 158 // Additional input data & expected result for test3() 230 int expected = Character.codePointCount(sb, j, length); 231 check(result != expected, "codePointCount(input["+i+"], "+j+", "+length+")", 232 result, expected); 236 int expected = Character.codePointCount(sb, 0, j); 237 check(result != expected, "codePointCount(input["+i+"], 0, "+j+")", 238 result, expected); 268 int expected = j; 272 expected--; 275 check(result != expected, 311 testCodePoint(boolean isAt, StringBuffer sb, int index, int expected) argument 378 check(boolean err, String s, int got, int expected) argument 388 check(boolean err, String s, StringBuffer got, String expected) argument [all...] |
/openjdk7/jdk/test/java/lang/StringBuilder/ |
H A D | Supplementary.java | 158 // Additional input data & expected result for test3() 230 int expected = Character.codePointCount(sb, j, length); 231 check(result != expected, "codePointCount(input["+i+"], "+j+", "+length+")", 232 result, expected); 236 int expected = Character.codePointCount(sb, 0, j); 237 check(result != expected, "codePointCount(input["+i+"], 0, "+j+")", 238 result, expected); 268 int expected = j; 272 expected--; 275 check(result != expected, 311 testCodePoint(boolean isAt, StringBuilder sb, int index, int expected) argument 378 check(boolean err, String s, int got, int expected) argument 388 check(boolean err, String s, StringBuilder got, String expected) argument [all...] |
/openjdk7/jdk/test/java/lang/Thread/ |
H A D | ThreadStateTest.java | 106 private static void checkThreadState(Thread t, Thread.State expected) { argument 107 // wait for the thread to transition to the expected state. 112 while ((state = t.getState()) != expected && retryCount < MAX_RETRY) { 114 throw new RuntimeException("Thread not in expected state yet," + 123 throw new RuntimeException(t.getName() + " expected to have " + 124 expected + " but got null."); 127 if (state != expected) { 128 throw new RuntimeException(t.getName() + " expected to have " + 129 expected + " but got " + state);
|
/openjdk7/jdk/test/java/lang/invoke/ |
H A D | CallSiteTest.java | 73 private static void assertEquals(int expected, int actual) { argument 74 if (expected != actual) 75 throw new AssertionError("expected: " + expected + ", actual: " + actual);
|
/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/langtools/src/share/classes/com/sun/tools/javac/comp/ |
H A D | Annotate.java | 135 Type expected, 142 a.type = chk.checkType(a.annotationType.pos(), at, expected); 190 Attribute enterAttributeValue(Type expected, argument 197 expected.tsym.complete(); 200 return new Attribute.Error(expected); 202 if (expected.isPrimitive() || types.isSameType(expected, syms.stringType)) { 203 Type result = attr.attribExpr(tree, env, expected); 205 return new Attribute.Error(expected); 208 return new Attribute.Error(expected); 134 enterAnnotation(JCAnnotation a, Type expected, Env<AttrContext> env) argument [all...] |
/openjdk7/jdk/test/java/util/ResourceBundle/Control/ |
H A D | StressTest.java | 45 static final String[] expected = { field in class:StressTest 155 str = expected[index]; 158 System.out.println("Worker" + i + ": locale="+locale+", expected="+str+ 170 ", got " + s + ", expected " + str);
|
/openjdk7/jdk/test/javax/management/Introspector/ |
H A D | FeatureOrderTest.java | 261 private static void checkEqual(Object expected, Object actual, String what) { argument 262 if (expected.equals(actual)) 266 System.out.println(" expected: " + expected);
|
/openjdk7/jdk/test/javax/management/remote/mandatory/notif/ |
H A D | NotificationAccessControllerTest.java | 157 List<ObjectName> expected) { 171 ObjectName nb = expected.get(index); 253 echo("Didn't get expected exception"); 258 echo("Got expected exception: " + e); 289 echo("Didn't get expected exception"); 294 echo("Got expected exception: " + e); 155 checkNotifs(int size, List<Notification> received, List<ObjectName> expected) argument
|
H A D | NotificationEmissionTest.java | 103 List<ObjectName> expected) { 117 ObjectName nb = expected.get(index); 152 echo("Did not get expected exception for value: " + propValue); 159 echo("Got expected exception for value: " + propValue); 101 checkNotifs(int size, List<Notification> received, List<ObjectName> expected) argument
|