Searched refs:fail (Results 476 - 500 of 1065) sorted by relevance

<<11121314151617181920>>

/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
H A DURLEncoderTest.java54 fail("Assert 0: Should throw UEE for invalid encoding");
63 fail("NullPointerException expected");
/libcore/luni/src/test/java/sun/misc/
H A DUnsafeTest.java30 fail();
48 fail();
/libcore/luni/src/test/java/tests/java/sql/
H A DStressTest.java71 fail("Unexpected SQLException " + sql.toString());
80 fail("Unexpected SQLException " + sql.toString());
115 fail("Unexpected Exception " + e.toString());
140 fail("It is possible to create more than " + numTasks
183 fail("Unexpected SQLException " + sql.toString());
220 fail("Unexpected SQLException " + sql.toString());
238 fail("Unexpected SQLException " + sql.toString());
335 fail("Unexpected SQLException " + sql.toString());
/libcore/luni/src/test/java/tests/org/w3c/dom/
H A DHCNotationsRemoveNamedItemNS.java51 fail("Unexpected exception" + e.getMessage());
65 * Any uncaught exception causes test to fail
83 fail("throw_NO_MOD_OR_NOT_FOUND_ERR");
H A DHCNotationsSetNamedItemNS.java52 fail("Unexpected exception" + e.getMessage());
66 * Any uncaught exception causes test to fail
85 fail("throw_HIER_OR_NO_MOD_ERR");
/libcore/luni/src/test/java/tests/security/spec/
H A DECPrivateKeySpecTest.java72 fail("NullPointerException has not been thrown");
80 fail("NullPointerException has not been thrown");
H A DECPublicKeySpecTest.java70 fail("NullPointerException has not been thrown");
78 fail("NullPointerException has not been thrown");
H A DEllipticCurveTest.java86 fail("#1: Expected NPE not thrown");
97 fail("#2: Expected NPE not thrown");
108 fail("#3: Expected NPE not thrown");
133 fail("#1: Expected IAE not thrown");
145 fail("#1.1: Expected IAE not thrown");
157 fail("#2: Expected IAE not thrown");
169 fail("#3: Expected IAE not thrown");
194 fail("#1: Expected IAE not thrown");
206 fail("#2: Expected IAE not thrown");
218 fail("#
[all...]
/libcore/ojluni/src/test/java/time/test/java/time/format/
H A DTestCharLiteralParser.java65 import static org.testng.Assert.fail;
133 fail();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
H A DStringCharacterIteratorTest.java37 fail("Assert 0: no null pointer");
44 fail("Assert 1: no illegal argument");
51 fail("Assert 2: no illegal argument");
69 fail("no null pointer");
76 fail("no illegal argument: invalid begin");
83 fail("no illegal argument: invalid end");
90 fail("no illegal argument: start greater than end");
97 fail("no illegal argument: start greater than end");
104 fail("no illegal argument: location greater than start");
111 fail("n
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DEnumMapTest.java83 fail("Expected NullPointerException");
91 fail("Expected NullPointerException");
98 fail("Expected NullPointerException");
112 fail("Expected ClassCastException");
124 fail("Expected ClassCastException");
136 fail("Expected ClassCastException");
151 fail("Expected NullPointerException");
170 fail("Expected ClassCastException");
185 fail("Expected NullPointerException");
197 fail("Expecte
[all...]
H A DPropertyResourceBundleTest.java60 fail("Should throw NullPointerException");
97 fail("Should throw NullPointerException");
131 fail(
139 fail(
155 fail(
H A DTreeMapTest.java363 fail("java.util.NoSuchElementException should be thrown");
370 fail("Should throw a NullPointerException");
377 fail("java.util.NoSuchElementException should be thrown");
391 fail("java.util.NoSuchElementException should be thrown");
397 fail("java.util.NoSuchElementException should be thrown");
445 fail("NoSuchElementException thrown when there are elements in the map");
461 fail("should throw ClassCastException");
510 fail("Should throw an IllegalArgumentException");
534 fail("end key less than start key should throw IllegalArgumentException");
562 fail("Shoul
[all...]
H A DEnumSetTest.java76 fail("Should throw NullPointerException");
83 fail("Should throw ClassCastException");
92 fail("Should throw ClassCastException");
106 fail("Should throw ClassCastException");
166 fail("Should throw NullPointerException");
173 fail("Should throw ClassCastException");
223 fail("Should throw NullPointerException");
232 fail("Should throw ClassCastException");
240 fail("Should throw NullPointerException");
259 fail("Shoul
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DProcessBuilderTest.java37 fail("no null pointer exception");
106 fail("should throw NPE.");
112 fail("should throw NPE.");
118 fail("should throw NPE.");
125 // fail("should throw ClassCastException.");
176 fail();
H A DIntegerTest.java61 fail("No NPE");
151 fail("Expected exception for -");
158 fail("Expected exception for 0x");
165 fail("Expected exception for #");
172 fail("Expected exception for x123");
179 fail("Expected exception for null");
186 fail("Expected exception for empty string");
193 fail("Expected exception for single space");
707 fail("Expected NumberFormatException with hex string.");
713 fail("Expecte
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DServerSocketTest.java147 fail("Was able to create two serversockets on same port");
230 fail("accept interrupted");
233 fail("accept call did not exit");
253 fail("Unexpected IOException : " + e.getMessage());
266 fail("Close test failed");
338 fail("Should throw SocketException");
345 fail("Should throw SocketException");
456 fail("No exception binding to address that is not available");
469 fail("No exception was thrown when binding to bad address");
479 fail("N
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DFileLockTest.java81 fail("should throw IllegalArgumentException.");
87 fail("should throw IllegalArgumentException.");
94 fail("should throw IllegalArgumentException.");
181 fail("should throw ClosedChannelException");
194 fail("should throw ClosedChannelException");
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
H A DGZIPOutputStreamTest.java65 fail(
86 fail(
114 fail(
139 fail(
170 fail(
/libcore/luni/src/test/java/libcore/java/lang/
H A DStringBuilderTest.java72 fail();
78 fail();
98 fail();
105 fail();
112 fail();
/libcore/luni/src/test/java/libcore/java/lang/invoke/
H A DCallSitesTest.java46 fail();
73 fail();
89 fail();
115 fail();
124 fail();
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DNullCipherTest.java193 fail("Expected IllegalArgumentException was not thrown");
216 fail("Expected IllegalArgumentException was not thrown");
228 fail("Expected IndexOutOfBoundsException was not thrown");
251 fail("Expected IllegalArgumentException was not thrown");
264 fail("Expected IndexOutOfBoundsException was not thrown");
H A DSealedObjectTest.java98 fail("NullPointerException should be thrown in the case "
119 fail("IllegalBlockSizeException expected");
132 fail("NullPointerException should be thrown in the case "
223 fail("InvalidKeyException expected");
241 fail("NullPointerException should be thrown in the case of "
264 fail("NullPointerException expected");
280 fail("IllegalArgumentException should be thrown in the case of "
288 fail("IllegalArgumentException should be thrown in the case of "
312 fail("InvalidKeyException expected");
319 fail("NoSuchProviderExceptio
[all...]
/libcore/luni/src/test/java/tests/security/cert/
H A DPolicyQualifierInfoTest.java47 fail("No expected NullPointerException");
54 fail("IOE expected");
64 fail("IOE expected");
84 fail("IOE expected");
97 fail("IOE expected");
/libcore/luni/src/test/java/libcore/java/net/
H A DOldServerSocketTest.java137 fail("IOException was not thrown.");
165 fail("IOException was not thrown.");
172 fail("IllegalArgumentException was not thrown.");
220 fail("IllegalBlockingModeException was not thrown.");
240 fail("SocketException was not thrown.");
245 fail("SocketException was not thrown.");
262 fail("SocketException was not thrown.");
272 fail("SocketException was not thrown.");
283 fail("SocketException was not thrown.");
294 fail("SocketExceptio
[all...]

Completed in 497 milliseconds

<<11121314151617181920>>