Searched refs:fail (Results 176 - 200 of 290) sorted by relevance

1234567891011>>

/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
H A DPresenterTest.java36 fail("Should have thrown exception");
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
H A DTestUtils.java111 * <code>Assert.fail</code> with detailed description of the mismatch.
142 * <code>Assert.fail</code> with detailed description of the mismatch.
183 Assert.fail(mismatchDescription);
/frameworks/base/core/tests/coretests/src/android/database/
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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DCameraMetadataTest.java125 fail("A null key should throw NPE");
131 fail("A section name only should not be a valid key");
137 fail("A valid section with an invalid tag name should not be a valid key");
143 fail("A namespace name only should not be a valid key");
149 fail("A completely fake key name should not be valid");
169 fail("No type should exist for invalid tag 0xDEADF00D");
302 fail(String.format(
327 fail(String.format(
1330 // NOTE: No function to do input sizes from IMPL_DEFINED, so it would just fail for that
/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/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
H A DSimpleCompilationTest.java41 import static org.junit.Assert.fail;
148 fail("unexpected exception " + exception.getBareMessage());
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DGsmAlphabetTest.java194 fail("expected exception");
215 fail("expected exception");
H A DGsmCdmaPhoneTest.java56 import static org.junit.Assert.fail;
276 fail(e.toString());
295 fail();
586 fail("Unexpected exception: " + e.getStackTrace());
619 fail("Unexpected exception: " + e.getStackTrace());
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DComponentTest.java203 fail("Attempt to get info on disabled component should fail.");
350 fail("Attempt to get info on disabled component should fail.");
460 fail("Attempt to get info on disabled component should fail.");
492 fail("Attempt to get info on disabled component should fail.");
521 fail("Attempt to get info on disabled component should fail
[all...]
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DMtpDocumentsProviderTest.java97 fail();
421 fail();
469 fail();
700 fail();
732 fail();
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
H A DXmlConfigTests.java108 // Check that sockets created without the hostname fail with per-domain configs
114 fail();
363 fail("Bad config " + getContext().getResources().getResourceName(configId)
364 + " did not fail to parse");
463 fail("Bad extra debug resource did not fail to parse");
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DDelegateClassAdapterTest.java25 import static org.junit.Assert.fail;
81 fail("Test should have failed to invoke callTheNativeMethod [1]");
83 // This is expected to fail since the native method is not implemented.
111 fail("Test should have failed to invoke callTheNativeMethod [2]");
113 // This is expected to fail since the native method has NOT been
142 * so this should fail with an {@link UnsupportedOperationException}.
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp559 if (!packet.getString(buffer)) goto fail;
562 if (!readLongValue(type, packet, longValue)) goto fail;
570 fail:
662 if (!packet.getString(buffer)) goto fail;
665 if (!readLongValue(type, packet, longValue)) goto fail;
673 fail:
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
H A DDownloadManagerBaseTest.java313 fail(timeoutMessage);
389 * we timeout and fail
553 fail("timed out waiting for a non-null query result");
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DFileRotatorTest.java196 fail("woah, somehow able to write exception");
435 fail("expected: " + expectedString + " but was: " + actualString);
/frameworks/base/sax/tests/saxtests/src/android/sax/
H A DSafeSaxTest.java121 fail("expected exception not thrown");
139 fail("expected exception not thrown");
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
H A DAppLaunch.java168 fail();
278 // check if account type matches, if not, fail test with message on what account types
287 fail(sb.toString());
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/
H A DVectorDrawableTest.java250 fail((filename + ": totalError is " + totalError));
259 fail((filename + ": totalDiffPixelCount is " + totalDiffPixelCount));
/frameworks/base/core/java/android/printservice/
H A DPrintJob.java136 * @see #fail(String)
152 * @see #fail(String)
180 * @see #fail(String)
280 public boolean fail(@Nullable String error) { method in class:PrintJob
330 * {@link #setStatus(int)}, {@link #block(String)}, or {@link #fail(String)},
349 * {@link #setStatus(int)}, {@link #block(String)}, or {@link #fail(String)},
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
H A DConnectivityManagerMobileTest.java63 fail("Device is not connected to Mobile, setUp failed");
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
H A DWifiClientTest.java109 fail("Sleep timeout " + e);
/frameworks/base/core/tests/coretests/src/android/net/
H A DLinkPropertiesTest.java189 //fail();
222 fail();
243 fail();
274 fail("Adding wlan0 route to LP with no interface, expect exception");
284 fail("Adding wlan0 route to rmnet0 LP, expect exception");
/frameworks/base/core/tests/coretests/src/android/widget/
H A DEditorCursorTest.java221 fail("Problem while waiting for the cursor to blink");
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DRequestRectangleVisibleTest.java190 fail("couldn't move down to bottom button within "
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DBitmapTest.java73 fail("eraseColor should throw exception");

Completed in 1257 milliseconds

1234567891011>>