Searched refs:fail (Results 501 - 525 of 1065) sorted by relevance

<<21222324252627282930>>

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DLinkedListTest.java82 fail("NullPointerException expected");
104 fail("Should throw IndexOutOfBoundsException");
111 fail("Should throw IndexOutOfBoundsException");
118 fail("Should throw IndexOutOfBoundsException");
125 fail("Should throw IndexOutOfBoundsException");
177 fail("IndexOutOfBoundsException expected");
184 fail("IndexOutOfBoundsException expected");
191 fail("NullPointerException expected");
205 fail("IndexOutOfBoundsException expected");
247 fail("Shoul
[all...]
H A DLinkedHashSetTest.java60 fail("IllegalArgumentException expected");
76 fail("IllegalArgumentException expected");
83 fail("IllegalArgumentException expected");
90 fail("IllegalArgumentException expected");
110 fail("NullPointerException expected");
266 fail("NullPointerException expected");
275 fail("UnsupportedOperationException expected");
321 fail("NullPointerException expected");
328 fail("ArrayStoreException expected");
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DAsynchronousServerSocketChannelTest.java60 fail();
75 fail();
86 fail();
99 fail();
187 fail();
199 fail();
223 fail();
251 fail();
261 fail();
266 fail();
[all...]
H A DSocketChannelTest.java57 fail();
62 fail();
67 fail();
89 fail();
95 fail();
170 fail();
303 fail();
318 fail();
326 fail();
334 fail();
[all...]
H A DMembershipKeyTest.java164 fail();
191 fail();
197 fail();
203 fail();
211 fail();
243 fail();
250 fail();
/libcore/luni/src/test/java/libcore/java/util/logging/
H A DOldFileHandlerTest.java174 fail("assertion should have failed");
195 fail("IllegalArgumentException expected");
234 fail("IllegalArgumentException expected");
265 fail("IllegalArgumentException expected");
272 fail("IllegalArgumentException expected");
279 fail("IllegalArgumentException expected");
320 fail("IllegalArgumentException expected");
327 fail("IllegalArgumentException expected");
334 fail("IllegalArgumentException expected");
426 fail("shoul
[all...]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DProviderTest.java96 fail("Incorrect \"Provider.id name\" value");
100 fail("Incorrect \"Provider.id version\" value");
104 fail("Incorrect \"Provider.id info\" value");
108 fail("Incorrect \"Provider.id className\" value");
153 fail("Incorrect property value");
166 fail("Must return unmodifiable set");
200 fail("Incorrect set");
220 fail();
232 fail();
318 fail("Incorrec
[all...]
H A DCodeSignerTest.java49 fail("must not accept null");
63 fail("Unexpected exception");
75 fail("Unexpected exception");
H A DKeyStore2Test.java176 fail();
221 fail();
239 fail();
258 fail();
331 fail();
356 fail();
398 fail();
422 fail();
453 fail();
518 fail();
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DCharacterTest.java119 fail("No NPE.");
125 fail("No IOOBE, negative index.");
131 fail("No IOOBE, index too large.");
145 fail("No NPE.");
151 fail("No IOOBE, negative index.");
157 fail("No IOOBE, index too large.");
172 fail("No NPE.");
178 fail("No IOOBE, negative index.");
184 fail("No IOOBE, index too large.");
190 fail("N
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DDatagramPacketTest.java47 fail("Should throw IllegalArgumentException");
213 fail("No exception when constructing using unsupported SocketAddress subclass");
221 fail("No exception when constructing address using null");
254 fail("No exception when constructing using unsupported SocketAddress subclass");
262 fail("No exception when constructing address using null");
313 fail("No exception when setting address using unsupported SocketAddress subclass");
322 fail("No exception when setting address using null");
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
H A DCharsetTest.java348 fail();
356 fail();
364 fail();
372 fail();
384 fail();
392 fail();
400 fail();
408 fail();
416 fail();
434 fail();
[all...]
/libcore/luni/src/test/java/libcore/java/net/
H A DOldURLStreamHandlerTest.java44 fail("NullPointerException was not thrown.");
75 fail("NullPointerException was not thrown.");
97 fail("UnsupportedOperationException was not thrown.");
101 fail("IOException was thrown.");
112 fail("SecurityException should be thrown.");
138 fail("SecurityException should be thrown.");
149 fail("SecurityException should be thrown.");
H A DOldJarURLConnectionTest.java68 fail("IOException was not thrown.");
93 fail("IOException was not thrown.");
113 fail("IOException was not thrown.");
153 fail("IOException was not thrown.");
165 fail("Did not throw exception on connect");
172 fail("Did not throw exception after connect");
182 fail("IOException was not thrown.");
246 fail("should throw IllegalStateException");
280 fail("IOException was not thrown.");
318 fail("MalformedURLExceptio
[all...]
H A DURLStreamHandlerFactoryTest.java45 fail("URL does not declare a URLStreamHandlerFactory field");
65 fail();
67 // Rethrow the error thrown by fail to avoid it being caught by the more general catch
76 fail();
78 // Rethrow the error thrown by fail to avoid it being caught by the more general catch
/libcore/luni/src/test/java/libcore/java/text/
H A DNumberFormatTest.java96 fail();
121 fail();
129 fail();
134 fail();
139 fail();
144 fail();
149 fail();
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DCipherOutputStream1Test.java79 fail("NullCipher should be used " + "if Cipher is not specified.");
97 fail("CipherOutputStream wrote incorrect data.");
113 fail("CipherOutputStream wrote incorrect data.");
118 fail("NullPointerException expected");
137 fail("CipherOutputStream wrote incorrect data.");
178 fail("CipherOutputStream did not flush the data.");
194 fail("CipherOutputStream did not flush the data.");
/libcore/luni/src/test/java/tests/security/cert/
H A DX509Certificate2Test.java66 fail("Unexpected exception " + e.getMessage());
92 fail("Unexpected exception " + e.getMessage());
309 fail();
315 fail();
321 fail();
495 fail();
501 fail();
/libcore/luni/src/test/java/libcore/java/util/
H A DOptionalTest.java48 fail();
71 Consumer<String> alwaysFail = s -> fail();
88 Predicate<String> alwaysFail = s -> { fail(); return true; };
111 Function<String, String> alwaysFail = s -> { fail(); return ""; };
132 Function<String, Optional<String>> alwaysFail = s -> { fail(); return Optional.empty(); };
151 fail();
157 fail();
198 fail();
205 fail();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DCharArrayReaderTest.java57 fail("Failed to throw exception on read from closed stream");
119 fail("No exception 1");
127 fail("No exception 2");
H A DFileOutputStreamTest.java131 fail("should throw FileNotFoundException.");
141 fail("should throw FileNotFoundException.");
161 fail("Close test failed - wrote to closed stream");
211 fail();
241 fail("NullPointerException must be thrown");
247 fail("IndexOutOfBoundsException must be thrown if off <0");
253 fail("IndexOutOfBoundsException must be thrown if len <0");
259 fail("IndexOutOfBoundsException must be thrown if off+len > b.length");
265 fail("IndexOutOfBoundsException expected");
271 fail("IndexOutOfBoundsExceptio
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
H A DAttributedCharacterIteratorAttributeTest.java100 fail("Unexpected IllegalArgumentException: " + e);
104 fail("unexpected IOException" + e);
106 fail("unexpected ClassNotFoundException" + e);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
H A DDeflaterTest.java96 fail("Invalid input to be decompressed");
140 fail("Invalid input to be decompressed");
165 fail("Test " + i
434 fail("Test " + i + ": Invalid input to be decompressed");
540 fail(
579 fail("Invalid input to be decompressed");
633 fail("Test " + i
688 fail(
694 fail(
756 fail("IllegalArgumentExceptio
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
H A DDefaultHandlerTest.java170 fail("SAXException expected");
178 fail("NullPointerException expected");
180 fail("NullPointerException expected");
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
H A DOAEPParameterSpecTest.java54 fail("NullPointerException should be thrown in the case of "
61 fail("NullPointerException should be thrown in the case of "
68 fail("NullPointerException should be thrown in the case of "

Completed in 720 milliseconds

<<21222324252627282930>>