Searched refs:fail (Results 151 - 175 of 1065) sorted by relevance

1234567891011>>

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DSSLContext2Test.java80 fail("RuntimeException must be thrown");
86 fail("RuntimeException must be thrown");
92 fail("RuntimeException must be thrown");
98 fail("RuntimeException must be thrown");
104 fail("RuntimeException must be thrown");
110 fail("RuntimeException must be thrown");
118 fail("KeyManagementException must be thrown");
154 fail("NoSuchAlgorithmException or NullPointerException should be thrown "
162 fail("NoSuchAlgorithmException must be thrown (protocol: "
192 fail("NoSuchAlgorithmExceptio
[all...]
H A DSSLContext1Test.java76 fail(defaultProtocol + " protocol is not supported");
100 fail(NotSupportMsg);
119 fail("KeyManagementException should be thrown for null "
129 fail("NullPointerException should be thrown");
134 fail("NullPointerException should be thrown");
144 if (!DEFSupported) fail(NotSupportMsg);
159 if (!DEFSupported) fail(NotSupportMsg);
176 fail(NotSupportMsg);
197 fail(NotSupportMsg);
217 fail("NoSuchAlgorithmExceptio
[all...]
H A DSSLEngineResultHandshakeStatusTest.java41 fail("Incorrect number of enum constant was returned");
60 fail("Unexpected exception " + e + " was thrown for " + str[i]);
68 fail("IllegalArgumentException should be thrown for " + str_invalid[i]);
77 fail("NullPointerException/IllegalArgumentException should be thrown for NULL parameter");
H A DSSLEngineResultStatusTest.java48 fail("Incorrect number of enum constant was returned");
67 fail("Unexpected exception " + e + " was thrown for " + str[i]);
75 fail("IllegalArgumentException should be thrown for " + str_invalid[i]);
84 fail("NullPointerException/IllegalArgumentException should be thrown for NULL parameter");
/libcore/luni/src/test/java/libcore/java/io/
H A DOldInputStreamReaderTest.java75 fail("Should throw IndexOutOfBoundsException");
81 fail("Should throw IndexOutOfBoundsException");
87 fail("Should throw IndexOutOfBoundsException");
93 fail("Should throw IndexOutOfBoundsException");
99 fail("Should throw IndexOutOfBoundsException");
105 fail("Should throw IndexOutOfBoundsException");
112 fail("Should throw NullPointerException");
172 fail("Unable to create input stream : " + e.getMessage());
180 fail("Failed to throw Unsupported Encoding exception");
188 fail("Faile
[all...]
H A DFileInputStreamTest.java102 fail();
127 fail();
132 fail();
137 fail();
142 fail();
153 fail();
158 fail();
163 fail();
168 fail();
187 fail();
[all...]
H A DOldPipedWriterTest.java83 fail("Unexpeceted IOException.");
93 fail("Test 1: Construtor failed:" + e.getMessage());
101 fail("Test 2: Could not write to the constructed writer: "
111 fail("Test 4: IOException expected because the reader is already connected.");
124 fail("Test 1: Unexpected IOException: " + e.getMessage());
135 fail("Test 1: Unexpected exception when connecting: " +
145 fail("Test 2: Unexpected IOException when writing after connecting.");
152 fail("Test 4: IOException expected when reconnecting the writer.");
174 fail("Test 1: IOException expected.");
183 fail("Tes
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DFileChannelTest.java198 fail();
204 fail();
309 fail("should throw ClosedChannelException");
316 fail("should throw ClosedChannelException");
323 fail("should throw ClosedChannelException");
337 fail();
344 fail();
351 fail();
363 fail("should throw IllegalArgumentException");
370 fail("shoul
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DStringBufferTest.java36 fail("Assert 0: IndexOutOfBoundsException must be thrown");
56 fail("should throw IndexOutOfBoundsException");
117 fail("Assert 0: NPE must be thrown.");
179 fail("ArrayIndexOutOfBoundsException expected");
192 fail("NullPointerException expected");
226 fail("no IOOBE, negative index");
234 fail("no IOOBE, index too large index");
284 fail("no IOOBE, negative index");
292 fail("no IOOBE, index too large index");
300 fail("n
[all...]
H A DCharacter_SubsetTest.java33 fail("No expected NullPointerException");
/libcore/luni/src/test/java/tests/security/cert/
H A DCertificateFactory2Test.java92 fail("CertificateException must be thrown");
98 fail("CertificateException must be thrown because encodings list is empty");
102 fail("Unexpected CertificateFactoryException was thrown");
107 fail("CertificateException must be thrown");
113 fail("IllegalArgumentException must be thrown");
117 fail("Unexpected IllegalArgumentException was thrown");
124 fail("CertificateException must be thrown");
129 fail("CertificateException must be thrown");
139 fail("CRLException must be thrown");
144 fail("CRLExceptio
[all...]
H A DCertificateFactory1Test.java82 fail(NotSupportMsg);
109 fail(NotSupportMsg);
128 fail("NullPointerException or CertificateException must be thrown when type is null");
135 fail("CertificateException must be thrown when type: "
149 fail(NotSupportMsg);
156 fail("IllegalArgumentException must be thrown when provider is null");
161 fail("IllegalArgumentException must be thrown when provider is empty");
175 fail(NotSupportMsg);
180 fail("NullPointerException or CertificateException must be thrown when type is null");
188 fail("CertificateExceptio
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DSerializationStressTest3.java387 fail("Unable to read BLOCKDATA : " + e.getMessage());
389 fail("IOException testing BLOCKDATALONG : " + e.getMessage());
413 fail("IOException serializing " + objToSave + " : "
416 fail("ClassNotFoundException reading Object type : "
442 fail("IOException serializing " + objToSave + " : "
445 fail("ClassNotFoundException reading Object type : "
471 fail("IOException serializing " + objToSave + " : "
474 fail("ClassNotFoundException reading Object type : "
496 fail();
520 fail("IOExceptio
[all...]
H A DInputStreamTest.java31 fail("should throw NullPointerException.");
/libcore/luni/src/test/java/libcore/java/nio/
H A DOldAndroidNIOTest.java83 fail("expected exception not thrown");
90 fail("expected exception not thrown");
100 fail("expected exception not thrown");
110 fail("expected exception not thrown");
120 fail("expected exception not thrown");
132 fail("expected exception not thrown");
141 fail("expected exception not thrown");
147 fail("expected exception not thrown");
168 fail("expected exception not thrown");
189 fail("expecte
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DAbstractListTest.java188 fail("emptySubList.get(0) should throw IndexOutOfBoundsException");
195 fail("emptySubList.set(0,Object) should throw IndexOutOfBoundsException");
202 fail("emptySubList.remove(0) should throw IndexOutOfBoundsException");
252 fail("Should throw NoSuchElementException");
260 fail("Should throw NoSuchElementException");
268 fail("Should throw IllegalStateException");
356 fail("IndexOutOfBoundsException expected");
363 fail("IndexOutOfBoundsException expected");
405 fail("Excepted to catch IllegalStateException not ConcurrentModificationException");
417 // parent change should cause sublist concurrentmodification fail
[all...]
H A DConcurrentModTest.java55 fail("It should throws ConcurrentModificationException.");
62 fail("IndexOutOfBoundsException expected");
69 fail("IndexOutOfBoundsException expected");
99 fail("It should throws ConcurrentModificationException.");
129 fail("It should throws ConcurrentModificationException.");
159 fail("It should throws ConcurrentModificationException.");
166 fail("IndexOutOfBoundsException expected");
173 fail("IndexOutOfBoundsException expected");
195 fail("UnsupportedOperationException expected");
228 fail("I
[all...]
H A DAbstractSequentialListTest.java166 fail("UnsupportedOperationException expected.");
172 fail("NullPointerException expected");
194 fail("IllegalArgumentException expected");
204 fail("NullPointerException expected");
216 fail("IndexOutOfBoundsException expected");
223 fail("IndexOutOfBoundsException expected");
245 fail("UnsupportedOperationException expected");
265 fail("IllegalArgumentException expected");
272 fail("NullPointerException expected");
285 fail("IndexOutOfBoundsExceptio
[all...]
H A DSimpleTimeZoneTest.java70 fail("IllegalArgumentException expected");
79 fail("IllegalArgumentException expected");
88 fail("IllegalArgumentException expected");
97 fail("IllegalArgumentException expected");
129 fail("IllegalArgumentException expected");
138 fail("IllegalArgumentException expected");
147 fail("IllegalArgumentException expected");
156 fail("IllegalArgumentException expected");
206 fail("IllegalArgumentException expected");
215 fail("IllegalArgumentExceptio
[all...]
H A DAbstractCollectionTest.java36 fail("iterator should not get called");
42 fail("size should not get called");
68 fail("iterator should not get called");
74 fail("size should not get called");
97 fail("iterator should not get called");
103 fail("size should not get called");
119 fail("iterator should not get called");
163 fail("size should not get called");
171 fail("an unexpected element was removed");
206 fail("siz
[all...]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DKeyGeneratorTest.java96 fail(NotSupportMsg);
114 fail(NotSupportMsg);
127 fail("InvalidAlgorithmParameterException must be thrown");
132 fail("IllegalArgumentException must be thrown");
141 fail("NullPointerException must be thrown");
146 fail("NullPointerException or InvalidParameterException must be thrown");
160 fail("NullPointerException or NoSuchAlgorithmException should be thrown if algorithm is null");
167 fail("NoSuchAlgorithmException should be thrown");
179 fail(NotSupportMsg);
199 fail(NotSupportMs
[all...]
/libcore/luni/src/test/java/libcore/java/sql/
H A DOldResultSetTest.java84 fail("Should get SQLException");
102 fail("Should get SQLException");
117 fail("Should get SQLException");
150 fail("Should get SQLException");
185 fail("Should get SQLException");
200 fail("Should get SQLException");
217 fail("Should get SQLException");
234 fail("Should get SQLException");
254 fail("Should get SQLException");
277 fail("Shoul
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
H A DCharBufferTest.java149 fail("Should throw Exception"); //$NON-NLS-1$
165 fail("Should throw Exception"); //$NON-NLS-1$
182 fail("Should throw Exception"); //$NON-NLS-1$
309 fail("Should throw Exception"); //$NON-NLS-1$
329 fail("Should throw Exception"); //$NON-NLS-1$
344 fail("Should throw Exception"); //$NON-NLS-1$
351 fail("Should throw Exception"); //$NON-NLS-1$
358 fail("Should throw Exception"); //$NON-NLS-1$
365 fail("Should throw Exception"); //$NON-NLS-1$
371 fail("Shoul
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
H A DAttributesNameTest.java34 fail("Should throw IllegalArgumentException");
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
H A DSAXParserFactoryTest.java87 fail("Unexpected exception " + sax.toString());
140 fail("Expected FactoryConfigurationError was not thrown");
145 fail("Unexpected exception " + ioe.toString());
185 fail("ParserConfigurationException is thrown");
187 fail("SAXNotRecognizedException is thrown");
189 fail("SAXNotSupportedException is thrown");
195 fail("SAXNotRecognizedException is not thrown");
197 fail("ParserConfigurationException is thrown");
201 fail("SAXNotSupportedException is thrown");
203 fail("NullPointerExceptio
[all...]

Completed in 717 milliseconds

1234567891011>>