Home
last modified time | relevance | path

Searched refs:mDescription (Results 1 – 15 of 15) sorted by relevance

/cts/common/device-side/nativetesthelper/src/com/android/gtestrunner/
DGtestRunner.java40 private Description mDescription; field in GtestRunner
56 mDescription = Description.createSuiteDescription(testClass); in GtestRunner()
59 nInitialize(testClass.getName(), mDescription); in GtestRunner() local
64 return mDescription; in getDescription()
69 List<Description> children = mDescription.getChildren(); in filter()
70 mDescription = Description.createSuiteDescription(mTargetClass); in filter()
74 mDescription.addChild(testDescription); in filter()
77 if (mDescription.getChildren().isEmpty()) { in filter()
84 for (Description description : mDescription.getChildren()) { in run()
/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/
DRetryRuleTest.java41 private final Description mDescription = Description.createSuiteDescription("Whatever"); field in RetryRuleTest
96 rule.apply(new RetryableStatement<RetryableException>(1, sRetryableException), mDescription) in testPassOnRetryableException()
106 mDescription).evaluate(); in testDoCleanOnRetryableException()
119 mDescription).evaluate()); in testKeepLastStatusWhenFailOnRetryableException()
130 rule.apply(mMockStatement, mDescription).evaluate(); in testNeverCleanWhenStatementPass()
144 () -> rule.apply(mMockStatement, mDescription).evaluate()); in testNeverCleanWhenDisabledAndStatementThrowsRetryableException()
157 rule.apply(new RetryableStatement<RetryableException>(1, exception), mDescription) in testPassOnRetryableExceptionWithTimeout()
170 mDescription).evaluate()); in testFailOnRetryableException()
179 rule.apply(mMockStatement, mDescription).evaluate(); in testPassWhenDisabledAndStatementPass()
191 () -> rule.apply(mMockStatement, mDescription).evaluate()); in testFailWhenDisabledAndStatementThrowsRetryableException()
[all …]
DSafeCleanerRuleTest.java55 private final Description mDescription = Description.createSuiteDescription("Whatever"); field in SafeCleanerRuleTest
70 rule.apply(mGoodGuyStatement, mDescription).evaluate(); in testEmptyRule_testPass()
77 () -> rule.apply(new FailureStatement(mRuntimeException), mDescription).evaluate()); in testEmptyRule_testFails()
85 () -> rule.apply(new FailureStatement(mRuntimeException), mDescription).evaluate()); in testEmptyRule_testFails_withDumper()
96 () -> rule.apply(new FailureStatement(mRuntimeException), mDescription).evaluate()); in testOnlyTestFails()
109 () -> rule.apply(new FailureStatement(mRuntimeException), mDescription).evaluate()); in testOnlyTestFails_withDumper()
124 () -> rule.apply(mGoodGuyStatement, mDescription).evaluate()); in testTestPass_oneRunnerFails()
142 () -> rule.apply(mGoodGuyStatement, mDescription).evaluate()); in testTestPass_oneRunnerFails_withDumper()
158 () -> rule.apply(mGoodGuyStatement, mDescription).evaluate()); in testTestPass_oneExtraExceptionThrownAsCallable()
175 () -> rule.apply(mGoodGuyStatement, mDescription).evaluate()); in testTestPass_oneExtraExceptionThrown()
[all …]
DStateChangerRuleTest.java42 private final Description mDescription = Description.createSuiteDescription("Whatever"); field in StateChangerRuleTest
62 rule.apply(mStatement, mDescription).evaluate(); in testSetAndRestoreOnSuccess()
77 rule.apply(mStatement, mDescription).evaluate(); in testDontSetIfSameValueOnSuccess()
89 rule.apply(mStatement, mDescription).evaluate(); in testSetButDontRestoreIfSameValueOnSuccess()
103 rule.apply(mStatement, mDescription).evaluate(); in testDontSetButRestoreIfValueChangedOnSuccess()
119 () -> rule.apply(mStatement, mDescription).evaluate()); in testSetAndRestoreOnFailure()
136 () -> rule.apply(mStatement, mDescription).evaluate()); in testDontSetIfSameValueOnFailure()
150 () -> rule.apply(mStatement, mDescription).evaluate()); in testSetButDontRestoreIfSameValueOnFailure()
166 () -> rule.apply(mStatement, mDescription).evaluate()); in testDontSetButRestoreIfValueChangedOnFailure()
DStateKeeperRuleTest.java42 private final Description mDescription = Description.createSuiteDescription("Whatever"); field in StateKeeperRuleTest
60 rule.apply(mStatement, mDescription).evaluate(); in testRestoreOnSuccess()
75 () -> rule.apply(mStatement, mDescription).evaluate()); in testRestoreOnFailure()
88 rule.apply(mStatement, mDescription).evaluate(); in testDoNotRestoreWhenNotChanged()
101 () -> rule.apply(mStatement, mDescription).evaluate()); in testDoNotRestoreOnFailure()
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/
DSafeCleanerRuleTest.java55 private final Description mDescription = Description.createSuiteDescription("Whatever"); field in SafeCleanerRuleTest
70 rule.apply(mGoodGuyStatement, mDescription).evaluate(); in testEmptyRule_testPass()
77 () -> rule.apply(new FailureStatement(mRuntimeException), mDescription).evaluate()); in testEmptyRule_testFails()
85 () -> rule.apply(new FailureStatement(mRuntimeException), mDescription).evaluate()); in testEmptyRule_testFails_withDumper()
96 () -> rule.apply(new FailureStatement(mRuntimeException), mDescription).evaluate()); in testOnlyTestFails()
109 () -> rule.apply(new FailureStatement(mRuntimeException), mDescription).evaluate()); in testOnlyTestFails_withDumper()
124 () -> rule.apply(mGoodGuyStatement, mDescription).evaluate()); in testTestPass_oneRunnerFails()
142 () -> rule.apply(mGoodGuyStatement, mDescription).evaluate()); in testTestPass_oneRunnerFails_withDumper()
158 () -> rule.apply(mGoodGuyStatement, mDescription).evaluate()); in testTestPass_oneExtraExceptionThrownAsCallable()
175 () -> rule.apply(mGoodGuyStatement, mDescription).evaluate()); in testTestPass_oneExtraExceptionThrown()
[all …]
DRetryRuleTest.java37 private final Description mDescription = Description.createSuiteDescription("Whatever"); field in RetryRuleTest
76 rule.apply(new RetryableStatement<RetryableException>(1, sRetryableException), mDescription) in testPassOnRetryableException()
86 rule.apply(new RetryableStatement<RetryableException>(1, exception), mDescription) in testPassOnRetryableExceptionWithTimeout()
99 mDescription).evaluate()); in testFailOnRetryableException()
108 rule.apply(mMockStatement, mDescription).evaluate(); in testPassWhenDisabledAndStatementPass()
120 () -> rule.apply(mMockStatement, mDescription).evaluate()); in testFailWhenDisabledAndStatementThrowsRetryableException()
133 () -> rule.apply(mMockStatement, mDescription).evaluate()); in testFailWhenDisabledAndStatementThrowsNonRetryableException()
DStateChangerRuleTest.java42 private final Description mDescription = Description.createSuiteDescription("Whatever"); field in StateChangerRuleTest
62 rule.apply(mStatement, mDescription).evaluate(); in testSetAndRestoreOnSuccess()
77 rule.apply(mStatement, mDescription).evaluate(); in testDontSetIfSameValueOnSuccess()
89 rule.apply(mStatement, mDescription).evaluate(); in testSetButDontRestoreIfSameValueOnSuccess()
103 rule.apply(mStatement, mDescription).evaluate(); in testDontSetButRestoreIfValueChangedOnSuccess()
119 () -> rule.apply(mStatement, mDescription).evaluate()); in testSetAndRestoreOnFailure()
136 () -> rule.apply(mStatement, mDescription).evaluate()); in testDontSetIfSameValueOnFailure()
150 () -> rule.apply(mStatement, mDescription).evaluate()); in testSetButDontRestoreIfSameValueOnFailure()
166 () -> rule.apply(mStatement, mDescription).evaluate()); in testDontSetButRestoreIfValueChangedOnFailure()
DStateKeeperRuleTest.java42 private final Description mDescription = Description.createSuiteDescription("Whatever"); field in StateKeeperRuleTest
60 rule.apply(mStatement, mDescription).evaluate(); in testRestoreOnSuccess()
75 () -> rule.apply(mStatement, mDescription).evaluate()); in testRestoreOnFailure()
88 rule.apply(mStatement, mDescription).evaluate(); in testDoNotRestoreWhenNotChanged()
101 () -> rule.apply(mStatement, mDescription).evaluate()); in testDoNotRestoreOnFailure()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/model/
DMovie.java30 private String mDescription; field in Movie
43 mDescription = data[2]; in Movie()
73 return mDescription; in getDescription()
77 mDescription = description; in setDescription()
105 mDescription, in writeToParcel()
/cts/tests/core/runner/src/com/android/cts/core/runner/support/
DTestNgRunner.java45 private Description mDescription; field in TestNgRunner
55 mDescription = generateTestNgDescription(testClass); in TestNgRunner()
62 return mDescription; in getDescription()
79 mDescription = filterDescription(mDescription, filter); in filter()
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/
DTestNgRunner.java45 private Description mDescription; field in TestNgRunner
55 mDescription = generateTestNgDescription(testClass); in TestNgRunner()
62 return mDescription; in getDescription()
79 mDescription = filterDescription(mDescription, filter); in filter()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DAccessibilityEventFilterUtils.java121 private String mDescription; field in AccessibilityEventFilterUtils.PropertyMatcher
128 mDescription = description; in PropertyMatcher()
139 description.appendText("Matching to " + mDescription + " " + mProperty.toString()); in describeTo()
/cts/tests/tests/nfc/src/android/nfc/cts/
DNfcPreferredPaymentTest.java39 private final static String mDescription = "CTS Nfc Test Service"; field in NfcPreferredPaymentTest
96 description.toString().equals(mDescription.toString())); in testDescriptionForPreferredPaymentService()
/cts/tests/tests/media/src/android/media/cts/
DAdaptivePlaybackTest.java1701 mDescription = title + " on " + stepSurface().getSurface() + " using " +
1711 mDescription = description;
1717 private String mDescription;
1737 public String getDescription() { return mDescription; }