/cts/common/device-side/nativetesthelper/src/com/android/gtestrunner/ |
D | GtestRunner.java | 40 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/tests/src/com/android/compatibility/common/util/ |
D | SafeCleanerRuleTest.java | 55 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 …]
|
D | RetryRuleTest.java | 37 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()
|
D | StateChangerRuleTest.java | 42 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()
|
D | StateKeeperRuleTest.java | 42 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-axt/tests/src/com/android/compatibility/common/util/ |
D | SafeCleanerRuleTest.java | 55 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 …]
|
D | RetryRuleTest.java | 37 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()
|
D | StateChangerRuleTest.java | 42 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()
|
D | StateKeeperRuleTest.java | 42 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/ |
D | Movie.java | 30 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-axt/src/com/android/cts/core/runner/support/ |
D | TestNgRunner.java | 45 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/src/com/android/cts/core/runner/support/ |
D | TestNgRunner.java | 45 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/ |
D | AccessibilityEventFilterUtils.java | 121 private String mDescription; field in AccessibilityEventFilterUtils.PropertyMatcher 128 mDescription = description; in PropertyMatcher() 139 description.appendText("Matching to " + mDescription + " " + mProperty.toString()); in describeTo()
|
/cts/tools/utils/ |
D | DescriptionGenerator.java | 447 if (caze.mDescription != null && !caze.mDescription.equals("")) { in appendTestCases() 449 .setTextContent(caze.mDescription); in appendTestCases() 638 String mDescription; field in DescriptionGenerator.TestMethod 659 mDescription = description; in TestMethod()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AdaptivePlaybackTest.java | 1701 mDescription = title + " on " + stepSurface().getSurface() + " using " + 1711 mDescription = description; 1717 private String mDescription; 1737 public String getDescription() { return mDescription; }
|