Searched refs:fail (Results 626 - 650 of 1065) sorted by relevance

<<21222324252627282930>>

/libcore/luni/src/test/java/tests/security/spec/
H A DECFieldF2mTest.java138 fail(getName() + ", set " + i +
146 fail(getName() + ", set " + i +
263 fail(getName() + ", set " + i +
271 fail(getName() + ", set " + i +
302 fail(getName() + ", set " + i +
310 fail(getName() + ", set " + i +
H A DRSAMultiPrimePrivateCrtKeySpecTest.java104 fail("Expected NPE not thrown");
135 fail("Expected NPE not thrown");
166 fail("Expected NPE not thrown");
197 fail("Expected NPE not thrown");
228 fail("Expected NPE not thrown");
259 fail("Expected NPE not thrown");
290 fail("Expected NPE not thrown");
321 fail("Expected NPE not thrown");
353 fail("Unexpected exception is thrown");
383 fail("Expecte
[all...]
/libcore/ojluni/src/test/java/time/test/java/time/format/
H A DTestNumberPrinter.java65 import static org.testng.Assert.fail;
189 fail("Expected exception");
206 fail("Expected exception");
222 fail("Expected exception");
238 fail("Expected exception");
254 fail("Expected exception");
/libcore/luni/src/test/java/libcore/java/lang/invoke/
H A DMethodHandleCombinersTest.java38 fail("Unexpected return type for handle: " + handle +
45 fail("Expected an exception of type: java.lang.IllegalArgumentException");
48 fail("Wrong exception: expected " + iae + " but was " + expected);
69 fail();
90 fail();
106 fail();
113 fail();
119 fail();
303 fail();
309 fail();
[all...]
H A DMethodHandleAccessorsTest.java27 import static org.junit.Assert.fail;
725 } catch (NoSuchFieldException e) { fail(); }
729 } catch (NoSuchFieldException e) { fail(); }
732 fail();
736 fail();
740 fail();
746 fail();
750 fail();
754 fail();
768 fail();
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DSocketTest.java168 fail("No exception when binding to bad address");
223 fail("No exception binding to address that is not available");
234 fail("No exception when binding using unsupported SocketAddress subclass");
269 fail("Failed to close socket");
280 fail();
290 fail();
295 fail();
311 fail("No exception for null arg");
318 fail("No exception for invalid socket address");
326 fail("N
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DServerSocketChannelTest.java137 fail();
151 fail();
342 fail("Should throw NotYetBoundException");
353 fail("Should throw NotYetBoundException");
364 fail("Should throw ClosedChannelException");
381 fail("Fail to close the server channel because of"
388 fail("Should throw a AsynchronousCloseException");
703 fail("Should throw an IllegalBlockingModeException");
709 fail("Should throw an IllegalBlockingModeException");
723 fail("Shoul
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DCollectionsTest.java267 fail("Expected NullPointerException for null list parameter");
289 fail("Expected NullPointerException for null list parameter");
316 fail("Expected NullPointerException for null list first parameter");
322 fail("Expected NullPointerException for null list second parameter");
358 fail("IndexOutOfBoundsException expected");
373 fail("UnsupportedOperationException expected");
389 fail("Expected IndexOutOfBoundsException");
417 fail("Expected NullPointerException for null list parameter");
441 fail("UnsupportedOperationException ecpected");
458 fail("NoSuchElementExceptio
[all...]
H A DPriorityQueueTest.java70 fail("should throw NoSuchElementException");
78 fail("should throw IllegalStateException");
94 fail("should throw NoSuchElementException");
104 fail("should throw NoSuchElementException");
166 fail("should throw IllegalStateException");
174 fail("should throw IllegalStateException");
237 fail("should throw IllegalArgumentException");
244 fail("should throw IllegalArgumentException");
292 fail("should throw NullPointerException");
307 fail("shoul
[all...]
H A DCurrencyTest.java103 fail("Unexpected IllegalArgumentException " + e);
110 fail("Expected IllegalArgumentException");
117 fail("Expected IllegalArgumentException");
124 fail("Expected IllegalArgumentException");
131 fail("Expected IllegalArgumentException");
137 fail("Expected NullPointerException");
143 fail("Expected NullPointerException");
H A DBitSetTest.java51 fail();
121 fail("Failed to throw expected out of bounds exception");
156 fail("Should throw IndexOutOfBoundsException");
297 fail();
303 fail();
313 fail();
363 fail();
389 fail("Should throw IndexOutOfBoundsException");
529 fail();
535 fail();
[all...]
H A DHashSetTest.java66 fail(
82 fail(
100 fail("NullPointerException expected");
247 fail();
260 fail();
/libcore/luni/src/test/java/libcore/util/
H A DZoneInfoTest.java42 fail();
107 fail("Did not detect no non-DST transitions");
367 fail();
382 fail("Did not detect too many types");
398 fail("Did not detect too many transitions");
414 fail();
430 fail();
454 fail();
478 fail();
502 fail();
[all...]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DEncryptedPrivateKeyInfoTest.java255 fail(getName() + ": NullPointerException has not been thrown");
270 fail(getName() + ": IOException has not been thrown");
286 fail(getName() + ": IOException has not been thrown");
309 fail(getName() + "(1): IOException has not been thrown");
320 fail(getName() + "(2): IOException has not been thrown");
331 fail(getName() + "(3): IOException has not been thrown");
350 fail(getName() + "(4): IOException has not been thrown");
363 fail(getName() + "(5): IOException has not been thrown");
374 fail(getName() + "(6): IOException has not been thrown");
436 fail(getNam
[all...]
H A DCipherSpiTest.java177 fail("UnsupportedOperationException must be thrown");
190 fail("UnsupportedOperationException must be thrown");
203 fail("UnsupportedOperationException must be thrown");
226 fail("NullPointerException must be thrown");
231 fail("NullPointerException must be thrown");
243 fail("ShortBufferException bust be thrown. Output buffer remaining: "
278 fail("NullPointerException must be thrown");
283 fail("NullPointerException must be thrown");
294 fail("ShortBufferException must be thrown. Output buffer remaining: "
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
H A DBigIntegerTest.java87 fail("NegativeArraySizeException expected");
135 fail("Failed to throw NumberFormatException");
147 fail("Expected NumberFormatException for new BigInteger(\"\")");
179 fail("isProbablePrime failed for: " + bi);
183 fail("isProbablePrime failed for: " + bi);
572 fail("ArithmeticException expected");
578 fail("ArithmeticException expected");
584 fail("ArithmeticException expected");
590 fail("ArithmeticException expected");
601 fail("ArithmeticExceptio
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DThreadTest.java198 fail("Null cannot be accepted as Thread name");
247 fail("CheckAccess failed : " + e.getMessage());
279 fail();
363 fail("Unexpected interrupt");
539 fail("Thread did not die");
557 fail();
611 fail("Join failed ");
642 fail("Join failed ");
655 fail("Join failed : " + e.getMessage());
795 fail("Nul
[all...]
H A DProcessManagerTest.java56 fail("InterruptedException was thrown.");
66 fail("IOException was thrown.");
70 fail("InterruptedException was not thrown.");
82 fail("InterruptedException was thrown in " +
93 fail("InterruptedException was thrown.");
/libcore/luni/src/test/java/libcore/io/
H A DMemoryMappedFileTest.java45 fail();
56 fail();
82 fail();
88 fail();
105 fail();
398 fail();
434 fail();
482 fail();
510 fail();
521 fail();
[all...]
/libcore/ojluni/src/main/native/
H A DUNIXProcess_md.c91 * appeared to fail on 32-bit i386 (but not 64-bit x86_64) Linux with
686 int fail[2]; member in struct:_ChildStuff
721 (closeSafely(p->fail[0]) == -1))
742 if (moveDescriptor(p->fail[1], FAIL_FILENO) == -1)
765 * child would fail, but there is no reliable way to predict the
844 int in[2], out[2], err[2], fail[2]; local
851 in[0] = in[1] = out[0] = out[1] = err[0] = err[1] = fail[0] = fail[1] = -1;
890 (pipe(fail) < 0)) {
901 copyPipe(fail,
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
H A DPreferencesTest.java90 fail("should throw NullPointerException");
128 fail("should throw NullPointerException");
166 fail("should throw InvalidPreferencesFormatException");
181 fail("should throw InvalidPreferencesFormatException");
189 fail("should throw InvalidPreferencesFormatException");
196 fail("should throw IOException");
203 fail("should throw RuntimeException");
/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DTrustManagerFactoryTest.java79 fail();
86 fail();
93 fail();
102 fail();
116 fail();
160 fail();
165 fail();
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DIdentity2Test.java157 fail("Unexpected exception for Identity(java.lang.String) with parameter "
180 fail("Unexpected exception for parameter " + str[i]);
188 fail("Incorrect exception " + e + " was thrown");
194 fail("KeyManagementException was not thrown");
275 fail("Test 1: KeyManagementException expected.");
285 // Removing the same certificate a second time should fail.
288 fail("Test 4: KeyManagementException expected.");
373 fail("Unexpected exception for parameter " + info[i]);
/libcore/luni/src/test/java/libcore/java/util/zip/
H A DAbstractZipFileTest.java100 * Make sure we don't fail silently for duplicate entries.
127 fail();
270 fail();
280 fail();
291 fail();
301 fail();
353 fail();
388 fail();
393 fail();
404 fail();
[all...]
/libcore/luni/src/test/java/libcore/javax/crypto/
H A DECDHKeyAgreementTest.java156 fail();
168 fail();
179 fail();
190 fail();
213 fail();
226 fail();
239 fail();
253 fail();
307 fail();

Completed in 2509 milliseconds

<<21222324252627282930>>