OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fail
(Results
201 - 225
of
4776
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
StringTokenizerTest.java
32
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
("should throw NullPointerException")
[
all
...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
SSLContextSpiTest.java
47
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
("Incorrect exception message: " + str)
[
all
...]
/libcore/luni/src/test/java/libcore/io/
StrictLineReaderTest.java
42
fail
("line (\""+line+"\") differs from expected (\""+refLine+"\").");
45
fail
("line reader threw EOFException too early.");
50
fail
("line reader didn't throw the expected EOFException.");
60
fail
("Unexpected IOException " + ioe.toString());
/libcore/luni/src/test/java/libcore/java/io/
OldBufferedWriterTest.java
43
fail
("Test 3: Unexpected IOException.");
50
fail
("Test 1: IllegalArgumentException expected.");
62
fail
("Test 4: Unexpected IOException.");
71
fail
("Test 1: IOException expected.");
80
fail
("Test 3: IOException expected.");
98
fail
("Test 3: IOException expected.");
117
fail
("Test 2: IOException expected.");
140
fail
("Exception during write test");
151
fail
("Test 1: NullPointerException expected.");
158
fail
("Test 2: IndexOutOfBoundsException expected.")
[
all
...]
OldPipedOutputStreamTest.java
91
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
("Test 2: IndexOutOfBoundsException expected.")
[
all
...]
OldPushbackInputStreamTest.java
45
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
("IndexOutOfBoundsException was not thrown")
[
all
...]
OldPushbackReaderTest.java
43
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
("should throw IndexOutOfBoundsException")
[
all
...]
OldStringReaderTest.java
33
fail
("IllegalArgumentException not thrown!");
43
fail
("IndexOutOfBoundsException was not thrown");
49
fail
("IndexOutOfBoundsException was not thrown");
55
fail
("IndexOutOfBoundsException was not thrown");
OldSequenceInputStreamTest.java
39
fail
("IOException not thrown!");
49
fail
("IOException not thrown!");
66
fail
("Test 3: Unexpected IOException.");
72
fail
("Test 4: IOException expected.");
82
// Reading the first byte of the second input stream should
fail
.
85
fail
("Test 5: IOException expected.");
96
fail
("Test 7: Unexpected IOException.");
110
fail
("IOException not thrown!");
126
fail
("IOException not thrown!");
137
fail
("IndexOutOfBoundsException was not thrown")
[
all
...]
/libcore/luni/src/test/java/libcore/java/lang/reflect/
MissingClassesTest.java
41
fail
();
method
49
fail
();
method
57
fail
();
method
65
fail
();
method
/libcore/luni/src/test/java/libcore/java/math/
OldBigIntegerConstructorsTest.java
67
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");
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_frozen.py
14
self.
fail
("import __hello__ failed:" + str(x))
19
self.
fail
("import __phello__ failed:" + str(x))
24
self.
fail
("import __phello__.spam failed:" + str(x))
31
self.
fail
("import __phello__.foo should have failed")
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_frozen.py
14
self.
fail
("import __hello__ failed:" + str(x))
19
self.
fail
("import __phello__ failed:" + str(x))
24
self.
fail
("import __phello__.spam failed:" + str(x))
31
self.
fail
("import __phello__.foo should have failed")
/cts/tests/tests/provider/src/android/provider/cts/
Settings_SecureTest.java
56
fail
("Shouldn't be able to parse this setting's value for later tests.");
72
fail
("SecurityException should have been thrown!");
78
fail
("SettingNotFoundException should have been thrown!");
84
fail
("SettingNotFoundException should have been thrown!");
94
fail
("SecurityException should have been thrown!");
100
fail
("SettingNotFoundException should have been thrown!");
106
fail
("SettingNotFoundException should have been thrown!");
116
fail
("SecurityException should have been thrown!");
122
fail
("SettingNotFoundException should have been thrown!");
128
fail
("SettingNotFoundException should have been thrown!")
[
all
...]
/libcore/luni/src/test/java/libcore/java/lang/
OldRuntimeTest.java
47
fail
("IllegalStateException was not thrown.");
57
fail
(t.getMessage());
62
fail
("IllegalArgumentException was not thrown.");
99
fail
("NullPointerException should be thrown.");
101
fail
("IOException was thrown.");
121
fail
("IllegalArgumentException should be thrown.");
125
fail
("IOException was thrown.");
137
fail
("NullPointerException should be thrown.");
139
fail
("IOException was thrown.");
146
fail
("NullPointerException should be thrown.")
[
all
...]
/libcore/luni/src/test/java/libcore/java/nio/channels/
OldFileChannelTest.java
210
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
("should throw IllegalArgumentException")
1074
fail
();
method
[
all
...]
/libcore/support/src/test/java/tests/security/
AlgorithmParameterAsymmetricHelper.java
48
Assert.
fail
(e.getMessage());
60
Assert.
fail
(e.getMessage());
62
Assert.
fail
(e.getMessage());
68
Assert.
fail
(e.getMessage());
70
Assert.
fail
(e.getMessage());
77
Assert.
fail
(e.getMessage());
79
Assert.
fail
(e.getMessage());
85
Assert.
fail
(e.getMessage());
87
Assert.
fail
(e.getMessage());
94
Assert.
fail
(e.getMessage())
[
all
...]
AlgorithmParameterSymmetricHelper.java
56
Assert.
fail
(e.getMessage());
73
Assert.
fail
(e.getMessage());
75
Assert.
fail
(e.getMessage());
81
Assert.
fail
(e.getMessage());
83
Assert.
fail
(e.getMessage());
90
Assert.
fail
(e.getMessage());
92
Assert.
fail
(e.getMessage());
98
Assert.
fail
(e.getMessage());
100
Assert.
fail
(e.getMessage());
107
Assert.
fail
(e.getMessage())
[
all
...]
/cts/tests/tests/os/src/android/os/cts/
BadParcelableExceptionTest.java
34
fail
("should throw out BadParcelableException");
48
fail
("should throw out BadParcelableException");
ParcelFormatExceptionTest.java
34
fail
("should throw out ParcelFormatException");
48
fail
("should throw out ParcelFormatException");
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
HttpsURLConnectionTest.java
43
fail
("No expected SSLPeerUnverifiedException");
51
fail
("Non null result");
58
fail
("No expected IllegalArgumentException");
67
fail
("No expected IllegalArgumentException");
75
fail
("incorrect DefaultSSLSocketFactory");
83
fail
("incorrect DefaultSSLSocketFactory");
90
fail
("No expected IllegalArgumentException");
99
fail
("No expected IllegalArgumentException");
/external/chromium_org/third_party/mesa/src/src/gallium/targets/dri-swrast/
swrast_drm_api.c
52
goto
fail
;
58
fail
:
/external/clang/test/Preprocessor/
macro_arg_directive.c
11
void
fail
(const char *);
13
({ int result = 0; __VA_ARGS__; if (!result) {
fail
(#__VA_ARGS__); }; result })
/external/genext2fs/
test-mount.sh
16
fail
() {
function
39
/sbin/e2fsck -fn ext2.img ||
fail
41
mount -t ext2 -o ro,loop ext2.img mnt ||
fail
45
fail
59
/sbin/e2fsck -fn ext2.img ||
fail
61
mount -t ext2 -o ro,loop ext2.img mnt ||
fail
62
[ -d mnt/dev ] ||
fail
74
diff fout lsout ||
fail
/external/mesa3d/src/gallium/targets/dri-swrast/
swrast_drm_api.c
52
goto
fail
;
58
fail
:
Completed in 662 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>