Searched refs:fail (Results 326 - 350 of 1065) sorted by relevance

<<11121314151617181920>>

/libcore/luni/src/test/java/libcore/java/util/
H A DStringJoinerTest.java31 fail();
36 fail();
41 fail();
104 fail();
131 fail();
H A DLocaleLanguageRangeTest.java52 fail();
58 fail();
69 fail();
74 fail();
88 fail();
93 fail();
210 fail();
297 fail();
302 fail();
307 fail();
[all...]
/libcore/luni/src/test/java/libcore/java/util/zip/
H A DOldZipFileTest.java45 fail("IllegalStateException expected");
94 fail("IOException expected");
101 fail("IOException expected");
114 fail("IllegalStateException expected");
133 fail("IllegalStateException expected");
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
H A DRC2ParameterSpecTest.java50 fail("An IllegalArgumentException should be thrown "
57 fail("An IllegalArgumentException should be thrown "
82 fail("An IllegalArgumentException should be thrown "
89 fail("An IllegalArgumentException should be thrown "
128 fail("The returned iv is not equal to the specified "
/libcore/luni/src/test/java/tests/security/cert/
H A DCertStore1Test.java98 fail(NotSupportMsg);
111 fail(NotSupportMsg);
167 fail("CertStoreException must be thrown");
176 fail("NullPointerException must be thrown");
193 fail("NullPointerException or NoSuchAlgorithmException must be thrown when type is null");
200 fail("NoSuchAlgorithmException must be thrown");
238 fail("IllegalArgumentException must be thrown");
243 fail("IllegalArgumentException must be thrown");
262 fail("NoSuchProviderException must be thrown");
283 fail("NoSuchAlgorithmExceptio
[all...]
H A DCertPathBuilder2Test.java84 fail("CertPathBuilderException must be thrown");
103 fail("NullPointerException or NoSuchAlgorithmException must be thrown when algorithm is null");
110 fail("NoSuchAlgorithmException must be thrown (type: ".concat(
138 fail("NullPointerException or NoSuchAlgorithmException must be thrown when algorithm is null");
146 fail("NoSuchAlgorithmException must be thrown (type: ".concat(
154 fail("IllegalArgumentException must be thrown when provider is null (type: "
160 fail("IllegalArgumentException must be thrown when provider is empty (type: "
170 fail("NoSuchProviderException must be thrown (type: "
201 fail("NullPointerException or NoSuchAlgorithmException must be thrown when algorithm is null");
208 fail("NoSuchAlgorithmExceptio
[all...]
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/
H A DTCKWeekFieldsSerialization.java60 import static org.testng.Assert.fail;
117 fail("Unexpected exception " + ioe);
126 fail("Invalid minimalDays < 1 " + WeekFields.class.getName());
137 fail("Invalid minimalDays > 7 " + WeekFields.class.getName());
148 fail("Invalid startDay == null " + WeekFields.class.getName());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DSystemTest.java197 fail("Boot class path contains extra path separator: " + bootClassPath);
314 fail("Should throw NullPointerExcepiton.");
321 fail("Should throw ClassCastException.");
328 fail("Should throw NullPointerExcepiton.");
335 fail("Should throw ClassCastException.");
342 fail("Should throw NullPointerExcepiton.");
349 fail("Should throw ClassCastException.");
356 fail("Should throw UnsupportedOperationExcepiton.");
363 fail("Should throw UnsupportedOperationException.");
370 fail("Shoul
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/
H A DReferenceQueueTest.java79 fail("Exception during the test : " + e.getMessage());
85 fail("Exception during the test : " + e.getMessage());
91 fail("Exception during the test : " + e.getMessage());
118 fail("Exception during the test : " + e.getMessage());
164 fail("InterruptedExeException during test : " + e.getMessage());
167 fail("Exception during test : " + e.getMessage());
189 fail("IllegalArgumentException was thrown.");
191 fail("InterruptedException was thrown.");
226 fail("IllegalArgumentException expected.");
230 fail("Unexpecte
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DHttpsURLConnectionTest.java69 fail("IllegalStateException wasn't thrown");
85 fail("IllegalStateException wasn't thrown");
127 fail("IllegalStateException wasn't thrown");
145 fail("IllegalStateException wasn't thrown");
151 fail("SSLPeerUnverifiedException wasn't thrown");
168 fail("IllegalStateException wasn't thrown");
175 fail("SSLPeerUnverifiedException wasn't thrown");
191 fail("No expected IllegalArgumentException");
211 fail("No expected IllegalArgumentException");
224 fail("N
[all...]
/libcore/luni/src/test/java/libcore/java/io/
H A DSerializationTest.java132 fail();
168 fail();
184 fail();
201 fail();
232 fail();
275 fail();
311 fail();
345 fail();
365 fail();
425 fail();
[all...]
/libcore/luni/src/test/java/libcore/java/lang/
H A DStrictMathTest.java49 fail(); // This is not an overflow
61 fail(); // This is not an overflow
72 fail(); // This is not an overflow
102 fail(); // This is not an overflow
113 fail(); // This is not an overflow
124 fail(); // This is not an overflow
135 fail(); // This is not an overflow
166 fail(); // Should only throw AE when b is zero.
181 fail(); // Should only throw AE when b is zero.
212 fail(); // Shoul
[all...]
H A DClassCastExceptionTest.java30 fail();
39 fail();
53 fail();
63 fail();
74 fail();
95 fail();
106 fail();
H A DSystemTest.java71 fail();
80 fail();
89 fail();
99 fail();
108 fail();
114 fail();
248 fail("Expected " + SecurityException.class.getName());
H A DLongTest.java69 fail();
74 fail();
79 fail();
96 fail();
101 fail();
106 fail();
123 fail();
128 fail();
133 fail();
138 fail();
[all...]
H A DOldThreadTest.java64 fail("StackOverflowError/OutOfMemoryError is not thrown.");
84 fail("Unexpected exception was thrown: " + e.toString());
150 fail("setDaemon() must throw exception for started thread");
184 fail("Unexpected InterruptedException was thrown");
208 fail("Unexpected InterruptedException was thrown");
216 fail("Unexpected InterruptedException was thrown");
231 fail("Unexpected InterruptedException was thrown");
255 fail("Unexpected InterruptedException was thrown");
263 fail("Unexpected InterruptedException was thrown");
326 fail("InterruptedExceptio
[all...]
/libcore/luni/src/test/java/tests/java/sql/
H A DUpdateFunctionalityTest.java50 fail("Unexpected SQLException " + e.toString());
88 fail("Unexpected SQLException " + e.toString());
98 fail("Unexpected SQLException " + e.toString());
123 fail("Unexpected exception" + e.getMessage());
155 fail("Unexpected exception" + e.getMessage());
184 fail("Unexpected exception" + e.getMessage());
223 fail("Unexpected exception" + e.getMessage());
261 fail("Unexpected exception" + e.getMessage());
288 fail("Unexpected exception" + e.getMessage());
321 fail("Unexpecte
[all...]
H A DDatabaseMetaDataTest.java114 fail("Unexpected SQLException " + e.toString());
124 fail("Unexpected SQLException " + e.toString());
149 fail("Unexpected SQLException " + e.toString());
179 fail("Unexpected SQLException " + e.toString());
214 fail("SQLException not thrown");
248 fail("Unexpected exception: " + e.getMessage());
257 fail("SQLException not thrown");
284 fail("Unexpected exception: " + e.getMessage());
300 fail("Unexpected exception: " + e.getMessage());
313 fail("Unexpecte
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DStackTest.java74 fail("EmptyStackException expected");
95 fail(
103 fail(
112 fail(
118 fail(
192 fail("Should throw ArrayIndexOutOfBoundsException here");
196 fail("Should throw ArrayIndexOutOfBoundsException here");
/libcore/luni/src/test/java/libcore/java/math/
H A DBigIntegerTest.java58 fail();
63 fail();
68 fail();
73 fail();
78 fail();
83 fail();
136 fail();
/libcore/luni/src/test/java/libcore/java/util/jar/
H A DOldJarFileTest.java43 fail("Should throw IOException");
54 fail("Should throw IOException");
66 fail("Should throw IOException");
78 fail("Should throw IOException");
90 fail("Should throw IOException");
102 fail("Should throw IllegalArgumentException");
149 // fail("Should throw ZipException");
163 fail("Should throw IllegalStateException");
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DKSPrivateKeyEntryTest.java70 fail("NullPointerException must be thrown when privateKey is null");
86 fail("NullPointerException must be thrown when chain is null");
92 fail("IllegalArgumentException must be thrown when chain length is 0");
106 fail("IllegalArgumentException must be thrown when chain contains certificates of different types");
121 fail("IllegalArgumentException must be thrown when key algorithms do not match");
137 fail("NullPointerException must be thrown when attributes is null");
212 fail("The returned set of attributed should be unmodifiable");
H A DDigestOutputStreamTest.java163 fail(getName() + ": no MessageDigest algorithms available - test not performed");
200 fail(getName() + ": no MessageDigest algorithms available - test not performed");
220 fail("OutputStream not set. write(int) must not work");
228 fail(getName() + ": no MessageDigest algorithms available - test not performed");
248 fail("OutputStream not set. write(int) must not work");
303 fail(getName() + ": no MessageDigest algorithms available - test not performed");
337 fail(getName() + ": no MessageDigest algorithms available - test not performed");
378 fail(getName() + ": no MessageDigest algorithms available - test not performed");
419 fail(getName() + ": no MessageDigest algorithms available - test not performed");
435 fail("N
[all...]
/libcore/json/src/test/java/org/json/
H A DJSONTokenerTest.java28 // JSONTokener accepts null, only to fail later on almost all APIs!
33 fail();
39 fail();
45 fail();
51 fail();
57 fail();
63 fail();
69 fail();
75 fail();
81 fail();
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DSerializationStressTest2.java827 fail("IOException serializing " + objToSave + " : "
830 fail("ClassNotFoundException reading Object type : "
861 fail("IOException serializing " + objToSave + " : "
864 fail("ClassNotFoundException reading Object type : "
893 fail("IOException serializing " + objToSave + " : "
896 fail("ClassNotFoundException reading Object type : "
925 fail("IOException serializing " + objToSave + " : "
928 fail("ClassNotFoundException reading Object type : "
958 fail("IOException serializing " + objToSave + " : "
961 fail("ClassNotFoundExceptio
[all...]

Completed in 509 milliseconds

<<11121314151617181920>>