/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
H A D | ActivityManagerPermissionTests.java | 43 fail("IActivityManager.moveTaskToFront did not throw SecurityException as" 48 fail("Unexpected remote exception"); 53 fail("IActivityManager.moveTaskToFront did not throw SecurityException as" 58 fail("Unexpected remote exception"); 66 fail("IActivityManager.updateConfiguration did not throw SecurityException as" 71 fail("Unexpected remote exception"); 79 fail("IActivityManager.setDebugApp did not throw SecurityException as" 84 fail("Unexpected remote exception"); 92 fail("IActivityManager.setProcessLimit did not throw SecurityException as" 97 fail("Unexpecte [all...] |
H A D | WindowManagerPermissionTests.java | 47 fail("IWindowManager.setEventDispatching did not throw SecurityException as" 52 fail("Unexpected remote exception"); 57 fail("IWindowManager.addWindowToken did not throw SecurityException as" 62 fail("Unexpected remote exception"); 67 fail("IWindowManager.removeWindowToken did not throw SecurityException as" 72 fail("Unexpected remote exception"); 78 fail("IWindowManager.updateOrientationFromAppTokens did not throw SecurityException as" 83 fail("Unexpected remote exception"); 88 fail("IWindowManager.setFocusedApp did not throw SecurityException as" 93 fail("Unexpecte [all...] |
H A D | 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" +
|
H A D | ServiceManagerPermissionTests.java | 41 fail("ServiceManager.addService did not throw SecurityException as" 68 fail("IServiceManager.setPermissionController did not throw SecurityException as" 73 fail("Unexpected remote exception");
|
H A D | SmsManagerPermissionTest.java | 45 fail("SmsManager.sendTextMessage did not throw SecurityException as expected"); 61 fail("SmsManager.sendDataMessage did not throw SecurityException as expected"); 80 fail("SmsManager.sendMultipartTextMessage did not throw SecurityException as expected");
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/error/ |
H A D | FailingTest.java | 25 fail("Expected"); 29 fail("Expected");
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | PhoneFactoryTest.java | 23 import static org.junit.Assert.fail; 31 fail("Expecting IllegalStateException"); 37 fail("Expecting IllegalStateException"); 43 fail("Expecting IllegalStateException");
|
H A D | PhoneSwitcherTest.java | 46 fail(str + "\n" + SubscriptionMonitorTest.stack()); 217 if (commandsInterfaces[0].isDataAllowed()) fail("data allowed initially"); 218 if (phoneSwitcher.isPhoneActive(0)) fail("phone active initially"); 223 if (commandsInterfaces[0].isDataAllowed()) fail("data allowed after request"); 224 if (phoneSwitcher.isPhoneActive(0)) fail("phone active after request"); 234 fail("pretest of ActivePhoneSwitchCount"); 244 if (threw == false) fail("register with bad phoneId didn't throw"); 252 fail("post register of ActivePhoneSwitchCount not 1!"); 259 fail("after set of default to 0, ActivePhoneSwitchCount not 1!"); 261 if (commandsInterfaces[0].isDataAllowed()) fail("dat [all...] |
H A D | ATResponseParserTest.java | 33 fail("exception expected"); 55 fail("exception expected"); 69 fail("exception expected"); 80 fail("exception expected"); 105 fail("expected ex");
|
H A D | SimActivationTrackerTest.java | 56 fail("Exception in setVoiceActivationState: " + ex); 66 fail("Expect exception in setVoiceActivationState with wrong state: " 85 fail("Exception in setDataActivationState: " + ex); 95 fail("Exception in setDataActivationState: " + ex); 112 static public void fail(String message) { method in class:SimActivationTrackerTest
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/constructor/ |
H A D | ProtectedConstructorTest.java | 30 fail("method in ProtectedConstructorTest run unexpectedly");
|
H A D | NoPublicConstructorTest.java | 33 fail("method in NoPublicConstructorTest run unexpectedly");
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
H A D | 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("onItemRangeChange [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | DozeParametersTest.java | 29 import static junit.framework.Assert.fail; 93 fail("Expected IllegalArgumentException"); 103 fail("Expected IllegalArgumentException"); 113 fail("Expected IllegalArgumentException"); 123 fail("Expected IllegalArgumentException"); 133 fail("Expected IllegalArgumentException"); 143 fail("Expected IllegalArgumentException"); 153 fail("Expected IllegalArgumentException"); 163 fail("Expected IllegalArgumentException"); 173 fail("Expecte [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | LineVerifierElem.java | 58 TestCase.fail("Multiple \"BEGIN:VCARD\" line found"); 65 TestCase.fail("Multiple \"END:VCARD\" line found"); 74 TestCase.fail("Multiple VERSION line + found"); 82 TestCase.fail("Property other than BEGIN came before BEGIN property: " + line); 84 TestCase.fail("Property other than END came after END property: " + line); 91 TestCase.fail("Unexpected line: " + line); 102 TestCase.fail("Expected line(s) not found:" + buffer.toString());
|
H A D | VCardVerifier.java | 108 AndroidTestCase.fail("Already initialized"); 123 AndroidTestCase.fail("Already initialized"); 140 AndroidTestCase.fail("Wrong resId: " + resId); 147 AndroidTestCase.fail("addInputEntry() is called."); 149 AndroidTestCase.fail("InputStream is already set"); 156 AndroidTestCase.fail("Not initialized"); 159 AndroidTestCase.fail("setInputStream is called"); 166 AndroidTestCase.fail("Not initialized"); 193 AndroidTestCase.fail("Not initialized"); 209 AndroidTestCase.fail("No [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | LocalSocketTest.java | 88 fail("expected exception"); 95 fail("expected exception"); 102 fail("expected exception"); 109 fail("expected exception"); 116 fail("expected exception"); 123 fail("expected exception"); 142 fail("expected exception"); 151 fail("expected exception"); 160 fail("expected exception");
|
/frameworks/support/core-utils/tests/java/android/support/v4/content/ |
H A D | MimeTypeFilterTest.java | 119 Assert.fail("Illegal filter, should throw."); 126 Assert.fail("Illegal filter, should throw."); 133 Assert.fail("Illegal filter, should throw."); 140 Assert.fail("Illegal filter, should throw."); 147 Assert.fail("Illegal filter, should throw."); 154 Assert.fail("Illegal filter, should throw."); 161 Assert.fail("Illegal filter, should throw."); 168 Assert.fail("Illegal filter, should throw."); 175 Assert.fail("Illegal filter, should throw."); 182 Assert.fail("Illega [all...] |
H A D | ModernAsyncTaskTest.java | 19 import static org.junit.Assert.fail; 73 fail("Test failure: doInBackground did not run in time."); 78 fail("onCancelled not called!"); 103 fail("onPostExecute should not be called"); 119 fail("Exception not thrown"); 127 fail("onCancelled not called");
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
H A D | ScanSettingsTest.java | 39 fail("should have thrown IllegalArgumentException!"); 48 fail("should have thrown IllegalArgumentException!"); 58 fail("should have thrown IllegalArgumentException!");
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | VariationParserTest.java | 20 import static org.junit.Assert.fail; 42 fail(); 51 fail();
|
/frameworks/base/tests/net/java/com/android/internal/util/ |
H A D | TestUtils.java | 19 import static org.junit.Assert.fail; 51 fail(handler.toString() + " did not become idle after " + timeoutMs + " ms");
|
/frameworks/support/testutils/src/main/java/android/support/testutils/ |
H A D | PollingCheck.java | 58 Assert.fail("unexpected InterruptedException"); 68 Assert.fail("unexpected timeout");
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
H A D | TelephonyNetworkFactoryTest.java | 88 if (dcTrackerMock == null) fail("failed to initialize dct"); 165 fail("pretest of LiveRequests != 0"); 172 fail("post-active test of LiveRequests != 1"); 179 fail("post-second-request test of LiveRequests != 2"); 186 fail("post-inactive test of LiveRequests != 0"); 193 fail("post-mms-add test of LiveRequests != 0"); 200 fail("post-active-mms-add test of LiveRequests != 3"); 207 fail("post-remove-default test of LiveRequests != 2"); 214 fail("test 8, LiveRequests != 0"); 221 fail("tes [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ArrayMapTest.java | 52 fail(); 55 fail(); 73 fail(); 76 fail(); 104 fail();
|