Searched refs:fail (Results 51 - 75 of 1065) sorted by relevance

1234567891011>>

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
H A DWrappedLongBufferTest.java42 fail("Should throw Exception"); //$NON-NLS-1$
48 fail("Should throw Exception"); //$NON-NLS-1$
54 fail("Should throw Exception"); //$NON-NLS-1$
60 fail("Should throw Exception"); //$NON-NLS-1$
66 fail("Should throw Exception"); //$NON-NLS-1$
72 fail("Should throw Exception"); //$NON-NLS-1$
78 fail("Should throw NPE"); //$NON-NLS-1$
H A DWrappedShortBufferTest.java42 fail("Should throw Exception"); //$NON-NLS-1$
48 fail("Should throw Exception"); //$NON-NLS-1$
54 fail("Should throw Exception"); //$NON-NLS-1$
60 fail("Should throw Exception"); //$NON-NLS-1$
66 fail("Should throw Exception"); //$NON-NLS-1$
72 fail("Should throw Exception"); //$NON-NLS-1$
78 fail("Should throw NPE"); //$NON-NLS-1$
/libcore/luni/src/test/java/libcore/java/io/
H A DFileOutputStreamTest.java40 fail();
45 fail();
55 fail();
60 fail();
81 fail();
86 fail();
91 fail();
H A DOldByteArrayOutputStreamTest.java44 fail("Test 2: IllegalArgumentException expected.");
61 fail("Test 3: UnsupportedEncodingException expected.");
72 fail("Test 1: IndexOutOfBoundsException expected.");
78 fail("Test 2: IndexOutOfBoundsException expected.");
84 fail("Test 3: IndexOutOfBoundsException expected.");
90 fail("Test 4: NullPointerException expected.");
108 fail("Test 2: IOException expected.");
H A DOldBufferedWriterTest.java44 fail("Test 3: Unexpected IOException.");
51 fail("Test 1: IllegalArgumentException expected.");
63 fail("Test 4: Unexpected IOException.");
72 fail("Test 1: IOException expected.");
81 fail("Test 3: IOException expected.");
99 fail("Test 3: IOException expected.");
118 fail("Test 2: IOException expected.");
141 fail("Exception during write test");
152 fail("Test 1: NullPointerException expected.");
159 fail("Tes
[all...]
H A DOldDataInputOutputStreamTest.java42 fail("Test 1: IOException expected.");
55 fail("Test 3: EOFException expected.");
63 fail("Test 4: IOException expected.");
74 fail("Test 1: IOException expected.");
87 fail("Test 3: EOFException expected.");
95 fail("Test 4: IOException expected.");
106 fail("Test 1: IOException expected.");
119 fail("Test 3: EOFException expected.");
127 fail("Test 4: IOException expected.");
138 fail("Tes
[all...]
H A DOldPipedOutputStreamTest.java91 fail("Unexpeceted IOException.");
102 fail("Test 1: Constructor failed: " + e.getMessage());
109 fail("Test 2: IOException expected because the input stream is already connected.");
122 fail("Test 1: Unexpected IOException: " + e.getMessage());
132 fail("Test 1: Unexpected exception when connecting: " +
139 fail("Test 2: Unexpected IOException when writing after connecting.");
144 fail("Test 3: IOException expected when reconnecting the stream.");
151 fail("Test 4: NullPointerException expected.");
173 fail("Test 1: IOException expected.");
182 fail("Tes
[all...]
H A DOldPushbackInputStreamTest.java45 fail("Failed to throw exception on unread when buffer full");
52 fail("Test 1: IllegalArgumentException expected.");
58 fail("Test 2: IllegalArgumentException expected.");
66 fail("Test 3: IOException expected when the unread buffer is full.");
82 fail("IOException not thrown.");
96 fail("IOException not thrown.");
115 fail("Test 2: IOException expected.");
135 fail("IOException not thrown.");
148 fail("IndexOutOfBoundsException was not thrown");
154 fail("IndexOutOfBoundsExceptio
[all...]
H A DOldPushbackReaderTest.java43 fail("Created reader with buffer larger than 1");;
67 fail("IOException not thrown.");
74 fail("IOException not thrown.");
93 fail("IOException not thrown.");
118 fail("IOException not thrown.");
138 fail("IOException not thrown.");
154 fail("IOException during read test : " + e.getMessage());
169 fail("should throw NullPointerException");
176 fail("should throw IndexOutOfBoundsException");
183 fail("shoul
[all...]
H A DOldStringReaderTest.java33 fail("IllegalArgumentException not thrown!");
43 fail("IndexOutOfBoundsException was not thrown");
49 fail("IndexOutOfBoundsException was not thrown");
55 fail("IndexOutOfBoundsException was not thrown");
/libcore/luni/src/test/java/libcore/java/net/
H A DOldURITest.java96 fail("Failed to construct URI for: " + s + " : " + e);
103 fail("IllegalArgumentException expected but not received.");
113 fail("NullPointerException was not thrown.");
122 fail("NullPointerException was not thrown.");
131 fail("NullPointerException was not thrown.");
138 fail("IllegalArgumentException was not thrown.");
146 fail("NullPointerException was not thrown.");
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
H A DDESKeySpecTest.java109 fail("Should raise an NullPointerException "
113 fail("Should raise an NullPointerException "
118 fail("Should raise an InvalidKeyException on a short byte array.");
120 fail("Unexpected NullPointerException was thrown.");
126 fail("Unexpected NullPointerException was thrown.");
128 fail("Unexpected InvalidKeyException was thrown.");
132 fail("Should raise an NullPointerException "
136 fail("Should raise an NullPointerException "
141 fail("Should raise an InvalidKeyException on a short byte array.");
143 fail("Unexpecte
[all...]
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldRuntimeTest.java50 fail("IllegalStateException was not thrown.");
60 fail(t.getMessage());
65 fail("IllegalArgumentException was not thrown.");
102 fail("NullPointerException should be thrown.");
104 fail("IOException was thrown.");
124 fail("IllegalArgumentException should be thrown.");
128 fail("IOException was thrown.");
140 fail("NullPointerException should be thrown.");
142 fail("IOException was thrown.");
149 fail("NullPointerExceptio
[all...]
H A DOldObjectTest.java55 fail("CloneNotSupportedException was thrown.");
61 fail("CloneNotSupportedException was not thrown.");
91 fail("IllegalMonitorStateException was not thrown.");
101 fail("IllegalMonitorStateException was not thrown.");
112 fail("IllegalMonitorStateException was not thrown.");
116 fail("InterruptedException was thrown.");
129 fail("InterruptedException was thrown.");
178 fail("IllegalMonitorStateException was not thrown.");
182 fail("InterruptedException was thrown.");
195 fail("InterruptedExceptio
[all...]
H A DOldStringTest.java47 fail("IndexOutOfBoundsException was not thrown.");
54 fail("IndexOutOfBoundsException was not thrown.");
61 fail("IndexOutOfBoundsException was not thrown.");
73 fail("NullPointerException is not thrown.");
95 fail("Expected IndexOutOfBoundsException");
102 fail("IndexOutOfBoundsException was not thrown.");
109 fail("IndexOutOfBoundsException was not thrown.");
117 fail("Expected IndexOutOfBoundsException");
124 fail("IndexOutOfBoundsException was not thrown.");
131 fail("IndexOutOfBoundsExceptio
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
H A DCheckedOutputStreamTest.java43 fail("Unable to find file");
45 fail(
76 fail("Unable to find file");
78 fail(
102 fail("Unable to find file");
104 fail("File cannot be opened for writing due to security reasons");
132 fail("Unable to find file");
134 fail(
137 fail("Index for write is out of bounds");
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
H A DAbstractPreferencesTest.java109 fail("should throw IllegalArgumentException");
114 fail("should throw IllegalArgumentException");
119 fail("should throw IllegalArgumentException");
124 fail("should throw IllegalArgumentException");
129 fail("should throw NullPointerException");
223 fail("should throw NullPointerException");
236 fail("should throw IllegalStateException");
241 fail("should throw NullPointerException");
249 fail("should throw NullPointerException");
262 fail("shoul
[all...]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DAlgorithmParameterGenerator1Test.java71 fail(validAlgName + " algorithm is not supported");
99 fail("NullPointerException or NoSuchAlgorithmException should be thrown");
106 fail("NoSuchAlgorithmException should be thrown");
120 fail(validAlgName + " algorithm is not supported");
139 fail(validAlgName + " algorithm is not supported");
146 fail("IllegalArgumentException must be thrown when provider is null");
151 fail("IllegalArgumentException must be thrown when provider is empty");
166 fail(validAlgName + " algorithm is not supported");
174 fail("NoSuchProviderException must be thrown (provider: "
192 fail(validAlgNam
[all...]
H A DKeyPairGenerator1Test.java78 fail(NotSupportMsg);
102 fail("NullPointerException or NoSuchAlgorithmException must be thrown when algorithm is null");
109 fail("NoSuchAlgorithmException must be thrown when algorithm is not available: "
122 fail(NotSupportMsg);
141 fail(NotSupportMsg);
148 fail("IllegalArgumentException must be thrown when provider is null");
153 fail("IllegalArgumentException must be thrown when provider is empty");
168 fail(NotSupportMsg);
175 fail("NoSuchProviderException must be thrown (algorithm: "
195 fail(NotSupportMs
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DBufferedOutputStreamTest.java59 fail("should throw NullPointerException");
65 fail("should throw NullPointerException");
73 fail("should throw NullPointerException");
79 fail("should throw NullPointerException");
86 fail("should throw IllegalArgumentException");
92 fail("should throw IllegalArgumentException");
172 fail("should throw NullPointerException");
179 fail("should throw NullPointerException");
186 fail("should throw NullPointerException");
193 fail("shoul
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DStringTokenizerTest.java32 fail("NullPointerException is not thrown.");
52 fail("NullPointerException expected");
75 fail("NullPointerException expected");
144 fail(
170 fail(
199 fail("NoSuchElementException expected");
206 fail("NullPointerException expected");
217 fail("should throw NullPointerException");
225 fail("should throw NullPointerException");
236 fail("shoul
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DSSLContextSpiTest.java47 fail("Unexpected exception " + e.toString());
59 fail("RuntimeException wasn't thrown");
63 fail("Incorrect exception message: " + str);
65 fail("Incorrect exception " + e + " was thrown");
78 fail("RuntimeException wasn't thrown");
82 fail("Incorrect exception message: " + str);
84 fail("Incorrect exception " + e + " was thrown");
90 fail("IllegalArgumentException wasn't thrown");
109 fail("RuntimeException wasn't thrown");
113 fail("Incorrec
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/
H A DSubjectTest.java53 fail("Unexpected exception: " + e);
63 fail();
69 fail();
75 fail();
91 fail("Unexpected exception: " + e);
97 fail("Unexpected exception: " + e);
102 fail("NullPointerException wasn't thrown");
118 fail("Unexpected exception: " + e);
124 fail("Unexpected exception: " + e);
129 fail("NullPointerExceptio
[all...]
/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DMissingClassesTest.java41 fail();
49 fail();
57 fail();
65 fail();
/libcore/luni/src/test/java/libcore/java/math/
H A DOldBigIntegerConstructorsTest.java67 fail("NumberFormatException has not been caught");
78 fail("NumberFormatException has not been caught");
89 fail("NumberFormatException has not been caught");
100 fail("NumberFormatException has not been caught");

Completed in 933 milliseconds

1234567891011>>