Searched refs:fail (Results 201 - 225 of 1065) sorted by relevance

1234567891011>>

/libcore/json/src/test/java/org/json/
H A DJSONObjectTest.java53 fail();
58 fail();
63 fail();
68 fail();
73 fail();
78 fail();
83 fail();
88 fail();
127 fail();
132 fail();
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DFileChannelLockingTest.java90 fail("Acquiring a full exclusive lock on a read only channel should fail.");
98 fail("Acquiring a shared lock on a write-only channel should fail.");
116 fail("Passing illegal args to lock should fail.");
122 fail("Passing illegal args to lock should fail.");
128 fail("Passing illegal args to lock should fail
[all...]
/libcore/luni/src/test/java/libcore/java/io/
H A DOldInputStreamTest.java57 fail("Unexpected exception: " + e.getMessage());
69 fail("Unexpected exception: " + e.getMessage());
77 fail("Unexpected exception: " + e.getMessage());
127 fail("Test 1: IndexOutOfBoundsException expected.");
135 fail("Test 2: IndexOutOfBoundsException expected.");
144 fail("Test 3: IndexOutOfBoundsException expected.");
153 fail("Test 4: Unexpected IndexOutOfBoundsException.");
161 fail("Test 5: Unexpected Exception " + e.getMessage());
216 fail("IOException expected.");
/libcore/luni/src/test/java/libcore/java/text/
H A DOldDateFormatTest.java61 fail("Unexpected exception " + e.toString());
79 fail("Unexpected exception " + e.toString());
98 fail("Unexpected exception " + e.toString());
125 fail("Unexpected exception " + e.toString());
142 fail("Unexpected exception " + e.toString());
159 fail("Unexpected exception " + e.toString());
175 fail("Unexpected exception " + e.toString());
181 fail("Expected IllegalArgumentException was not thrown");
185 fail("Unexpected exception " + e.toString());
191 fail("Expecte
[all...]
/libcore/luni/src/test/java/libcore/java/util/
H A DOldTreeMapTest.java120 fail("ClassCastException expected");
127 fail("NullPointerException expected");
149 fail("NullPointerException expected");
163 fail("ClassCastException expected");
170 fail("NullPointerException expected");
182 fail("NoSuchElementException expected");
197 fail("ClassCastException expected");
204 fail("NullPointerException expected");
221 fail("IllegalArgumentException expected");
228 fail("ClassCastExceptio
[all...]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DDigestInputStream2Test.java141 fail("Test 1: NullPointerException expected.");
149 fail("Test 2: IndexOutOfBoundsException expected.");
156 fail("Test 3: IndexOutOfBoundsException expected.");
163 fail("Test 4: IndexOutOfBoundsException expected.");
170 fail("Test 5: IndexOutOfBoundsException expected.");
177 fail("Test 6: IndexOutOfBoundsException expected.");
184 fail("Test 7: IndexOutOfBoundsException expected.");
195 fail("Test 9: IOException expected.");
233 fail("Unable to find SHA-1 algorithm");
H A DMessageDigestSpiTest.java48 fail("Unexpected exception " + e.getMessage());
60 fail("Unexpected exception for abstract methods");
86 fail("No expected NullPointerException");
92 fail("No expected DigestException");
99 fail("No expected DigestException - 1");
106 fail("No expected DigestException");
120 fail("should throw NullPointerException");
137 fail("unexpected Exception: " + e);
172 fail("No expected CloneNotSupportedException");
H A DKeyStoreSpiTest.java55 fail("Unexpected exception");
81 fail();
108 fail();
117 fail("KeyStoreException or NullPointerException must be thrown");
125 fail("KeyStoreException must be thrown");
131 fail("KeyStoreException must be thrown");
156 fail("KeyStoreException must be thrown from engineSetKeyEntry(..)");
161 fail("KeyStoreException must be thrown from engineSetKeyEntry(..)");
166 fail("KeyStoreException must be thrown "
172 fail("KeyStoreExceptio
[all...]
H A DMessageDigest1Test.java67 fail("No expected IllegalArgumentException");
73 fail("No expected IllegalArgumentException");
79 fail("No expected IllegalArgumentException");
157 fail("No expected IllegalArgumentException");
163 fail("No expected IllegalArgumentException");
169 fail("No expected IllegalArgumentException");
190 fail("expected DigestException");
242 fail("unexpected exception: " + e);
251 fail("No expected IndexOutOfBoundsException");
256 fail("N
[all...]
H A DKeyPairGenerator2Test.java95 fail("InvalidAlgorithmParameterException must be thrown");
101 fail("InvalidParameterException must be thrown");
108 fail("InvalidParameterException must be thrown");
125 fail("InvalidParameterException must be thrown");
144 fail("UnsupportedOperationException must be thrown");
152 fail("IllegalArgumentException must be thrown for null random");
157 fail("InvalidParameterException must be thrown for invalid key");
162 fail("InvalidParameterException must be thrown for invalid key");
167 fail("IllegalArgumentException must be thrown for null random");
188 fail("NullPointerExceptio
[all...]
H A DSignature2Test.java81 fail();
103 fail();
124 fail();
130 fail();
136 fail();
142 fail();
161 fail();
169 fail(pp[i].toString());
178 fail(sp[i]);
198 fail();
[all...]
/libcore/luni/src/test/java/tests/security/cert/
H A DPKIXCertPathBuilderResultTest.java84 fail(getName() + ": not performed (could not create test TrustAnchor)");
107 fail(getName() + ": not performed (could not create test TrustAnchor)");
127 fail(getName() + ": not performed (could not create test TrustAnchor)");
137 fail("NPE expected");
156 fail("NPE expected");
170 fail(getName() + ": not performed (could not create test TrustAnchor)");
180 fail("NPE expected");
213 fail(getName() + ": not performed (could not create test TrustAnchor)");
240 fail(getName() + ": not performed (could not create test TrustAnchor)");
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
H A DCoderResultTest.java61 fail("Should throw BufferOverflowException");
67 fail("Should throw UnsupportedOperationException");
81 fail("Should throw BufferOverflowException");
87 fail("Should throw UnsupportedOperationException");
155 fail("Should throw UnsupportedOperationException");
161 fail("Should throw UnsupportedOperationException");
185 fail("Should throw IllegalArgumentException");
191 fail("Should throw IllegalArgumentException");
210 fail("Should throw IllegalArgumentException");
216 fail("Shoul
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DTrustManagerFactory2Test.java80 fail("KeyStoreException must be thrown");
85 fail("InvalidAlgorithmParameterException must be thrown");
95 fail("default keystore is not supported");
102 fail("RuntimeException must be thrown");
120 fail("NoSuchAlgorithmException or NullPointerException should be thrown (algorithm is null");
127 fail("NoSuchAlgorithmException must be thrown (algorithm: "
157 fail("NoSuchAlgorithmException or NullPointerException should be thrown (algorithm is null");
165 fail("NoSuchAlgorithmException must be thrown (algorithm: "
174 fail("IllegalArgumentException must be thrown when provider is null (algorithm: "
180 fail("IllegalArgumentExceptio
[all...]
/libcore/luni/src/test/java/libcore/java/lang/
H A DIntegerTest.java66 fail();
71 fail();
76 fail();
93 fail();
98 fail();
103 fail();
108 fail();
120 fail();
125 fail();
130 fail();
[all...]
/libcore/luni/src/test/java/libcore/java/nio/file/
H A DFileSystemsTest.java45 import static org.junit.Assert.fail;
67 fail();
77 fail();
82 fail();
87 fail();
97 fail();
103 fail();
109 fail();
114 fail();
124 fail();
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DSerializationStressTest4.java85 fail("IOException serializing " + objToSave + " : "
88 fail("ClassNotFoundException reading Object type : "
117 fail("IOException serializing " + objToSave + " : "
120 fail("ClassNotFoundException reading Object type : "
150 fail("IOException serializing " + objToSave + " : "
153 fail("ClassNotFoundException reading Object type : "
179 fail("IOException serializing " + objToSave + " : "
182 fail("ClassNotFoundException reading Object type : "
244 fail("IOException serializing " + objToSave + " : "
247 fail("ClassNotFoundExceptio
[all...]
H A DSequenceInputStreamTest.java52 fail("should throw NullPointerException");
95 fail("IOException during read test : " + e.getMessage());
110 fail("IOException during available test : " + e.getMessage());
132 fail("IOException during read test: " + e.getMessage());
154 fail("IOException during read test : " + e.getMessage());
165 fail("Expected NullPointerException exception");
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
H A DDeflaterOutputStreamTest.java100 fail("NullPointerException Not Thrown");
151 fail("NullPointerException Not Thrown");
159 fail("IllegalArgumentException Not Thrown");
166 fail("IllegalArgumentException Not Thrown");
196 fail("EOFException Not Thrown");
223 fail("IOException not thrown");
230 fail("DeflaterOutputStream Able To Write After Being Closed.");
239 fail("FileOutputStream Able To Write After Being Closed.");
264 fail("IOException not thrown");
286 fail("IOExceptio
[all...]
/libcore/jsr166-tests/src/test/java/jsr166/
H A DJSR166TestCase.java69 * cause the associated test that generated them to itself fail (which
78 * {@code fail}, {@code assertTrue}, etc.) It is OK (but not
100 * method (or {@code fail} to do so) before returning from the
699 * Just like fail(reason), but additionally recording (using
701 * the current testcase will fail.
705 fail(reason);
715 * the current testcase will fail.
729 * the current testcase will fail.
743 * the current testcase will fail.
757 * the current testcase will fail
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DScannerTest.java102 fail();
118 fail();
147 fail();
152 fail();
170 fail();
177 fail();
184 fail();
188 //fail on RI. File is opened but not closed when exception is thrown on
195 fail();
202 fail();
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/callback/
H A DPasswordCallbackTest.java46 fail("Unexpected exception: " + e);
55 fail("Unexpected exception: " + e);
60 fail("IllegalArgumentException wasn't thrown");
66 fail("IllegalArgumentException wasn't thrown");
97 fail("Incorrect password was returned after clear");
106 fail("Unexpected exception: " + e);
/libcore/luni/src/test/java/libcore/java/util/zip/
H A DDeflaterInputStreamTest.java52 fail();
87 fail();
98 fail();
103 fail();
108 fail();
114 fail();
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DExemptionMechanismSpiTest.java103 fail("InvalidKeyException must be thrown");
108 fail("InvalidKeyException must be thrown");
113 fail("InvalidKeyException must be thrown");
119 fail("ExemptionMechanismException must be thrown");
124 fail("ExemptionMechanismException must be thrown");
129 fail("ExemptionMechanismException must be thrown");
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
H A DFloatBufferTest.java121 fail("Should throw Exception"); //$NON-NLS-1$
137 fail("Should throw Exception"); //$NON-NLS-1$
154 fail("Should throw Exception"); //$NON-NLS-1$
163 fail("Should throw NPE");
267 fail("Should throw Exception"); //$NON-NLS-1$
287 fail("Should throw Exception"); //$NON-NLS-1$
294 fail("Should throw Exception"); //$NON-NLS-1$
310 fail("Should throw Exception"); //$NON-NLS-1$
317 fail("Should throw Exception"); //$NON-NLS-1$
324 fail("Shoul
[all...]

Completed in 894 milliseconds

1234567891011>>