Home
last modified time | relevance | path

Searched refs:AssertionFailedError (Results 1 – 25 of 37) 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()
215 } catch (junit.framework.AssertionFailedError e) { in testStartCancel()
236 } catch (junit.framework.AssertionFailedError e) { in testStartDelayedCancel()
257 } catch (junit.framework.AssertionFailedError e) { in testPlayingCancel()
279 } catch (junit.framework.AssertionFailedError e) { in testPlayingDelayedCancel()
303 } catch (junit.framework.AssertionFailedError e) { in testPlayingDelayedCancelMidDelay()
325 } catch (junit.framework.AssertionFailedError e) { in testStartDoubleCancel()
347 } 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-junit/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/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/base/services/tests/servicestests/src/com/android/server/locksettings/
DMockSyntheticPasswordManager.java24 import junit.framework.AssertionFailedError;
52 throw new AssertionFailedError("Blob was overwritten; protectorKeyAlias=" in decryptSpBlob()
67 throw new AssertionFailedError("Invalid protector secret"); in decryptSpBlob()
70 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/net/ims/tests/src/com/android/ims/
DFeatureConnectionTest.java19 import junit.framework.AssertionFailedError;
120 throw new AssertionFailedError("Exception in testServiceIsReady: " + e); in testServiceIsReady()
135 throw new AssertionFailedError("testServiceIsNotReady: binder isn't alive"); in testServiceIsNotReady()
146 throw new AssertionFailedError("testServiceIsNotReady: status unavailable"); in testServiceIsNotReady()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSimActivationTrackerTest.java29 import junit.framework.AssertionFailedError;
113 throw new AssertionFailedError(); in fail()
115 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/core/tests/utiltests/src/android/util/
DEventLogTest.java29 import junit.framework.AssertionFailedError;
91 throw new AssertionFailedError("Unable to locate marker event"); in createEvent()
/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()
/frameworks/base/test-junit/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.txt135 public class AssertionFailedError extends java.lang.AssertionError {
136 ctor public AssertionFailedError();
137 ctor public AssertionFailedError(String);
140 public class ComparisonFailure extends junit.framework.AssertionFailedError {
183 method public void addFailure(junit.framework.Test, junit.framework.AssertionFailedError);
191 method public void addFailure(junit.framework.Test, junit.framework.AssertionFailedError);
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestUtils.java34 import junit.framework.AssertionFailedError;
168 } catch (AssertionFailedError e) { in checkAssertRestrictions()
DSecurityEventTest.java40 import junit.framework.AssertionFailedError;
186 throw new AssertionFailedError("Unable to locate marker event"); in createEvent()

12