Searched refs:fail (Results 301 - 325 of 1065) sorted by relevance

<<11121314151617181920>>

/libcore/luni/src/test/java/libcore/java/nio/file/
H A DPathsTest.java30 import static org.junit.Assert.fail;
47 fail();
67 fail();
/libcore/luni/src/test/java/libcore/java/util/
H A DServiceLoaderTest.java45 fail();
56 fail();
66 fail();
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DCipherInputStream1Test.java71 fail("NullCipher should be used "
76 fail("NullCipher should be used if Cipher is not specified.");
91 fail("read() returned the incorrect value. " + "Expected: "
96 fail("read() should return -1 at the end of the stream.");
118 fail("read(byte[] b) returned incorrect data.");
124 fail("The data returned by read(byte[] b) "
132 fail("read(byte[] b) should return -1 "
164 fail("The data returned by "
173 fail("read() should return -1 at the end of the stream.");
194 fail("rea
[all...]
H A DKeyGeneratorSpiTest.java74 fail("IllegalArgumentException must be thrown");
79 fail("IllegalArgumentException must be thrown");
85 fail("InvalidAlgorithmParameterException must be thrown when parameter is null");
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
H A DPSourceTest.java45 fail("NullPointerException should be thrown in the case of "
72 fail("The returned array does not equal to the specified "
89 fail("NullPointerException should be thrown in the case of "
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DAlgorithmParameterGenerator2Test.java89 fail("IllegalArgumentException must be thrown");
101 fail("IllegalArgumentException must be thrown");
106 fail("IllegalArgumentException must be thrown");
121 fail("NullPointerException or NoSuchAlgorithmException should be thrown");
128 fail("NoSuchAlgorithmException must be thrown (algorithm: "
158 fail("NullPointerException or NoSuchAlgorithmException should be thrown");
166 fail("NoSuchAlgorithmException must be thrown (algorithm: "
175 fail("IllegalArgumentException must be thrown when provider is null (algorithm: "
185 fail("NoSuchProviderException must be thrown (algorithm: "
218 fail("NullPointerExceptio
[all...]
H A DKeyPairGeneratorSpiTest.java54 fail("UnsupportedOperationException must be thrown");
62 fail("IllegalArgumentException must be thrown for incorrect keysize");
67 fail("IllegalArgumentException must be thrown");
H A DKeyRepTypeTest.java40 fail("IllegalArgumentException expected");
46 fail("NullPointerException expected");
67 fail("Unexpected exception " + e.getMessage());
H A DSignatureSpiTest.java37 fail("Unexpected exception " + e.getMessage());
47 fail("Unexpected CloneNotSupportedException " + e.getMessage());
53 fail("CloneNotSupportedException expected ");
72 fail("Unexpected exception " + e.getMessage());
320 fail("unexpected exception: " + e);
335 fail("unexpected exception: " + e);
357 fail("unexpected exception: " + e);
365 fail("unexpected exception: " + e);
387 fail("unexpected exception: " + e);
395 fail("unexpecte
[all...]
H A DAlgorithmParametersTest.java106 fail("should not get encoded from un-initialized instance");
142 fail("should not get encoded from un-initialized instance");
180 fail("Unexpected exception");
186 fail("NoSuchAlgorithmException was not thrown for parameter " + str[i]);
206 fail("Unexpected exception");
212 fail("NoSuchAlgorithmException was not thrown for parameter " + alg[i]);
216 fail("Incorrect exception " + e + " was thrown for " + alg[i]);
223 fail("IllegalArgumentException was not thrown for parameter " + prv[i]);
227 fail("Incorrect exception " + e + " was thrown for " + prv[i]);
234 fail("NoSuchProviderExceptio
[all...]
/libcore/luni/src/test/java/tests/security/cert/
H A DCertPathCertPathRepTest.java37 fail("Unexpected exeption " + e.getMessage());
48 fail("ObjectStreamException was not thrown.");
56 fail("ObjectStreamException expected");
H A DCertificateFactory4Test.java77 fail("Test2: CertificateException not thrown");
102 fail("An exception was thrown while parsing \""
123 fail("An exception was thrown while parsing \""
177 fail("No providers support CertificateFactory.X.509");
183 fail("Should have thrown NoSuchProviderException");
208 fail("CRLException was not thrown");
220 fail("CertificateException was not thrown");
232 fail("CertificateException was not thrown");
245 fail("CertificateException was not thrown");
258 fail("NullPointerExceptio
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DSocketChannelTest.java141 fail("Should throw NotYetConnectedException");
153 fail("Should throw an IllegalArgumentException");
175 fail();
185 fail();
238 fail("Should throw NPE");
245 fail("Should throw NotYetConnectedException");
269 fail("Should throw NPE");
275 fail("Should throw NPE");
281 fail("Should throw NPE");
297 fail("Shoul
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DInputStreamReaderTest.java144 fail("Should throw IOException");
152 fail("Should throw IOException");
171 fail("count:" + count);
177 fail();
193 fail();
211 fail("Failed to throw Unsupported Encoding exception");
218 fail();
224 fail();
230 fail();
236 fail();
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DURITest.java132 fail("Failed to construct URI for: " + constructorTests[i]
171 fail("Failed to throw URISyntaxException for: "
213 fail("Failed to throw URISyntaxException for: " + invalid2[i]);
221 fail("Assert 0: URI constructor failed to throw exception on invalid input.");
236 fail("Assert 4: Expected URISyntaxException");
246 fail("Assert 7: Expected URISyntaxException");
258 fail("TestA, URISyntaxException expected, but not received.");
266 fail("TestB, URISyntaxException expected, but not received.");
274 fail("TestC, URISyntaxException expected, but not received.");
301 fail("Expecte
[all...]
/libcore/luni/src/test/java/libcore/java/sql/
H A DOldStatementTest.java53 fail("SQLException is not thrown");
112 fail("SQLException was not thrown");
137 fail("Unexpected Exception: " + e.getMessage());
152 fail("Unexpected Exception: " + e.getMessage());
189 fail("SQLException is not thrown");
235 fail("SQLException is thrown: " + e.getMessage());
256 fail("SQLException is not thrown for query: " + inc_queries[i]);
304 fail("Exception expected: Not supported");
307 fail("Revise test implemenation for feature impl. has changed");
337 fail("Exceptio
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
H A DDoubleBufferTest.java144 fail("Should throw Exception"); //$NON-NLS-1$
160 fail("Should throw Exception"); //$NON-NLS-1$
177 fail("Should throw Exception"); //$NON-NLS-1$
277 fail("Should throw Exception"); //$NON-NLS-1$
297 fail("Should throw Exception"); //$NON-NLS-1$
312 fail("Should throw Exception"); //$NON-NLS-1$
319 fail("Should throw Exception"); //$NON-NLS-1$
326 fail("Should throw Exception"); //$NON-NLS-1$
333 fail("Should throw Exception"); //$NON-NLS-1$
339 fail("Shoul
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DControlTest.java102 fail("Should throw UnsupportedOperationException");
108 fail("Should throw UnsupportedOperationException");
114 fail("Should throw UnsupportedOperationException");
152 fail("Should throw NullPointerException");
159 fail("Should throw IllegalArgumentException");
168 fail("Should throw IllegalArgumentException");
176 fail("Should throw IllegalArgumentException");
214 fail("Should throw NullPointerException");
220 fail("Should throw NullPointerException");
236 fail("Shoul
[all...]
H A DResourceBundleTest.java86 fail("NullPointerException expected");
92 fail("NullPointerException expected");
100 fail("MissingResourceException expected");
146 fail("NullPointerException expected");
153 fail("NullPointerException expected");
160 fail("NullPointerException expected");
167 fail("MissingResourceException expected");
204 fail("NullPointerException expected");
211 fail("MissingResourceException expected");
218 fail("ClassCastExceptio
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DClassTest.java107 fail();
113 fail();
118 fail();
124 fail();
130 fail();
135 fail();
141 fail();
146 fail();
151 fail();
158 fail("shoul
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
H A DAttributedStringTest.java138 fail("Expected IllegalArgumentException");
147 fail("should throw NullPointerException");
154 fail("should throw NullPointerException");
168 fail("should throw NullPointerException");
174 fail("should throw NullPointerException");
/libcore/luni/src/test/java/libcore/java/io/
H A DOldReaderTest.java46 fail("IOException not thrown!");
62 fail("IOException not thrown!");
81 fail("IOException not thrown!");
91 fail("IOException not thrown!");
107 fail("IOException not thrown!");
H A DRandomAccessFileTest.java48 fail();
58 fail();
131 fail();
145 fail();
150 fail();
/libcore/luni/src/test/java/libcore/java/security/
H A DPKCS12AttributeTest.java115 fail("Constructor allowed a null OID");
123 fail("Constructor allowed a null value");
132 fail("Constructor allowed an invalid OID");
146 fail("Constructor accepted null encoded value");
154 fail("Constructor accepted invalid encoding");
/libcore/luni/src/test/java/libcore/java/text/
H A DOldDecimalFormatTestICU.java25 * Test for additional features introduced by icu. These tests fail on the RI
58 fail("expected IllegalArgumentException was not thrown for "
66 fail("expected IllegalArgumentException was not thrown for "
91 fail("expected IllegalArgumentException was not thrown for"
99 fail("expected IllegalArgumentException was not thrown for "
128 fail("expected IllegalArgumentException was not thrown for "

Completed in 1023 milliseconds

<<11121314151617181920>>