Searched refs:fail (Results 76 - 100 of 160) sorted by relevance

1234567

/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageHelperTests.java60 fail(errMsg);
/frameworks/base/core/tests/coretests/src/android/net/
H A DLinkPropertiesTest.java159 //fail();
194 fail();
221 fail();
248 fail("Adding wlan0 route to LP with no interface, expect exception");
258 fail("Adding wlan0 route to rmnet0 LP, expect exception");
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
H A DCameraPairwiseTest.java88 fail("Failed to start the looper.");
105 fail("Failed to stop the looper.");
125 fail("Failed to run the command on the looper.");
498 fail("Test case failed");
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DPropertyNodesVerifierElem.java227 TestCase.fail("Expected property " + Arrays.toString(expectedProps.toArray())
265 TestCase.fail("Unexpected property \"" + propName + "\" exists.");
280 TestCase.fail("Unexpected property \"" + propName + "\" exists.");
326 TestCase.fail("Property \"" + propName + "\" has wrong value.\n"
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DTestCaseCollector.java125 fail(message);
/frameworks/base/core/java/android/test/
H A DInstrumentationTestCase.java165 fail("Method \""+fName+"\" not found");
169 fail("Method \""+fName+"\" should be public");
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageManagerIntegrationTest.java187 fail("Timed out waiting for file file to be opened on OBB!");
206 fail("Timed out waiting for file on OBB to be opened...");
/frameworks/base/core/tests/inputmethodtests/src/android/os/
H A DInputMethodTest.java58 fail("Invalid enabled subtype.");
84 fail("Invalid enabled subtype.");
/frameworks/base/core/tests/coretests/src/android/content/
H A DContentProviderOperationTest.java91 fail("the apply should have thrown an OperationApplicationException");
151 fail("newAssert() failed");
170 fail("newAssert() failed");
186 fail("newAssert() failed");
201 fail("we expect the exception to be thrown");
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseCursorTest.java161 fail("CursorIndexOutOfBoundsException expected");
199 fail("CursorIndexOutOfBoundsException expected");
216 fail("CursorIndexOutOfBoundsException expected");
228 fail("CursorIndexOutOfBoundsException expected");
501 fail("unexpected exception: " + e.getMessage());
H A DDatabaseGeneralTest.java405 fail("unexpected exception: " + e.getMessage());
434 fail("expected exception not thrown");
813 "If you see this test fail, it's likely that something about " +
912 fail("unexpected, of course");
1061 fail("unexpected");
1072 fail("unexpected");
1084 fail("unexpected");
1106 fail("unexpected");
1135 fail("unexpected");
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DBroadcastTest.java160 fail("Got too many onReceiveIntent() calls!");
165 fail("Receive out of order: got " + name
534 fail("No exception thrown on second unregister");
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
H A DDownloadManagerBaseTest.java97 fail("No status found for completed download!");
247 fail(timeoutMessage);
364 * we timeout and fail
571 fail("timed out waiting for a non-null query result");
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DDelegateClassAdapterTest.java25 import static org.junit.Assert.fail;
80 fail("Test should have failed to invoke callTheNativeMethod [1]");
82 // This is expected to fail since the native method is not implemented.
110 fail("Test should have failed to invoke callTheNativeMethod [2]");
112 // This is expected to fail since the native method has NOT been
134 * so this should fail with an {@link UnsupportedOperationException}.
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
H A DWifiConnectionTest.java137 fail(errorMsg);
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java158 fail("No status found for completed download!");
373 fail("Byte arrays are not equal.");
539 fail(timeoutMessage);
720 * we timeout and fail
1010 fail("timed out waiting for a non-null query result");
/frameworks/base/core/tests/coretests/src/android/text/
H A DTextUtilsTest.java100 fail();
106 fail();
119 fail();
145 fail();
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DRequestFocusTest.java97 fail("requestFocus from wrong thread should raise exception.");
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListOfItemsTallerThanScreenTest.java136 fail("couldn't get to last item within 20 down arrows");
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DCameraTestHelper.java49 Assert.fail(String.format("Camera error, code: %d", error));
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DCameraTest.java97 fail("initializeMessageLooper: start timeout");
/frameworks/native/cmds/servicemanager/
H A Dbinder.c317 goto fail;
343 goto fail;
348 if (res < 0) goto fail;
351 fail:
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
H A DAppLaunch.java146 fail();
241 // check if account type matches, if not, fail test with message on what account types
250 fail(sb.toString());
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
H A DProcessErrorsTest.java51 * Used to buffer asynchronously-caused crashes and ANRs so that we can have a big fail-party
107 fail(String.format("Got %d errors:\n%s", errSet.size(),
114 * were found. This prevents us from needing to fail unrelated testcases when, for instance
125 fail(String.format("Got %d asynchronous errors:\n%s", mAsyncErrors.size(),
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DGsmAlphabetTest.java194 fail("expected exception");
215 fail("expected exception");

Completed in 787 milliseconds

1234567