Searched refs:fail (Results 126 - 150 of 1065) sorted by relevance

1234567891011>>

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/lang/invoke/
H A DDeserializeMethodTest.java31 import static org.testng.Assert.fail;
43 fail("Unexpected $deserializeLambda$ in " + clazz);
47 fail("Expected to find $deserializeLambda$ in " + clazz);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
H A DFieldTest.java167 fail("Exception during getType test : " + e.getMessage());
176 fail("Exception during getType test : " + e.getMessage());
209 fail("No expected IllegalArgumentException");
221 fail("Expected NullPointerException not thrown");
235 fail("No exception expected");
279 fail("unexpected exception " + e);
327 fail("unexpected exception " + e + " for field "
399 fail("missing field " + fieldName + " in test support class "
565 fail("Exception during getBoolean test: " + e.toString());
573 fail("IllegalArgumentExceptio
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/
H A DServerSocketFactoryTest.java53 fail("IOException wasn't thrown");
61 fail("IllegalArgumentException wasn't thrown");
73 fail("IOException wasn't thrown");
81 fail("IllegalArgumentException wasn't thrown");
94 fail("IOException wasn't thrown");
102 fail("IllegalArgumentException wasn't thrown");
H A DSocketFactoryTest.java53 fail("No expected SocketException");
69 fail("UnknownHostException wasn't thrown");
76 fail("IllegalArgumentException wasn't thrown for " + invalidPorts[i]);
83 fail("IOException wasn't thrown");
90 fail("IOException wasn't thrown ...");
107 fail("IllegalArgumentException wasn't thrown for " + invalidPorts[i]);
114 fail("IOException wasn't thrown");
121 fail("IOException wasn't thrown ...");
138 fail("IOException wasn't thrown");
145 fail("IOExceptio
[all...]
/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DOldAndroidArrayTest.java39 fail("store should have failed");
49 fail("cast should have failed");
84 fail("store should have failed");
102 fail("store should have failed");
109 fail("expecting bad cast");
123 fail("store should have failed");
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DInvalidClassExceptionTest.java35 fail("Failed to throw exception");
53 fail("Failed to throw exception");
H A DStreamCorruptedExceptionTest.java43 fail("Failed to throw StreamCorruptedException for non serialized stream");
62 fail("Failed to throw StreamCorruptedException for non serialized stream");
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DSinkChannelTest.java154 fail("should throw NullPointerException");
164 fail();
173 fail("should throw ClosedChannelException");
219 fail("should throw NullPointerException");
229 fail("should throw NullPointerException");
240 fail();
253 fail("should throw ClosedChannelException");
261 fail("should throw NullPointerException");
271 fail("should throw ClosedChannelException");
309 fail();
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DNoSuchElementExceptionTest.java36 fail("NoSuchElementException expected");
54 fail("NoSuchElementException expected");
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DKeyManagerFactory1Test.java80 fail(defaultAlgorithm + " algorithm is not supported");
102 if (!DEFSupported) fail(NotSupportedMsg);
124 fail(NotSupportedMsg);
153 fail(NotSupportedMsg);
174 fail("NoSuchAlgorithmException or NullPointerException should be thrown (algorithm is null");
181 fail("NoSuchAlgorithmException was not thrown as expected for algorithm: "
196 fail(NotSupportedMsg);
203 fail("Expected IllegalArgumentException was not thrown for null provider");
208 fail("Expected IllegalArgumentException was not thrown for empty provider");
223 fail(NotSupportedMs
[all...]
/libcore/luni/src/test/java/libcore/java/net/
H A DOldSocketImplFactoryTest.java37 fail("Exception during test : " + e.getMessage());
42 fail("SocketException was not thrown.");
49 fail("SocketException was not thrown.");
59 fail("SocketException was thrown.");
82 fail("IllegalArgumentException was thrown during setUp: "
85 fail("IllegalAccessException was thrown during setUp: "
96 fail("IllegalArgumentException was thrown during tearDown: "
99 fail("IllegalAccessException was thrown during tearDown: "
/libcore/luni/src/test/java/libcore/java/nio/
H A DNoArrayTest.java35 fail();
41 fail();
/libcore/luni/src/test/java/libcore/java/nio/file/
H A DLinkPermissionTest.java36 fail();
54 fail();
/libcore/luni/src/test/java/libcore/java/text/
H A DOldAttributedCharacterIteratorAttributeTest.java69 fail("Unexpected exception " + e.toString());
96 fail("Unexpected exception " + e.toString());
110 fail("Unexpected exception " + e.toString());
138 fail("Unexpected exception " + e.toString());
152 fail("InvalidObjectException has not been thrown");
176 fail("Unexpected IllegalArgumentException: " + e);
180 fail("unexpected IOException" + e);
182 fail("unexpected ClassNotFoundException" + e);
H A DOldAttributedStringTest.java71 fail("Unexpected exception " + e.toString());
77 fail("Expected IllegalArgumentException was not thrown");
85 fail("Expected IllegalArgumentException was not thrown");
120 fail("Unexpected exception " + e.toString());
127 fail("Expected IllegalArgumentException was not thrown");
136 fail("Expected IllegalArgumentException was not thrown");
148 fail("Unexpected expected " + e.toString());
179 fail("Unexpected exception " + e.toString());
189 fail("Expected IllegalArgumentException was not thrown");
301 fail("Expecte
[all...]
/libcore/luni/src/test/java/libcore/java/util/
H A DOldTreeSetTest.java50 fail("ClassCastException expected");
57 fail("NullPointerException expected");
66 fail("NullPointerException expected");
85 fail("ClassCastException expected");
107 fail("ClassCastException expected");
114 fail("NullPointerException expected");
128 fail("NoSuchElementException expected");
145 fail("IllegalArgumentException expected");
152 fail("ClassCastException expected");
159 fail("NullPointerExceptio
[all...]
/libcore/luni/src/test/java/libcore/java/util/function/
H A DBinaryOperatorTest.java34 fail();
46 fail();
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DCipherOutputStreamTest.java34 fail("IllegalStateException expected");
43 fail("IllegalStateException expected");
H A DCipherTest.java97 fail();
119 fail();
126 fail();
132 fail();
154 fail();
160 fail();
214 fail();
240 fail();
256 fail();
276 fail();
[all...]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DSecureRandomSpiTest.java38 fail("Unexpected exception");
47 fail("Unexpected exception");
/libcore/luni/src/test/java/tests/targets/security/
H A DSignatureTestMD2withRSA.java37 fail("MD2withRSA for signature verification must not be supported");
44 fail("MD2withRSA for signature verification must not be supported");
51 fail("MD2withRSA for signature verification must not be supported");
58 fail("MD2withRSA for signature verification must not be supported");
65 fail("MD2withRSA for signature verification must not be supported");
72 fail("MD2withRSA for signature verification must not be supported");
79 fail("MD2withRSA for signature verification must not be supported");
86 fail("MD2withRSA for signature verification must not be supported");
/libcore/luni/src/test/java/libcore/java/io/
H A DOldBufferedReaderTest.java51 fail("IllegalArgumentException expected");
64 fail("Test 1: Read on closed stream.");
68 fail("Exception during close test " + e.toString());
74 fail("Test 2: IOException expected.");
96 fail("Exception during mark test");
104 fail("Failed to invalidate mark properly");
121 fail("Exception during mark test 2:" + e);
133 fail("Exception during mark test 3:" + e);
153 fail("Exception during read test");
170 fail("Exceptio
[all...]
H A DOldFilterOutputStreamTest.java48 fail("Constructor test failed : " + e.getMessage());
60 fail("Test 1: Unexpected IOException.");
66 fail("Test 2: IOException expected.");
74 fail("Test 3: IOException expected.");
91 fail("Test 2: IOException expected.");
115 fail("Test 2: IOException expected.");
138 fail("Test 2: IOException expected.");
151 fail("IndexOutOfBoundsException expected.");
158 fail("IndexOutOfBoundsException expected.");
165 fail("IndexOutOfBoundsExceptio
[all...]
H A DOldSequenceInputStreamTest.java41 fail("IOException not thrown!");
51 fail("IOException not thrown!");
68 fail("Test 3: Unexpected IOException.");
74 fail("Test 4: IOException expected.");
84 // Reading the first byte of the second input stream should fail.
87 fail("Test 5: IOException expected.");
98 fail("Test 7: Unexpected IOException.");
112 fail("IOException not thrown!");
128 fail("IOException not thrown!");
139 fail("IndexOutOfBoundsExceptio
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
H A DDocumentBuilderFactoryTest.java72 fail("Unexpected exception " + e.toString());
91 // fail("Unexpected IllegalArgumentException" + e.getMessage());
93 // fail("Unexpected exception" + e.getMessage());
99 // fail("NullPointerException expected");
109 // fail("IllegalArgumentException expected");
130 // fail("Unexpected ParserConfigurationException " + e.getMessage());
139 // fail("Unexpected ParserConfigurationException " + e.getMessage());
145 // fail("NullPointerException expected");
150 // fail("Unexpected ParserConfigurationException" + e.getMessage());
157 // fail("ParserConfigurationExceptio
[all...]

Completed in 694 milliseconds

1234567891011>>