OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fail
(Results
226 - 250
of
6487
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/check/
Assert.java
123
fail
("null argument expected: " + String.format(errorFormat, args)); //$NON-NLS-1$
138
fail
(message);
170
fail
("null argument: " + message); //$NON-NLS-1$
190
fail
("null argument: " + String.format(errorFormat, args)); //$NON-NLS-1$
205
fail
(message);
211
//
Fail
220
public static void
fail
(String message) {
method in class:Assert
229
public static void
fail
(String errorFormat, Object... args) {
method in class:Assert
264
fail
("assertion failed: " + message); //$NON-NLS-1$
286
fail
("assertion failed: " + String.format(errorFormat, args)); //$NON-NLS-1
304
fail
(errorFormat, args);
method
[
all
...]
/art/test/201-built-in-exception-detail-messages/src/
Main.java
45
private static void
fail
() {
method in class:Main
57
fail
();
method
65
fail
();
method
73
fail
();
method
81
fail
();
method
89
fail
();
method
97
fail
();
method
108
fail
();
method
118
fail
();
method
128
fail
();
method
198
fail
();
method
206
fail
();
method
214
fail
();
method
222
fail
();
method
230
fail
();
method
258
fail
();
method
266
fail
();
method
274
fail
();
method
283
fail
();
method
303
fail
();
method
312
fail
();
method
321
fail
();
method
330
fail
();
method
339
fail
();
method
348
fail
();
method
359
fail
();
method
369
fail
();
method
378
fail
();
method
387
fail
();
method
397
fail
();
method
405
fail
();
method
412
fail
();
method
420
fail
();
method
428
fail
();
method
436
fail
();
method
446
fail
();
method
454
fail
();
method
462
fail
();
method
[
all
...]
/libcore/luni/src/test/java/tests/security/cert/
CertificateFactorySpiTest.java
59
fail
("UnsupportedOperationException must be thrown");
64
fail
("UnsupportedOperationException must be thrown");
70
fail
("UnsupportedOperationException must be thrown");
75
fail
("UnsupportedOperationException must be thrown");
82
fail
("CertificateException must be thrown");
89
fail
("CertificateException must be thrown");
97
fail
("CRLException must be thrown");
105
fail
("CRLException must be thrown");
122
fail
("CertificateException must be thrown");
128
fail
("CertificateException must be thrown")
[
all
...]
/libcore/luni/src/test/java/libcore/java/io/
OldCharArrayReaderTest.java
39
fail
("Exception determining ready state : " + e.getMessage());
49
fail
("Test 1: NullPointerException expected.");
55
fail
("Test 2: IllegalArgumentException expected.");
61
fail
("Test 3: IllegalArgumentException expected.");
67
fail
("Test 4: IllegalArgumentException expected.");
86
fail
("Failed to throw exception on read from closed stream");
108
fail
("Test 2: IOException expected.");
136
fail
("Test 3: IOException expected.");
156
fail
("Test 2: NullPointerException expected.");
163
fail
("Test 3: ArrayIndexOutOfBoundsException expected.")
[
all
...]
OldObjectInputOutputStreamTest.java
46
fail
("Test 2: EOFException expected.");
54
fail
("Test 3: IOException expected.");
70
fail
("Test 2: EOFException expected.");
78
fail
("Test 3: IOException expected.");
94
fail
("Test 2: EOFException expected.");
102
fail
("Test 3: IOException expected.");
118
fail
("Test 2: EOFException expected.");
126
fail
("Test 3: IOException expected.");
142
fail
("Test 2: EOFException expected.");
150
fail
("Test 3: IOException expected.")
[
all
...]
FileOutputStreamTest.java
37
fail
();
method
42
fail
();
method
52
fail
();
method
57
fail
();
method
78
fail
();
method
83
fail
();
method
88
fail
();
method
OldByteArrayOutputStreamTest.java
44
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.");
/cts/tests/tests/database/src/android/database/cts/
ObservableTest.java
29
fail
("registerObserver should throw a IllegalArgumentException here.");
37
fail
("unregisterObserver should throw a IllegalStateException here.");
44
fail
("unregisterObserver should throw a IllegalArgumentException here.");
54
fail
("registerObserver should throw a IllegalStateException here.");
64
fail
("unregisterObserver should throw a IllegalStateException here.");
81
fail
("registerObserver should throw a IllegalStateException here.");
86
fail
("registerObserver should throw a IllegalStateException here.");
/cts/tests/tests/permission/src/android/permission/cts/
ContactsProviderTest.java
40
fail
("query(ContactsContract.Contacts.CONTENT_URI) did not throw SecurityException"
58
fail
("insert(ContactsContract.Contacts.CONTENT_URI) did not throw SecurityException"
76
fail
("query(ContactsContract.Profile.CONTENT_URI) did not throw SecurityException"
96
fail
("insert(ContactsContract.Profile.CONTENT_URI) did not throw SecurityException "
114
fail
("update(ContactsContract.Profile.CONTENT_URI) did not throw SecurityException"
133
fail
("query(ContactsContract.CommonDataKinds.Phone.ENTERPRISE_CONTENT_URI) did not"
151
fail
("query(ContactsContract.RawContactsEntity.CORP_CONTENT_URI) did not throw"
NoSystemFunctionPermissionTest.java
53
fail
("ActivityManager.restartPackage() didn't throw SecurityException as expected.");
73
fail
("AlarmManager.setTimeZone() did not throw SecurityException as expected.");
95
fail
("Context.setWallpaper(BitMap) did not throw SecurityException as expected.");
102
fail
("Context.setWallpaper(InputStream) did not throw SecurityException as expected.");
109
fail
("Context.clearWallpaper() did not throw SecurityException as expected.");
126
fail
("Vibrator.cancel() did not throw SecurityException as expected.");
133
fail
("Vibrator.vibrate(long) did not throw SecurityException as expected.");
142
fail
("Vibrator.vibrate(long[], int) not throw SecurityException as expected.");
163
fail
("SmsManager.sendDataMessage() did not throw SecurityException as expected.");
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DESKeySpecTest.java
110
fail
("Should raise an NullPointerException "
114
fail
("Should raise an NullPointerException "
119
fail
("Should raise an InvalidKeyException on a short byte array.");
121
fail
("Unexpected NullPointerException was thrown.");
127
fail
("Unexpected NullPointerException was thrown.");
129
fail
("Unexpected InvalidKeyException was thrown.");
133
fail
("Should raise an NullPointerException "
137
fail
("Should raise an NullPointerException "
142
fail
("Should raise an InvalidKeyException on a short byte array.");
144
fail
("Unexpected NullPointerException was thrown.")
[
all
...]
/external/mesa3d/src/gallium/auxiliary/tgsi/
tgsi_iterate.c
45
goto
fail
;
54
goto
fail
;
60
goto
fail
;
66
goto
fail
;
72
goto
fail
;
82
goto
fail
;
87
fail
:
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
PmPermissionsTests.java
45
fail
("PackageManager.getPackageSizeInfo" +
60
fail
("PackageManager.deleteApplicationCacheFiles" +
79
fail
("PackageManager.installPackage" +
94
fail
("PackageManager.freeStorage " +
109
fail
("PackageManager.freeStorageAndNotify" +
124
fail
("PackageManager.clearApplicationUserData" +
139
fail
("PackageManager.deletePackage" +
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
WrappedByteBufferTest.java
43
fail
("Should throw Exception"); //$NON-NLS-1$
49
fail
("Should throw Exception"); //$NON-NLS-1$
55
fail
("Should throw Exception"); //$NON-NLS-1$
61
fail
("Should throw Exception"); //$NON-NLS-1$
67
fail
("Should throw Exception"); //$NON-NLS-1$
73
fail
("Should throw Exception"); //$NON-NLS-1$
79
fail
("Should throw Exception"); //$NON-NLS-1$
WrappedDoubleBufferTest.java
42
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$
WrappedFloatBufferTest.java
42
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$
WrappedIntBufferTest.java
42
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$
WrappedLongBufferTest.java
42
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$
WrappedShortBufferTest.java
42
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/net/
OldURITest.java
96
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/
DESKeySpecTest.java
109
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
("Unexpected NullPointerException was thrown.")
[
all
...]
/system/core/libdiskconfig/
diskutils.c
47
goto
fail
;
53
goto
fail
;
58
goto
fail
;
68
goto
fail
;
89
goto
fail
;
99
goto
fail
;
112
fail
:
/external/guava/guava-testlib/test/com/google/common/collect/testing/
MinimalIterableTest.java
41
fail
();
method
46
fail
();
method
59
fail
();
method
64
fail
();
method
76
fail
();
method
81
fail
();
method
94
fail
();
method
100
fail
();
method
105
fail
();
method
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
CheckedOutputStreamTest.java
43
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");
/cts/tests/app/app/src/android/app/stubs/
LocalActivityManagerTestHelper.java
96
fail
();
method
102
fail
();
method
109
fail
();
method
125
fail
();
method
130
fail
();
method
139
fail
();
method
144
fail
();
method
155
fail
();
method
171
fail
();
method
185
fail
();
method
199
fail
();
method
211
fail
();
method
219
fail
();
method
234
fail
();
method
239
fail
();
method
248
fail
();
method
257
fail
();
method
269
fail
();
method
275
fail
();
method
282
fail
();
method
287
fail
();
method
293
fail
();
method
298
fail
();
method
303
fail
();
method
310
fail
();
method
327
fail
();
method
331
private void
fail
() {
method in class:LocalActivityManagerTestHelper
[
all
...]
Completed in 508 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>