Searched refs:expected (Results 276 - 300 of 358) sorted by relevance

<<1112131415

/openjdk7/jdk/test/javax/management/Introspector/
H A DFeatureOrderTest.java261 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/swing/JColorChooser/
H A DTest6524757.java114 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/java2d/SunGraphics2D/
H A DSimplePrimQuality.java259 int expected = refimg.getRGB(x, y);
260 if (actual != expected) {
264 System.out.println("Writing expected image to: "+
272 " (expected="+
273 Integer.toHexString(expected) +
/openjdk7/jdk/test/sun/nio/cs/
H A DFindOneCharEncoderBugs.java89 private static void testChar(byte[] expected, CharBuffer cb, Charset cs, char c) { argument
92 if (! equals(expected, bb))
95 toString(expected), toString(bb));
H A DNIOJISAutoDetectTest.java277 String expected = charExpected.toString();
279 check(actual.equals(expected),
280 String.format("actual=%s expected=%s", actual, expected));
H A DTestISO2022CNDecoder.java70 System.err.print(" ... expected 0x"
140 CoderResult expected,
146 if (!equal(result, expected)) {
160 if (!equal(result, expected)) {
189 + ", expected exception");
139 decodeResultTest(byte encoded[], CoderResult expected, String label) argument
/openjdk7/langtools/test/tools/javac/
H A DQualifiedThisAndSuper_1.java64 void check(String expr, String result, String expected) { argument
65 if (!result.equals(expected)) {
67 " : result " + result + ", expected " + expected);
H A DQualifiedThisAndSuper_3.java70 void check(String expr, String result, String expected) { argument
71 if (!result.equals(expected)) {
73 " : result " + result + ", expected " + expected);
/openjdk7/jdk/test/sample/chatserver/
H A DChatTest.java130 private static void assertEqual(List<Exception> exception, Object value, Object expected) { argument
131 if (expected == value) {
134 if (expected == null) {
138 if (!expected.equals(value)) {
139 exception.add(new RuntimeException("Expected: " + expected + " but was: " + value));
/openjdk7/langtools/test/tools/javac/types/
H A DBoxingConversionTest.java63 void check(TypeHarness harness, Type from, Type to, Result expected) {
64 harness.assertAssignable(from, to, resSet.contains(expected));
69 void check(TypeHarness harness, Type from, Type to, Result expected) {
70 harness.assertConvertible(from, to, resSet.contains(expected));
80 abstract void check(TypeHarness harness, Type from, Type to, Result expected); argument
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/compiler/
H A DXPathParser.java485 * Consume an expected token, throwing an exception if it
488 * @param expected The string to be expected.
492 private final void consumeExpected(String expected) argument
496 if (tokenIs(expected))
502 error(XPATHErrorResources.ER_EXPECTED_BUT_FOUND, new Object[]{ expected,
503 m_token }); //"Expected "+expected+", but found: "+m_token);
513 * Consume an expected token, throwing an exception if it
516 * @param expected the character to be expected
520 consumeExpected(char expected) argument
[all...]
/openjdk7/hotspot/test/compiler/6942326/
H A DTest.java241 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/jdk/test/com/sun/jdi/
H A DVarargsTest.java171 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/lang/Math/
H A DTanTests.java34 static int testTanCase(double input, double expected, double ulps) { argument
37 StrictMath.tan(input), expected, ulps);
39 Math.tan(input), expected, ulps);
/openjdk7/jdk/test/sun/security/tools/jarsigner/
H A DTimestampCheck.java279 * @param expected if this command should succeed
281 static void jarsigner(String cmd, int path, boolean expected) argument
293 if (expected && result != 0 || !expected && result == 0) {
/openjdk7/jdk/test/javax/management/descriptor/
H A DMBeanInfoInteropTest.java111 private static void showMismatch(Object read, Serializable expected) argument
119 if (x == expected) {
126 System.out.println("...expected: " + expected);
/openjdk7/jdk/src/share/classes/sun/misc/
H A DUnsafe.java878 * holding <tt>expected</tt>.
882 Object expected,
887 * holding <tt>expected</tt>.
891 int expected,
896 * holding <tt>expected</tt>.
900 long expected,
881 compareAndSwapObject(Object o, long offset, Object expected, Object x) argument
890 compareAndSwapInt(Object o, long offset, int expected, int x) argument
899 compareAndSwapLong(Object o, long offset, long expected, long x) argument
/openjdk7/hotspot/src/share/vm/utilities/
H A DquickSort.hpp131 static bool compare_arrays(int* actual, int* expected, int length);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/
H A DHeader.java253 * @param expected
261 public @NotNull WSEndpointReference readAsEPR(AddressingVersion expected) throws XMLStreamException; argument
/openjdk7/jdk/test/java/nio/file/Path/
H A DUriImportExport.java57 * Test Path -> (expected) URI -> Path
105 } catch (IllegalArgumentException expected) {
106 log.println(" --> IllegalArgumentException (expected)");
/openjdk7/jdk/test/java/rmi/activation/ActivationSystem/activeGroup/
H A DIdempotentActiveGroup.java82 } catch (ActivationException expected) {
83 System.err.println("Caught expected ActivationException");
/openjdk7/jdk/test/java/util/Locale/
H A DLocaleEnhanceTest.java82 * Ensure that Builder builds locales that have the expected
365 errln("expected exception on add to extension key set");
424 errln("expected exception when add to locale key set");
1249 String expected = (data.length == 1) ? data[0] : data[1];
1254 assertEquals("Language tag roundtrip by forLanguageTag with input: " + in, expected, out);
1261 assertEquals("Language tag roundtrip by Builder.setLanguageTag with input: " + in, expected, out);
1273 String expected = (data.length == 1) ? data[0] : data[1];
1277 assertEquals("Empty country field with non-empty script/extension with input: " + in, expected, out);
1299 private void checkCalendar(Locale loc, String expected) { argument
1301 assertEquals("Wrong calendar", expected, ca
1304 checkDigit(Locale loc, Character expected) argument
[all...]
/openjdk7/jdk/test/sun/net/idn/
H A DTestData.java276 public Exception expected; field in class:TestData.ErrorCase
284 expected = ex;
435 Exception expected; field in class:TestData.ConformanceTestCase
458 expected = ex;
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/corba/
H A DAnyImpl.java651 private void checkExtractBadOperation( int expected )
657 if (tc != expected) {
659 String expectedName = getTCKindName( expected ) ;
664 private void checkExtractBadOperationList( int[] expected )
670 for (int ctr=0; ctr<expected.length; ctr++)
671 if (tc == expected[ctr])
675 for (int ctr=0; ctr<expected.length; ctr++)
676 list.add( getTCKindName( expected[ctr] ) ) ;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/
H A DStreamHeader.java225 public WSEndpointReference readAsEPR(AddressingVersion expected) throws XMLStreamException { argument
226 return new WSEndpointReference(_mark,expected);

Completed in 95 milliseconds

<<1112131415