Home
last modified time | relevance | path

Searched refs:AssertionFailedError (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/animation/
DEventsTest.java90 } catch (junit.framework.AssertionFailedError e) { in run()
120 } catch (junit.framework.AssertionFailedError e) { in run()
143 } catch (junit.framework.AssertionFailedError e) { in run()
166 } catch (junit.framework.AssertionFailedError e) { in run()
286 } catch (junit.framework.AssertionFailedError e) { in testStartCancel()
307 } catch (junit.framework.AssertionFailedError e) { in testStartEnd()
328 } catch (junit.framework.AssertionFailedError e) { in testStartDelayedCancel()
349 } catch (junit.framework.AssertionFailedError e) { in testStartDelayedEnd()
370 } catch (junit.framework.AssertionFailedError e) { in testPlayingCancel()
391 } catch (junit.framework.AssertionFailedError e) { in testPlayingEnd()
[all …]
DViewPropertyAnimatorTest.java88 } catch (junit.framework.AssertionFailedError e) { in run()
211 } catch (junit.framework.AssertionFailedError e) { in testStartCancel()
232 } catch (junit.framework.AssertionFailedError e) { in testStartDelayedCancel()
253 } catch (junit.framework.AssertionFailedError e) { in testPlayingCancel()
275 } catch (junit.framework.AssertionFailedError e) { in testPlayingDelayedCancel()
299 } catch (junit.framework.AssertionFailedError e) { in testPlayingDelayedCancelMidDelay()
321 } catch (junit.framework.AssertionFailedError e) { in testStartDoubleCancel()
343 } catch (junit.framework.AssertionFailedError e) { in testStartDelayedDoubleCancel()
DAnimatorSetEventsTest.java71 } catch (junit.framework.AssertionFailedError e) { in testPlayingCancelDuringChildDelay()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewAssertions.java38 import junit.framework.AssertionFailedError;
118 throw new AssertionFailedError(e.getMessage()); in hasInsertionPointerAtIndex()
121 throw new AssertionFailedError("TextView not found"); in hasInsertionPointerAtIndex()
151 throw new AssertionFailedError("TextView has styled text");
178 throw new AssertionFailedError(e.getMessage());
181 throw new AssertionFailedError("TextView not found");
206 throw new AssertionFailedError("View should be an instance of EditText");
228 throw new AssertionFailedError("Unknown position for cursor assertion");
/frameworks/base/test-runner/src/android/test/
DAssertionFailedError.java25 public class AssertionFailedError extends Error { class
30 public AssertionFailedError() { in AssertionFailedError() method in AssertionFailedError
33 public AssertionFailedError(String errorMessage) { in AssertionFailedError() method in AssertionFailedError
DComparisonFailure.java25 public class ComparisonFailure extends AssertionFailedError {
/frameworks/base/test-base/src/junit/framework/
DAssertionFailedError.java6 public class AssertionFailedError extends AssertionError { class
10 public AssertionFailedError() { in AssertionFailedError() method in AssertionFailedError
13 public AssertionFailedError(String message) { in AssertionFailedError() method in AssertionFailedError
DTestResult.java49 public synchronized void addFailure(Test test, AssertionFailedError t) { in addFailure()
135 catch (AssertionFailedError e) { in runProtected()
DTestListener.java14 public void addFailure(Test test, AssertionFailedError t); in addFailure()
DComparisonFailure.java8 public class ComparisonFailure extends AssertionFailedError {
DTestFailure.java56 return thrownException() instanceof AssertionFailedError; in isFailure()
DAssert.java48 throw new AssertionFailedError(); in fail()
50 throw new AssertionFailedError(message); in fail()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DFakeStorageManager.java25 import junit.framework.AssertionFailedError;
58 throw new AssertionFailedError("More than one secret exists"); in getUserUnlockToken()
69 throw new AssertionFailedError("More than one secret exists"); in unlockUser()
74 throw new AssertionFailedError("Invalid secret to unlock user " + userId); in unlockUser()
DMockSyntheticPasswordManager.java24 import junit.framework.AssertionFailedError;
52 throw new AssertionFailedError("blobKeyName content is overwritten: " + blobKeyName); in decryptSPBlob()
66 throw new AssertionFailedError("Invalid application id"); in decryptSPBlob()
69 throw new AssertionFailedError("No valid auth token"); in decryptSPBlob()
DFakeGateKeeperService.java25 import junit.framework.AssertionFailedError;
132 throw new AssertionFailedError("Got correct but obsolete handle"); in verifyChallenge()
193 throw new AssertionFailedError("Inconsistent SID"); in refreshSid()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardTestUtilsTests.java24 import junit.framework.AssertionFailedError;
46 } catch (AssertionFailedError e) { in testShouldFailAtPropertyNodeVerification()
67 } catch (AssertionFailedError e) { in testShouldFailAtContentValueVerification()
90 } catch (AssertionFailedError e) { in testShouldFailAtLineVerification()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSimActivationTrackerTest.java19 import junit.framework.AssertionFailedError;
114 throw new AssertionFailedError(); in fail()
116 throw new AssertionFailedError(message); in fail()
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorInstrumentationTestRunner.java24 import junit.framework.AssertionFailedError;
72 public void addFailure(Test test, AssertionFailedError e) { in getAndroidTestRunner()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DTestResultInstrumentation.java22 import junit.framework.AssertionFailedError;
58 public void addFailure(Test test, AssertionFailedError t) { in addFailure()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifPatternDrawableTest.java32 import junit.framework.AssertionFailedError;
171 } catch (AssertionFailedError e) { in assertSameColor()
172 throw new AssertionFailedError( in assertSameColor()
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DUnitTestSuiteBuilderTest.java22 import junit.framework.AssertionFailedError;
77 public void addFailure(Test test, AssertionFailedError t) { in addFailure()
DTestSuiteBuilderTest.java29 import junit.framework.AssertionFailedError;
199 public void addFailure(Test test, AssertionFailedError t) {
/frameworks/base/test-runner/src/junit/textui/
DResultPrinter.java10 import junit.framework.AssertionFailedError;
123 public void addFailure(Test test, AssertionFailedError t) { in addFailure()
/frameworks/base/test-base/api/
Dcurrent.txt133 public class AssertionFailedError extends java.lang.AssertionError {
134 ctor public AssertionFailedError();
135 ctor public AssertionFailedError(String);
138 public class ComparisonFailure extends junit.framework.AssertionFailedError {
181 method public void addFailure(junit.framework.Test, junit.framework.AssertionFailedError);
189 method public void addFailure(junit.framework.Test, junit.framework.AssertionFailedError);
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestUtils.java32 import junit.framework.AssertionFailedError;
149 } catch (AssertionFailedError e) { in checkAssertRestrictions()

12