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

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseStatementTest.java107 fail("shouldn't get here");
119 fail("shouldn't get here");
305 fail("expected exception not thrown");
H A DDatabaseGeneralTest.java411 fail("unexpected exception: " + e.getMessage());
440 fail("expected exception not thrown");
819 "If you see this test fail, it's likely that something about " +
918 fail("unexpected, of course");
1070 fail("Negative slot size should be rejected");
1076 fail("Negative slot count should be rejected");
1113 fail("unexpected");
1124 fail("unexpected");
1136 fail("unexpected");
1158 fail("unexpecte
[all...]
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
H A DImageUtils.java37 import static org.junit.Assert.fail;
50 * Normally, this test will fail when there is a missing thumbnail. However, when
72 fail(message);
191 fail(error);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCarrierKeyDownloadMgrTest.java50 import static org.junit.Assert.fail;
162 fail(LOG_TAG + "exception creating public key");
186 fail(LOG_TAG + "exception creating public key");
H A DGsmCdmaCallTest.java101 fail("Exception " + e + " not expected");
/frameworks/support/core-ui/tests/java/android/support/v4/view/
H A DBaseViewPagerTest.java813 Assert.fail("Position at #" + i + " is " + pagePositionCurr +
820 Assert.fail("Position at #" + i + " is " + pagePositionCurr +
827 Assert.fail("Position offset at #" + i + " is " + positionOffsetCurr +
834 Assert.fail("Position pixel offset at #" + i + " is " + positionOffsetCurr +
852 Assert.fail("Position offset at #" + i + " is " + positionOffsetCurr +
864 Assert.fail("Position offset pixel at #" + i + " is " +
913 Assert.fail("Position at #" + i + " is " + pagePositionCurr +
920 Assert.fail("Position at #" + i + " is " + pagePositionCurr +
927 Assert.fail("Position offset at #" + i + " is " + positionOffsetCurr +
934 Assert.fail("Positio
[all...]
/frameworks/support/transition/tests/src/android/support/transition/
H A DTransitionInflaterTest.java24 import static org.junit.Assert.fail;
195 fail("Default constructor was not expected");
214 fail("default constructor shouldn't be called.");
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DTestCaseCollector.java125 fail(message);
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DMacAuthenticatedInputStreamTest.java113 fail("read too many bytes");
/frameworks/base/core/tests/packagemanagertests/src/android/content/pm/
H A DKernelPackageMappingTests.java23 import static org.junit.Assert.fail;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
H A DCameraPairwiseTest.java82 fail("Failed to start the looper.");
99 fail("Failed to stop the looper.");
119 fail("Failed to run the command on the looper.");
492 fail("Test case failed");
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DPipeManagerTest.java101 fail();
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
H A DSettingsHelperTest.java22 import static junit.framework.Assert.fail;
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
H A DDexoptUtilsTest.java26 import static org.junit.Assert.fail;
396 fail(); // Exception should be caught.
413 fail(); // exception is expected
418 fail(); // exception is expected
/frameworks/base/tests/net/java/android/net/
H A DConnectivityManagerTest.java39 import static org.junit.Assert.fail;
287 // callback is already registered, reregistration should fail.
330 fail();
357 fail("expected exception of type " + throwableType + ", but was " + t.getClass());
359 fail("expected exception of type " + throwableType);
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/
H A DBaseDataBinderTest.java98 fail("Error creating binder: " + sw.toString());
/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/support/compat/tests/java/android/support/v4/testutils/
H A DTestUtils.java35 * this method will call <code>Assert.fail</code> with detailed description of the mismatch.
56 * <code>Assert.fail</code> with detailed description of the mismatch.
87 Assert.fail(mismatchDescription);
/frameworks/support/core-ui/tests/java/android/support/v4/testutils/
H A DTestUtils.java34 * this method will call <code>Assert.fail</code> with detailed description of the mismatch.
55 * <code>Assert.fail</code> with detailed description of the mismatch.
86 Assert.fail(mismatchDescription);
/frameworks/base/tests/net/java/android/net/dhcp/
H A DDhcpPacketTest.java176 fail("Invalid packet parsed successfully: " + offerPacket);
358 fail("Dhcp packet parsing should have failed");
377 fail("Dhcp packet parsing should have failed");
406 fail("Dhcp packet parsing should have failed");
437 fail("Dhcp packet parsing should have failed");
469 fail("Dhcp packet parsing should have failed");
504 fail(String.format("bad truncated packet of length %d", len));
521 fail("bad packet: " + HexDump.toHexString(packet));
820 fail("Packet with invalid dst port did not throw ParseException");
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountManagerServiceTest.java404 fail("IllegalArgumentException expected. But no exception was thrown.");
421 fail("IllegalArgumentException expected. But no exception was thrown.");
700 fail("IllegalArgumentException expected. But no exception was thrown.");
716 fail("IllegalArgumentException expected. But no exception was thrown.");
883 fail("IllegalArgumentException expected. But no exception was thrown.");
899 fail("IllegalArgumentException expected. But no exception was thrown.");
1173 fail("IllegalArgumentException expected. But no exception was thrown.");
1187 fail("IllegalArgumentException expected. But no exception was thrown.");
1201 fail("IllegalArgumentException expected. But no exception was thrown.");
1251 fail("IllegalArgumentExceptio
[all...]
/frameworks/av/include/media/
H A Dconvert.h142 return ss.eof() && !ss.fail() && !ss.bad();
157 return !oss.fail() && !oss.bad();
225 * string streams is bugged and does not fail when giving overflowed values.
/frameworks/av/media/libmedia/include/media/
H A Dconvert.h142 return ss.eof() && !ss.fail() && !ss.bad();
157 return !oss.fail() && !oss.bad();
225 * string streams is bugged and does not fail when giving overflowed values.
/frameworks/base/core/tests/coretests/src/android/app/
H A DLoaderLifecycleTest.java25 import static org.junit.Assert.fail;
212 fail("A restored fragment on the back stack doesn't have a host, so it should "
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageManagerIntegrationTest.java194 fail("Timed out waiting for file file to be opened on OBB!");
213 fail("Timed out waiting for file on OBB to be opened...");

Completed in 1580 milliseconds

1234567891011>>