Home
last modified time | relevance | path

Searched refs:mDescription (Results 1 – 12 of 12) 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/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-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/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DVersion.java45 private final String mDescription; field in Version
53 mDescription = description; in Version()
100 return mDescription; in getDescription()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/displaycutout/
DDisplayCutoutTestActivity.java37 private View mDescription; field in DisplayCutoutTestActivity
65 mDescription = findViewById(R.id.enable_buttons_desc); in onCreate()
126 lp = (ViewGroup.MarginLayoutParams) mDescription.getLayoutParams(); in updateButtons()
129 mDescription.setLayoutParams(lp); in updateButtons()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DAccessibilityEventFilterUtils.java135 private String mDescription; field in AccessibilityEventFilterUtils.PropertyMatcher
142 mDescription = description; in PropertyMatcher()
153 description.appendText("Matching to " + mDescription + " " + mProperty.toString()); in describeTo()
/cts/tests/tests/nfc/src/android/nfc/cts/
DNfcPreferredPaymentTest.java43 private final static String mDescription = "CTS Nfc Test Service"; field in NfcPreferredPaymentTest
114 description.toString().equals(mDescription.toString())); in testDescriptionForPreferredPaymentService()
/cts/tests/tests/media/src/android/media/cts/
DAdaptivePlaybackTest.java1746 mDescription = title + " on " + stepSurface().getSurface() + " using " +
1756 mDescription = description;
1762 private String mDescription;
1782 public String getDescription() { return mDescription; }