Searched refs:fail (Results 76 - 100 of 1065) sorted by relevance

1234567891011>>

/libcore/luni/src/test/java/libcore/util/
H A DSneakyThrowTest.java28 fail("Expecting exception");
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DOldFileChannelTest.java210 fail("should throw IllegalArgumentException");
217 fail("should throw IllegalArgumentException");
224 fail("should throw IllegalArgumentException");
231 fail("should throw IllegalArgumentException");
264 fail("should throw IllegalArgumentException");
271 fail("should throw IllegalArgumentException");
278 fail("should throw IllegalArgumentException");
287 fail("should throw IllegalArgumentException");
295 fail("should throw IllegalArgumentException");
303 fail("shoul
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DEOFExceptionTest.java34 fail("Failed to generate EOFException");
47 fail("Failed to generate EOFException");
H A DUnsupportedEncodingExceptionTest.java37 fail("Failed to generate expected exception");
52 fail("Failed to generate expected exception");
H A DWriteAbortedExceptionTest.java38 fail("Failed to generate expected Exception");
57 fail("Failed to generate expected Exception");
H A DPushbackReaderTest.java48 fail("Created reader with buffer larger than 1");
70 fail("Failed to throw exception reading from closed reader");
83 fail("mark failed to throw expected IOException");
108 fail("IOException during read test : " + e.getMessage());
123 fail("IOException during read test : " + e.getMessage());
134 fail();
139 fail();
144 fail();
154 fail();
159 fail();
[all...]
/libcore/luni/src/test/java/libcore/java/io/
H A DOldFileReaderTest.java32 fail("Test 2: FileNotFoundException expected.");
41 fail("Test 2: FileNotFoundException expected.");
H A DOldStringWriterTest.java31 fail("IndexOutOfBoundsException not thrown!");
38 fail("IndexOutOfBoundsException not thrown!");
H A DOldDataInputStreamTest.java48 fail("IOException during constructor test : " + e.getMessage());
53 fail("IOException during constructor test : " + e.getMessage());
83 fail("Test 5: IOException expected.");
115 fail("Test 5: IOException expected.");
130 fail("IndexOutOfBoundsException expected.");
137 fail("IndexOutOfBoundsException expected.");
144 fail("IndexOutOfBoundsException expected.");
164 fail("Test 2: IOException expected.");
173 fail("Test 3: EOFException expected.");
194 fail("Tes
[all...]
H A DOldWriterTest.java33 fail("IOException not thrown!");
46 fail("IOException not thrown!");
64 fail("IndexOutOfBoundsException not thrown!");
71 fail("IOException not thrown!");
82 fail("IndexOutOfBoundsException not thrown!");
88 fail("IndexOutOfBoundsException not thrown!");
94 fail("IndexOutOfBoundsException not thrown!");
111 fail("IOException not thrown!");
124 fail("IOException not thrown!");
141 fail("IOExceptio
[all...]
H A DFilterInputStreamNullSourceTest.java52 fail();
60 fail();
81 fail();
86 fail();
91 fail();
108 fail();
114 fail();
124 fail();
130 fail();
136 fail();
[all...]
H A DOldLineNumberReaderTest.java44 fail("Test 2: IOException expected.");
68 fail("Test 3: IOException expected.");
89 fail("Test 3: IOException expected.");
101 fail("IndexOutOfBoundsException expected.");
108 fail("IndexOutOfBoundsException expected.");
115 fail("IndexOutOfBoundsException expected.");
134 fail("Test 3: IOException expected.");
155 fail("Test 3: IOException expected.");
173 fail("Test 3: IllegalArgumentException expected.");
181 fail("Tes
[all...]
/libcore/luni/src/test/java/libcore/java/lang/invoke/
H A DMethodHandleInfoTest.java34 fail();
40 fail();
46 fail();
52 fail();
70 fail();
76 fail();
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DKeyRepTest.java48 fail("NullPointerException has not been thrown (type)");
53 fail("NullPointerException has not been thrown (alg)");
58 fail("NullPointerException has not been thrown (format)");
63 fail("NullPointerException has not been thrown (encoding)");
72 fail("NotSerializableException has not been thrown (no format)");
79 fail("NotSerializableException has not been thrown (unacceptable format)");
86 fail("NotSerializableException has not been thrown (empty key)");
95 fail("NotSerializableException has not been thrown (no format)");
102 fail("NotSerializableException has not been thrown (unacceptable format)");
109 fail("NotSerializableExceptio
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
H A DInflaterOutputStreamTest.java56 fail("Should throw NullPointerException");
71 fail("Should throw NullPointerException");
78 fail("Should throw NullPointerException");
95 fail("Should throw NullPointerException");
102 fail("Should throw NullPointerException");
109 fail("Should throw NullPointerException");
116 fail("Should throw NullPointerException");
123 fail("Should throw IllegalArgumentException");
130 fail("Should throw IllegalArgumentException");
156 fail("Shoul
[all...]
H A DDeflaterInputStreamTest.java75 fail("should throw IOException");
91 fail("should throw IOException");
97 fail("should throw IOException");
143 fail("should throw IOException");
211 fail("should throw IndexOutOfBoundsException");
217 fail("should throw NullPointerException");
223 fail("should throw NullPointerException");
229 fail("should throw NullPointerException");
235 fail("should throw IndexOutOfBoundsException");
241 fail("shoul
[all...]
/libcore/luni/src/test/java/tests/security/cert/
H A DCertPathBuilder1Test.java79 fail(NotSupportMsg);
117 fail("No expected NullPointerException");
123 fail("NoSuchAlgorithmException must be thrown");
135 fail(NotSupportMsg);
152 fail(NotSupportMsg);
159 fail("IllegalArgumentException must be thrown thrown");
164 fail("IllegalArgumentException must be thrown thrown");
178 fail(NotSupportMsg);
185 fail("NoSuchProviderException must be hrown");
200 fail(NotSupportMs
[all...]
H A DCertPathValidator1Test.java76 fail(NotSupportMsg);
99 fail(NotSupportMsg);
132 fail("NullPointerException or NoSuchAlgorithmException must be thrown when algorithm is null");
139 fail("NoSuchAlgorithmException must be thrown");
150 fail(NotSupportMsg);
168 fail(NotSupportMsg);
175 fail("IllegalArgumentException must be thrown thrown");
180 fail("IllegalArgumentException must be thrown thrown");
192 fail(NotSupportMsg);
200 fail("NoSuchProviderExceptio
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DX509TrustManagerTest.java36 fail("IllegalArgumentException wasn't thrown");
43 fail("IllegalArgumentException wasn't thrown");
50 fail("IllegalArgumentException wasn't thrown");
56 fail("IllegalArgumentException wasn't thrown");
70 fail("CertificateException wasn't thrown");
93 fail("IllegalArgumentException wasn't thrown");
100 fail("IllegalArgumentException wasn't thrown");
107 fail("IllegalArgumentException wasn't thrown");
113 fail("IllegalArgumentException wasn't thrown");
127 fail("CertificateExceptio
[all...]
H A DSSLSocketFactoryTest.java36 fail(name + ": " + e);
49 fail("Unexpected exception " + e.toString());
83 fail();
90 fail();
98 fail();
112 fail("Unexpected exception " + e.toString());
125 fail("Unexpected exception " + e.toString());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DStringTest.java108 fail("No IndexOutOfBoundsException");
127 fail("Should throw UnsupportedEncodingException");
150 fail("No IndexOutOfBoundsException");
173 fail("No NPE");
194 fail("No NPE");
200 fail("No IOOBE, negative offset");
206 fail("No IOOBE, negative count");
212 fail("No IOOBE, negative count");
218 fail("No IOOBE, too large");
236 fail("N
[all...]
/libcore/luni/src/test/java/libcore/java/net/
H A DUrlEncodingTest.java54 fail();
68 fail();
73 fail();
81 fail();
86 fail();
94 fail();
102 fail();
110 fail();
119 fail();
128 fail();
[all...]
/libcore/luni/src/test/java/libcore/java/util/
H A DOldListIteratorTest.java51 fail("NoSuchElementException expected");
102 fail("IllegalStateException expected");
114 fail("IllegalStateException expected");
122 fail("UnsupportedOperationException expected");
139 fail("NoSuchElementException expected");
153 fail("NoSuchElementException expected");
176 fail("IllegalStateException expected");
189 fail("IllegalStateException expected");
198 fail("IllegalArgumentException expected");
205 fail("ClassCastExceptio
[all...]
/libcore/luni/src/test/java/libcore/java/nio/file/
H A DInvalidPathExceptionTest.java46 fail();
53 fail();
60 fail();
67 fail();
74 fail();
90 fail();
96 fail();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
H A DDocumentBuilderTest.java145 fail("unexpected exception " + e.toString());
162 fail("Unexpected ParserConfigurationException " + pce.toString());
164 fail("Unexpected SAXException " + sax.toString());
255 fail("Unexpected IOException " + ioe.toString());
257 fail("Unexpected SAXException " + sax.toString());
263 fail("Expected IllegalArgumentException was not thrown");
267 fail("Unexpected IOException " + ioe.toString());
269 fail("Unexpected SAXException " + sax.toString());
275 fail("Expected IOException was not thrown");
279 fail("Unexpecte
[all...]

Completed in 4438 milliseconds

1234567891011>>