Searched refs:fail (Results 101 - 125 of 1065) sorted by relevance

1234567891011>>

/libcore/luni/src/test/java/libcore/java/io/
H A DOldOutputStreamWriterTest.java61 fail("Test 1: NullPointerException expected.");
69 fail("Test 2: Unexpected exception: " + e.getMessage());
85 fail("Test 1: NullPointerException expected.");
92 fail("Test 2: NullPointerException expected.");
99 fail("Test 3: UnsupportedEncodingException expected.");
106 fail("Test 4: UnsupportedEncodingException expected.");
114 fail("Test 5: Unexpected UnsupportedEncodingException.");
130 fail("Test 1: NullPointerException expected.");
137 fail("Test 2: NullPointerException expected.");
157 fail("Tes
[all...]
H A DOldRandomAccessFileTest.java58 fail("Test 1: FileNotFoundException expected.");
62 fail("Test 2: Unexpected IllegalArgumentException: " + e.getMessage());
72 fail("Test 3: Unexpected IllegalArgumentException: " + e.getMessage());
78 fail("Test 4: Unexpected IllegalArgumentException: " + e.getMessage());
84 fail("Test 5: Unexpected IllegalArgumentException: " + e.getMessage());
91 fail("Test 6: IllegalArgumentException expected.");
112 fail("Test 1: FileNotFoundException expected.");
116 fail("Test 2: Unexpected IllegalArgumentException: " + e.getMessage());
124 fail("Test 3: Unexpected IllegalArgumentException: " + e.getMessage());
130 fail("Tes
[all...]
H A DOldLineNumberInputStreamTest.java42 fail("Test 2: IOException expected.");
65 fail("Test 7: IOException expected.");
80 fail("Test 2: IOException expected.");
91 fail("IndexOutOfBoundsException expected.");
98 fail("IndexOutOfBoundsException expected.");
105 fail("IndexOutOfBoundsException expected.");
123 fail("Test 3: Failed to invalidate mark.");
132 fail("Test 4: IOException expected.");
159 fail("Test 3: IOException expected.");
H A DOldFilterInputStreamTest.java52 fail("Unexpected IOException: " + e.getMessage());
54 fail("Unexpected NullPointerException.");
65 fail("Test 2: IOException expected.");
76 fail("Test 1: Read from closed stream succeeded.");
85 fail("Test 2: IOException expected.");
150 fail("Test 2: IOException expected.");
167 fail("Test 2: IOException expected.");
177 fail("Test 1: NullPointerException expected.");
185 fail("Test 2: IndexOutOfBoundsException expected.");
192 fail("Tes
[all...]
H A DOldByteArrayInputStreamTest.java53 fail("Exception during Constructor test");
84 fail("Exception during available test");
93 fail("Test 1: Failed to close the input stream.");
98 fail("Test 2: Should be able to read from closed stream.");
117 fail("Exception during mark test");
136 fail("Exception during read test");
152 fail("Test 2: NullPointerException expected.");
159 fail("Test 3: IndexOutOfBoundsException expected.");
166 fail("Test 4: IndexOutOfBoundsException expected.");
173 fail("Tes
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DSourceChannelTest.java80 fail("should throw NullPointerException");
112 fail("should throw ClosedChannelException");
120 fail("should throw ClosedChannelException");
128 fail("should throw NullPointerException");
136 fail("should throw NullPointerException");
144 fail("should throw ClosedChannelException");
188 // RI may fail because of its bug implementation
208 fail("should throw NullPointerException");
218 fail("should throw NullPointerException");
226 fail("shoul
[all...]
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldStackTraceElementTest.java49 fail();
71 fail("Expected NullPointerException was not thrown");
80 fail("Expected NullPointerException was not thrown");
90 fail("Unexpected exception " + e.toString());
97 fail();
112 fail();
126 fail();
140 fail();
150 fail();
164 fail();
[all...]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
H A DSecretKeySpecTest.java49 fail("An IllegalArgumentException should be thrown "
56 fail("An IllegalArgumentException should be thrown "
63 fail("An IllegalArgumentException should be thrown "
89 fail("An IllegalArgumentException should be thrown "
96 fail("An IllegalArgumentException should be thrown "
103 fail("An IllegalArgumentException should be thrown "
110 fail("An IllegalArgumentException should be thrown "
117 fail("An ArrayIndexOutOfBoundsException should be thrown "
120 fail("Not expected IllegalArgumentException was thrown.");
133 fail("ArrayIndexOutOfBoundsExceptio
[all...]
/libcore/luni/src/test/java/libcore/java/nio/file/
H A DSimpleFileVisitorTest.java41 fail();
46 fail();
59 fail();
64 fail();
79 fail();
84 fail();
95 fail();
102 fail();
109 fail();
/libcore/luni/src/test/java/libcore/java/util/
H A DArraysTest.java40 fail();
46 fail();
67 fail();
73 fail();
94 fail();
100 fail();
121 fail();
127 fail();
148 fail();
154 fail();
[all...]
H A DOldLinkedHashMapTest.java45 fail("expected ConcurrentModificationException was not thrown.");
58 fail("IllegalArgumentException expected");
64 fail("IllegalArgumentException expected");
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DPipedReaderTest.java86 fail("Should throw IllegalArgumentException"); //$NON-NLS-1$
93 fail("Should throw IllegalArgumentException"); //$NON-NLS-1$
107 fail("Should throw IllegalArgumentException"); //$NON-NLS-1$
114 fail("Should throw IllegalArgumentException"); //$NON-NLS-1$
152 fail("Failed to throw exception connecting to pre-connected reader");
194 fail("Failed to throw exception reading from closed reader");
207 fail();
218 fail();
229 fail();
239 fail();
[all...]
H A DBufferedReaderTest.java95 fail("Read on closed stream");
123 fail("Failed to invalidate mark properly");
199 fail("Exception during read test");
216 fail("Exception during read test 2:" + e);
234 fail("null buffer reading zero bytes should throw NPE");
242 fail("unexpected 1: " + e);
247 fail("null buffer reading zero bytes on closed stream should throw IOException");
255 fail("Reading zero bytes on a closed reader should not work");
268 fail("IOException should have been thrown");
284 fail("Unexpecte
[all...]
H A DPushbackInputStreamTest.java36 fail("Should throw IOException");
59 fail("Expected IOException");
68 fail("Failed to throw exception on unread when buffer full");
90 fail("Failed to throw exception on unread when buffer full");
100 fail("Expected IOException");
115 fail("Exception during available test: " + e.toString());
136 fail("Exception during read test : " + e.getMessage());
152 fail("Exception during read test : " + e.getMessage());
189 fail("IOException during unread test : " + e.getMessage());
213 fail("Asser
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DURISyntaxExceptionTest.java31 fail("Expected NullPointerException");
38 fail("Expected NullPointerException");
45 fail("Expected IllegalArgumentException");
63 fail("Expected NullPointerException");
70 fail("Expected NullPointerException");
/libcore/luni/src/test/java/tests/security/cert/
H A DX509CRLSelectorTest.java45 fail("NullPointerException expected");
59 fail("IOException expected");
67 fail("IOException expected");
93 fail("IOException expected");
107 fail("NullPointerException expected");
H A DPKIXCertPathValidatorResultTest.java75 fail(getName() + ": not performed (could not create test TrustAnchor)");
96 fail("NPE expected");
110 fail(getName() + ": not performed (could not create test TrustAnchor)");
118 fail("NPE expected");
131 fail(getName() + ": not performed (could not create test TrustAnchor)");
149 fail(getName() + ": not performed (could not create test TrustAnchor)");
172 fail(getName() + ": not performed (could not create test TrustAnchor)");
198 fail(getName() + ": not performed (could not create test TrustAnchor)");
225 fail(getName() + ": not performed (could not create test TrustAnchor)");
249 fail(getNam
[all...]
/libcore/luni/src/test/java/libcore/java/lang/invoke/
H A DMethodTypeTest.java44 fail();
50 fail();
56 fail();
69 fail();
75 fail();
81 fail();
94 fail();
100 fail();
106 fail();
119 fail();
[all...]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DSignatureTest.java85 fail("No expected CloneNotSupportedException");
93 fail("unexpected exception: " + e);
128 fail("unexpected : " + e);
145 fail("expected InvalidKeyException");
149 fail("unexpected : " + e);
166 fail("expected InvalidKeyException");
170 fail("unexpected: " + e);
200 fail("expected InvalidKeyException");
204 fail("unexpected : " + e);
215 fail("N
[all...]
H A DSecureRandom2Test.java52 fail("Unexpected NoSuchAlgorithmException");
64 fail("Constructor threw exception : " + e);
76 fail("Constructor threw exception : " + e);
81 fail("NullPointerException was not thrown for NULL parameter");
94 fail("Constructor threw exception : " + e);
106 fail("Constructor threw exception : " + e);
121 fail("expected an exception");
136 fail("getInstance did not find a SHA1PRNG algorithm");
141 fail("NoSuchAlgorithmException should be thrown for MD2 algorithm");
163 fail("N
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DByteTest.java59 fail("Expected NumberFormatException with hex string.");
65 fail("Expected NumberFormatException with floating point string.");
71 fail("Expected NumberFormatException with empty string.");
77 fail("Expected NumberFormatException with null string.");
146 fail("Expected NumberFormatException with hex string.");
152 fail("Expected NumberFormatException with floating point string.");
158 fail("Expected NumberFormatException with empty string.");
164 fail("Expected NumberFormatException with null string.");
183 fail("Expected NumberFormatException with hex string.");
189 fail("Expecte
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DCertPathTrustManagerParametersTest.java47 fail("Unexpected exception " + e.toString());
53 fail("Expected CertPathTrustManagerParameters was not thrown");
67 fail("incorrect parameters");
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DCipherInputStreamTest.java40 fail("NullPointerException expected");
54 fail("IllegalStateException expected!");
61 fail("IllegalStateException expected!");
H A DKeyAgreementTest.java100 fail(NotSupportMsg);
123 fail("NullPointerException or NoSuchAlgorithmException should be thrown if algorithm is null");
130 fail("NoSuchAlgorithmException must be thrown");
142 fail(NotSupportMsg);
162 fail(NotSupportMsg);
167 fail("NullPointerException or NoSuchAlgorithmException should be thrown if algorithm is null");
174 fail("NoSuchAlgorithmException must be thrown");
190 fail(NotSupportMsg);
197 fail("IllegalArgumentException must be thrown when provider is null");
202 fail("IllegalArgumentExceptio
[all...]
/libcore/luni/src/test/java/tests/java/security/
H A DAlgorithmParameterGeneratorSpiTest.java54 fail("IllegalArgumentException must be thrown");
62 fail("IllegalArgumentException must be thrown");
67 fail("IllegalArgumentException must be thrown");

Completed in 608 milliseconds

1234567891011>>