Searched refs:fail (Results 176 - 200 of 1065) sorted by relevance

1234567891011>>

/libcore/luni/src/test/java/libcore/java/math/
H A DOldBigIntegerDivideTest.java41 fail("ArithmeticException has not been caught");
/libcore/luni/src/test/java/libcore/java/net/
H A DOldDatagramPacketTest.java64 fail("IllegalArgumentException was not thrown.");
70 fail("IllegalArgumentException was not thrown.");
79 fail("NullPointerException was not thrown.");
88 fail("NullPointerException was not thrown.");
/libcore/luni/src/test/java/libcore/util/
H A DHexEncodingTest.java43 fail();
51 fail();
60 fail();
66 fail();
/libcore/luni/src/test/java/tests/java/sql/
H A DSqlDateTest.java46 fail();
/libcore/luni/src/test/java/tests/security/acl/
H A DAclNotFoundException2Test.java35 fail("Should have thrown AclNotFoundException");
/libcore/luni/src/test/java/tests/security/cert/
H A DCertPathValidator2Test.java112 fail("NullPointerException or NoSuchAlgorithmException must be thrown when algorithm is null");
119 fail("NoSuchAlgorithmException must be thrown (type: ".concat(invalidValues[i])
146 fail("NullPointerException or NoSuchAlgorithmException must be thrown when algorithm is null");
153 fail("NoSuchAlgorithmException must be thrown (type: ".concat(invalidValues[i])
162 fail("IllegalArgumentException must be thrown when provider is null (type: "
168 fail("IllegalArgumentException must be thrown when provider is empty (type: "
177 fail("NoSuchProviderException must be thrown (type: ".concat(validValues[i])
203 fail("NullPointerException or NoSuchAlgorithmException must be thrown when algorithm is null");
210 fail("NoSuchAlgorithmException must be thrown (type: ".concat(invalidValues[i])
219 fail("IllegalArgumentExceptio
[all...]
/libcore/luni/src/test/java/tests/security/spec/
H A DECGenParameterSpecTest.java58 fail("NPE expected");
H A DECParameterSpecTest.java73 fail("NullPointerException exception has not been thrown");
81 fail("NullPointerException exception has not been thrown");
89 fail("NullPointerException exception has not been thrown");
97 fail("IllegalArgumentException exception has not been thrown");
105 fail("IllegalArgumentException exception has not been thrown");
H A DPSSParameterSpecTest.java56 fail("Expected IAE not thrown");
87 fail("Expected NPE not thrown");
104 fail("Expected NPE not thrown");
122 fail("Expected IAE not thrown");
140 fail("Expected IAE not thrown");
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DDataInputStreamTest.java167 fail("should throw IndexOutOfBoundsException");
174 fail("should throw IndexOutOfBoundsException");
181 fail("should throw IndexOutOfBoundsException");
192 fail("should throw IndexOutOfBoundsException");
201 fail("should throw IndexOutOfBoundsException");
218 fail();
225 fail();
232 fail();
243 fail();
250 fail("shoul
[all...]
H A DSerializationStressTest1.java133 // Serialization should fail.
385 fail("IOException serializing data : " + e.getMessage());
387 fail("ClassNotFoundException reading Object type: "
411 fail("IOException serializing data : " + e.getMessage());
413 fail("ClassNotFoundException reading Object type : "
439 fail("IOException serializing data : " + e.getMessage());
441 fail("ClassNotFoundException reading Object type : "
467 fail("IOException serializing data : " + e.getMessage());
469 fail("ClassNotFoundException reading Object type : "
495 fail("IOExceptio
[all...]
H A DFileInputStreamTest.java142 fail("should throw FileNotFoundException.");
152 fail("should throw FileNotFoundException.");
182 fail();
254 fail("Should throw NullPointerException");
271 fail("should throw IndexOutOfBoundsException");
281 fail("should throw IndexOutOfBoundsException");
291 fail("should throw IndexOutOfBoundsException");
301 fail("should throw IndexOutOfBoundsException");
311 fail("should throw IndexOutOfBoundsException");
321 fail("shoul
[all...]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DExemptionMechanismTest.java72 fail("InvalidKeyException must be thrown");
77 fail("IllegalStateException must be thrown");
86 fail("NullPointerException must be thrown");
90 fail("IllegalStateException must be thrown");
102 fail("NoSuchProviderException must be thrown");
108 fail("IllegalArgumentException expected");
207 fail("IllegalStateException expected");
224 fail("ExemptionMechanismException expected");
245 fail("IllegalStateException expected");
256 fail("ShortBufferExceptio
[all...]
H A DSecretKeyFactoryTest.java99 fail(defaultAlgorithm + " algorithm is not supported");
123 fail(NotSupportMsg);
140 fail("NullPointerException must be thrown");
154 fail("NullPointerException or NoSuchAlgorithmException should be thrown if algorithm is null");
161 fail("NoSuchAlgorithmException was not thrown as expected");
173 fail(NotSupportMsg);
194 fail(NotSupportMsg);
199 fail("NullPointerException or NoSuchAlgorithmException should be thrown if algorithm is null");
207 fail("NoSuchAlgorithmException was not thrown as expected (algorithm: "
224 fail(NotSupportMs
[all...]
H A DMacTest.java100 fail(NotSupportedMsg);
128 fail("NullPointerException or NoSuchAlgorithmException should be thrown when algorithm is null");
135 fail("NoSuchAlgorithmException must be thrown when algorithm is not available: "
148 fail(NotSupportedMsg);
165 fail(NotSupportedMsg);
172 fail("IllegalArgumentException must be thrown when provider is null");
177 fail("IllegalArgumentException must be thrown when provider is empty");
183 fail("NoSuchProviderException must be thrown (algorithm: "
201 fail(NotSupportedMsg);
206 fail("NullPointerExceptio
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
H A DSAXParserTest.java148 fail("could not obtain a SAXParser");
256 fail("unexpected exception " + e.toString());
273 fail("Unexpected ParserConfigurationException " + pce.toString());
275 fail("Unexpected SAXException " + sax.toString());
323 fail("SAXException is not thrown");
332 fail("java.lang.IllegalArgumentException is not thrown");
340 fail("java.lang.IllegalArgumentException is thrown");
354 fail("Unexpected IOException " + ioe.toString());
356 fail("Unexpected SAXException " + sax.toString());
364 fail("SAXExceptio
[all...]
/libcore/luni/src/test/java/libcore/java/io/
H A DOldBufferedOutputStreamTest.java44 fail("Constructor test failed");
54 fail("Test 1: IllegalArgumentException expected.");
62 fail("Test 2: Unexpected IOException.");
79 fail("Test 2: IOException expected.");
113 fail("Test 5: IOException expected.");
128 fail("Test 1: NullPointerException expected.");
135 fail("Test 2: IndexOutOfBoundsException expected.");
142 fail("Test 3: IndexOutOfBoundsException expected.");
149 fail("Test 4: IndexOutOfBoundsException expected.");
178 fail("Tes
[all...]
/libcore/luni/src/test/java/libcore/java/util/prefs/
H A DOldAbstractPreferencesTest.java85 fail("NullPointerException expected");
99 fail("IllegalArgumentException expected");
112 fail("IllegalArgumentException expected");
121 fail("IllegalStateException expected");
139 fail("NullPointerException expected");
148 fail("IllegalStateException expected");
178 fail("IllegalStateException expected");
201 fail("IllegalStateException expected");
208 fail("IllegalStateException expected");
222 fail("NullPointerExceptio
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DSSLSessionBindingEventTest.java43 fail("incorrect name");
46 fail("incorrect session");
49 fail("Unexpected exception " + e);
54 fail("IllegalArgumentException expected");
62 fail("Unexpected IllegalArgumentException: " + e);
H A DKeyManagerFactory2Test.java86 fail("KeyStoreException must be thrown");
91 fail("UnrecoverableKeyException must be thrown");
96 fail("InvalidAlgorithmParameterException must be thrown");
106 fail("default keystore is not supported");
114 fail("InvalidAlgorithmParameterException must be thrown");
130 fail("NoSuchAlgorithmException or NullPointerException should be thrown (algorithm is null");
137 fail("NoSuchAlgorithmException must be thrown (algorithm: "
167 fail("NoSuchAlgorithmException or NullPointerException should be thrown (algorithm is null");
175 fail("NoSuchAlgorithmException must be thrown (algorithm: "
184 fail("IllegalArgumentExceptio
[all...]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
H A DGCMParameterSpecTest.java35 fail("Should throw IllegalArgumentException");
43 fail("Should throw IllegalArgumentException");
55 fail("Should throw IllegalArgumentException");
63 fail("Should throw IllegalArgumentException");
71 fail("Should throw IllegalArgumentException");
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DShortTest.java56 fail("No NPE");
205 fail(
331 fail(
340 fail(
380 fail("Expected NumberFormatException with hex string.");
386 fail("Expected NumberFormatException with floating point string.");
392 fail("Expected NumberFormatException with empty string.");
398 fail("Expected NumberFormatException with null string.");
467 fail("Expected NumberFormatException with hex string.");
473 fail("Expecte
[all...]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DKeyStoreBuilderTest.java82 fail("Unexpected exception " + e.getMessage());
96 fail("NullPointerException must be thrown");
103 fail("NullPointerException must be thrown");
113 fail("NullPointerException must be thrown when ProtectionParameter is null");
126 fail("IllegalArgumentException must be thrown because KeyStore was not initialized");
144 fail("NullPointerException must be thrown");
150 fail("Unexpected: " + e.toString() + " was thrown");
184 fail("Incorrect protection parameter");
220 fail("NullPointerException must be thrown when type is null");
226 fail("NullPointerExceptio
[all...]
H A DProviderServiceTest.java49 fail("provider is null: No expected NullPointerException");
54 fail("type is null: No expected NullPointerException");
59 fail("algorithm is null: No expected NullPointerException");
64 fail("className is null: No expected NullPointerException");
72 fail("getType() failed");
75 fail("getAlgorithm() failed");
78 fail("getProvider() failed");
81 fail("getClassName() failed");
84 fail("supportsParameter() failed");
94 fail("N
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DArraysTest.java109 fail("asList with null arg didn't throw NPE");
290 fail("No expected ClassCastException");
507 fail("IllegalArgumentException expected");
514 fail("ArrayIndexOutOfBoundsException expected");
521 fail("ArrayIndexOutOfBoundsException expected");
554 fail("IllegalArgumentException expected");
561 fail("ArrayIndexOutOfBoundsException expected");
568 fail("ArrayIndexOutOfBoundsException expected");
602 fail("IllegalArgumentException expected");
609 fail("ArrayIndexOutOfBoundsExceptio
[all...]

Completed in 647 milliseconds

1234567891011>>