/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/ |
TestJobListener.java | 20 import static org.junit.Assert.fail; 52 fail("Job didn't start. onStart never called."); 58 fail("Job didn't finish. onFinish never called."); 64 fail("Job didn't fail. onFailed never called."); 70 fail("Can't test failed documetns. Job didn't fail."); 81 fail("Can't test failed documetns. Job didn't fail."); 89 fail("Couldn't find failed file: " + name) [all...] |
/art/test/582-checker-bce-length/src/ |
Main.java | 68 int fail = 0; local 72 fail++; 74 expectEquals(1, fail); 83 fail++; 85 expectEquals(1, fail);
|
/cts/tests/tests/permission/src/android/permission/cts/ |
TelephonyManagerPermissionTest.java | 21 import static org.junit.Assert.fail; 71 fail("Got device ID: " + id); 77 fail("Got device ID: " + id); 97 fail("Got line 1 number: " + nmbr); 117 fail("Got SIM serial number: " + nmbr); 137 fail("Got subscriber id: " + sid); 157 fail("Got voicemail number: " + vmnum); 193 fail("Able to set data enabled"); 210 fail("SecurityException expected!"); 215 fail("SecurityException expected!") [all...] |
NoWallpaperPermissionsTest.java | 61 fail("WallpaperManager.setResource(id) did not enforce SET_WALLPAPER"); 66 fail("WallpaperManager.setResource(id, which) did not enforce SET_WALLPAPER"); 83 fail("setBitmap(b) did not enforce SET_WALLPAPER"); 88 fail("setBitmap(b, crop, allowBackup) did not enforce SET_WALLPAPER"); 93 fail("setBitmap(b, crop, allowBackup, which) did not enforce SET_WALLPAPER"); 110 fail("setStream(stream) did not enforce SET_WALLPAPER"); 115 fail("setStream(stream, crop, allowBackup) did not enforce SET_WALLPAPER"); 120 fail("setStream(stream, crop, allowBackup, which) did not enforce SET_WALLPAPER"); 135 fail("clear() did not enforce SET_WALLPAPER"); 140 fail("clear(which) did not enforce SET_WALLPAPER") [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/verify/b2/ |
Test_b2.java | 31 fail("expected a verification exception"); 44 fail("expected a verification exception"); 57 fail("expected a verification exception"); 70 fail("expected a verification exception"); 83 fail("expected a verification exception");
|
/external/guava/guava-tests/test/com/google/common/math/ |
MathPreconditionsTest.java | 36 fail(); method 47 fail(); method 58 fail(); method 65 fail(); method 76 fail(); method 87 fail(); method 94 fail(); method 105 fail(); method 120 fail(); method 131 fail(); method 146 fail(); method 157 fail(); method 172 fail(); method 195 fail(); method 202 fail(); method 225 fail(); method 232 fail(); method 243 fail(); method 254 fail(); method 265 fail(); method [all...] |
/external/ltp/testcases/kernel/syscalls/fork/ |
fork11.c | 55 int fail = 0; local 73 fail++; 75 fail++; 79 if (fail) 80 tst_resm(TFAIL, "fork failed %d times", fail);
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
ListChangeRegistryTest.java | 55 fail("onItemRangeChanged should not be called"); 60 fail("onItemRangeInserted should not be called"); 65 fail("onItemRangeMoved should not be called"); 70 fail("onItemRangeRemoved should not be called"); 87 fail("onChanged should not be called"); 99 fail("onItemRangeInserted should not be called"); 104 fail("onItemRangeMoved should not be called"); 109 fail("onItemRangeRemoved should not be called"); 126 fail("onChanged should not be called"); 131 fail("onItemRangeChanged should not be called") [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
PBEKeySpecTest.java | 48 fail("Unexpected NullPointerException was thrown."); 77 fail("Unexpected IllegalArgumentException was thrown."); 79 fail("Unexpected NullPointerException was thrown."); 84 fail("A NullPointerException should be was thrown " 87 fail("Unexpected IllegalArgumentException was thrown."); 93 fail("An IllegalArgumentException should be thrown " 100 fail("An IllegalArgumentException should be thrown " 107 fail("An IllegalArgumentException should be thrown " 114 fail("An IllegalArgumentException should be thrown " 121 fail("An IllegalArgumentException should be thrown [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldOutputStreamTest.java | 61 fail("Test 1: Unexpected IOException encountered."); 74 fail("Test 2: IOException expected."); 86 fail("Test 1: Unexpected IOException encountered."); 99 fail("Test 2: IOException expected."); 104 fail("Test 3: IndexOutOfBoundsException expected."); 108 fail("Test 3: Unexpected IOException encountered."); 113 fail("Test 4: IndexOutOfBoundsException expected."); 117 fail("Test 4: Unexpected IOException encountered."); 122 fail("Test 5: IndexOutOfBoundsException expected."); 126 fail("Test 5: Unexpected IOException encountered.") [all...] |
OldObjectInputStreamGetFieldTest.java | 104 fail("IllegalArgumentException expected."); 129 fail("IllegalArgumentException expected for not existing name " + 135 fail("IllegalArgumentException expected for not existing name " + 141 fail("IllegalArgumentException expected for not existing name " + 147 fail("IllegalArgumentException expected for not existing name " + 153 fail("IllegalArgumentException expected for not existing name " + 159 fail("IllegalArgumentException expected for not existing name " + 165 fail("IllegalArgumentException expected for not existing name " + 171 fail("IllegalArgumentException expected for not existing name " + 177 fail("IllegalArgumentException expected for not existing name " [all...] |
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...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertStore2Test.java | 49 fail("unexpected exception: " + e); 51 fail("unexpected exception: " + e); 59 fail("unexpected exception: " + e); 61 fail("unexpected exception: " + e); 66 fail("expected NoSuchAlgorithmException"); 68 fail("unexpected exception: " + e); 76 fail("expected InvalidAlgorithmParameterException"); 80 fail("unexpected exception: " + e); 95 fail("unexpected exception: " + e); 97 fail("unexpected exception: " + e) [all...] |
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...] |
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-elf/ |
tls_common.exp | 52 fail "tls_common" 61 fail "tls_common" 73 fail "tls_common" 83 fail "tls_common" 90 fail "tls_common"
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-scripts/ |
sizeof.exp | 31 fail $testname 48 fail $testname 55 fail $testname 62 fail $testname 69 fail $testname
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
fcntl21.c | 75 int fail; variable 116 fail = 1; 143 fail = 1; 179 fail = 1; 185 fail = 1; 191 fail = 1; 198 fail = 1; 204 fail = 1; 214 fail = 1; 241 fail = 1 [all...] |
fcntl19.c | 81 int fail = 0; variable 118 fail = 1; 172 fail = 1; 178 fail = 1; 184 fail = 1; 191 fail = 1; 197 fail = 1; 207 fail = 1; 234 fail = 1; 242 fail = 1 [all...] |
fcntl20.c | 77 int fail = 0; variable 135 fail = 1; 171 fail = 1; 177 fail = 1; 183 fail = 1; 190 fail = 1; 196 fail = 1; 206 fail = 1; 233 fail = 1; 241 fail = 1 [all...] |
/prebuilts/go/darwin-x86/test/ken/ |
cplx2.go | 36 panic("fail") 42 panic("fail") 48 panic("fail") 54 panic("fail") 60 panic("fail") 66 panic("fail") 72 panic("fail") 78 panic("fail") 84 panic("fail") 90 panic("fail") [all...] |
embed.go | 34 panic("fail") 53 panic("fail") 71 panic("fail") 88 panic("fail") 107 panic("fail") 126 panic("fail") 145 panic("fail") 185 panic("fail") 189 panic("fail") 193 panic("fail") [all...] |
/prebuilts/go/linux-x86/test/ken/ |
cplx2.go | 36 panic("fail") 42 panic("fail") 48 panic("fail") 54 panic("fail") 60 panic("fail") 66 panic("fail") 72 panic("fail") 78 panic("fail") 84 panic("fail") 90 panic("fail") [all...] |
embed.go | 34 panic("fail") 53 panic("fail") 71 panic("fail") 88 panic("fail") 107 panic("fail") 126 panic("fail") 145 panic("fail") 185 panic("fail") 189 panic("fail") 193 panic("fail") [all...] |
/art/test/201-built-in-except-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...] |