Home
last modified time | relevance | path

Searched refs:fail (Results 1 – 25 of 67) sorted by relevance

123

/packages/apps/Email/tests/src/com/android/email/
DTestUtils.java68 fail("Expected throwable not thrown."); in expectThrowable()
73 fail("Cought unexpected throwable " + th.getClass().getName()); in expectThrowable()
84 fail(); in testExpectThrowable()
95 fail(); in testExpectThrowable()
128 fail(message + ": Timeout"); in waitUntil()
DSingleRunningTaskTest.java146 fail("Didn't throw exception"); in testException()
/packages/providers/DownloadProvider/tests/permission/src/com/android/providers/downloads/permission/tests/
DDownloadProviderPermissionsTest.java59 fail("Was able to create and write to " + filePath); in testAccessCacheFilesystem()
80 fail("write to provider did not throw SecurityException as expected."); in testWriteDownloadProvider()
98 fail("starting download service did not throw SecurityException as expected."); in testStartDownloadService()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/common/
DUtilsTest.java122 fail(); in testAssert()
137 fail(); in testCheckNotNull()
167 fail(); in testNextPowerOf2()
199 fail(); in assertFloatEq()
DBlobCacheTest.java633 if (data.length > MAX_BYTES - 4 - 20) fail();
635 if (data.length <= MAX_BYTES - 4 - 20) fail();
725 if (data1 == null || data2 == null) fail();
726 if (data1.length != data2.length) fail();
728 if (data1[i] != data2[i]) fail();
733 if (data1 == null || data2 == null) fail();
735 if (data1[i] != data2[i]) fail();
/packages/apps/Email/tests/src/com/android/email/mail/store/
DPop3StoreUnitTests.java220 fail("MessagingException was expected due to UIDL unsupported."); in testCheckSettings()
242 fail("Should have thrown exception"); in testCheckSettingsCapabilities()
315 fail("Exception not thrown by copyMessages()"); in testSmallFolderFunctions()
407 fail("Broken stream should cause getMessages() to throw."); in testCatchClosed1a()
449 fail("Bad UIDL should cause getMessages() to throw."); in testCatchClosed1b()
492 fail("Bad UIDL should cause getMessages() to throw."); in testCatchClosed1c()
543 fail("Broken stream should cause fetch() to throw."); in testCatchClosed2()
591 fail("Broken stream should cause fetch() to throw."); in testCatchClosed2a()
649 fail("Broken stream should cause fetch() to throw."); in testCatchClosed3()
696 fail("Broken stream should cause fetch() to throw."); in testCatchClosed4()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DEvenMoreAsserts.java52 Assert.fail(appendUserMessage("Exception " + exception + " expected but " + in assertThrows()
57 Assert.fail(appendUserMessage( in assertThrows()
96 Assert.fail(failReason + ", expected dimentions=" + getImageDimensions(expected) + in assertImageRawData()
DVoicemailProviderTest.java273 fail(e.getMessage()); in checkHasReadAccessToUri()
275 fail(e.getMessage()); in checkHasReadAccessToUri()
295 fail(e.getMessage()); in checkHasNoReadAccessToUri()
320 fail(e.getMessage()); in checkHasNoWriteAccessToUri()
330 fail(e.getMessage()); in checkHasNoWriteAccessToUri()
510 fail("Unexpected exception " + e); in testStatusFileOperation()
521 fail("Unexpected exception " + e); in testStatusFileOperation()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
DGLCanvasTest.java47 fail(); in testSetSize()
129 fail(); in testSetGetMultiplyAlpha()
136 fail(); in testSetGetMultiplyAlpha()
384 fail(); in assertMatrixEq()
391 fail(); in assertFloatEq()
DGLViewTest.java49 fail(); in testComponents()
65 fail(); in testComponents()
71 fail(); in testComponents()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DEditDistanceTests.java96 fail("IllegalArgumentException should be thrown."); in testNullArg()
102 fail("IllegalArgumentException should be thrown."); in testNullArg()
DInputTestsBase.java160 fail("LatinIME is not found"); in initSubtypeMap()
256 fail("InputMethodSubtype for locale " + locale + " is not enabled"); in changeLanguage()
/packages/apps/Camera/tests/src/com/android/camera/stress/
DCameraStartUp.java61 fail("Fails to get the output file"); in launchCamera()
85 fail("Fails to launch video output file"); in launchVideo()
110 fail("Camera write output to file"); in writeToOutputFile()
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/
DCameraStartUp.java62 fail("Fails to get the output file"); in launchCamera()
86 fail("Fails to launch video output file"); in launchVideo()
111 fail("Camera write output to file"); in writeToOutputFile()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/
DMockContentProvider.java264 Assert.fail("Unexpected query: " in query()
272 Assert.fail("Incorrect query.\n Expected: " + sb + "\n Actual: " + in query()
286 Assert.fail("Unexpected getType query: " + uri); in getType()
294 Assert.fail("Unknown mime type for: " + uri); in getType()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DMockTransport.java161 Assert.fail("Invalid action for sendResponse: " + pair.mAction); in sendResponse()
248 SmtpSenderUnitTests.fail("setPort() not implemented"); in setPort()
253 SmtpSenderUnitTests.fail("getPort() not implemented"); in getPort()
DDiscourseLoggerTest.java134 fail("Invalid argument. Test broken."); in checkDiscourseStore()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DTestLoaderManager.java140 Assert.fail("Loader does not exist: " + loaderId); in waitForLoaders()
166 Assert.fail("Exception while waiting for loader: " + loader.getId()); in waitForLoaders()
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
DImapResponseParserTest.java56 fail(); in testExpect()
355 fail("Didn't throw Exception: response='" + response + "'"); in expectMessagingException()
391 fail("Didn't throw ByeException"); in testByeReceived()
DImapTestUtils.java62 Assert.fail(String.format("%s expected=%s\nactual=%s", message, expected, actual)); in assertElement()
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
DMockProviderTests.java136 fail("Wrong record: " + name); in testInsertQueryandDelete()
185 fail("Wrong record: " + name); in testUpdate()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
DMockProviderTests.java136 fail("Wrong record: " + name); in testInsertQueryandDelete()
185 fail("Wrong record: " + name); in testUpdate()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainServiceTest.java219 fail(); in test_KeyChainService()
225 fail(); in test_KeyChainService()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/anim/
DAnimationTest.java77 fail(); in assertFloatEq()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DICalendarTest.java226 fail("expected exception not thrown"); in testParseEventDoesNotStartWithBegin()
239 fail("expected exception not thrown"); in testParseCalendarDoesNotStartWithBegin()

123