/cts/common/device-side/nativetesthelper/src/com/android/gtestrunner/ |
D | GtestRunner.java | 21 import org.junit.runner.Description; 40 private Description mDescription; 56 mDescription = Description.createSuiteDescription(testClass); in GtestRunner() 63 public Description getDescription() { in getDescription() 69 List<Description> children = mDescription.getChildren(); in filter() 70 mDescription = Description.createSuiteDescription(mTargetClass); in filter() 71 for (Iterator<Description> iter = children.iterator(); iter.hasNext(); ) { in filter() 72 Description testDescription = iter.next(); in filter() 84 for (Description description : mDescription.getChildren()) { in run() 90 private static native void nInitialize(String className, Description description); in nInitialize()
|
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/ |
D | ExpectationBasedFilter.java | 23 import org.junit.runner.Description; 62 private final Predicate<Description> mFilter; 75 public boolean shouldRun(Description description) { in shouldRun() 79 Description testDescription = getTestDescription(description); in shouldRun() 86 private Description getTestDescription(Description description) { in getTestDescription() 87 List<Description> children = description.getChildren(); in getTestDescription() 100 Description child = children.get(0); in getTestDescription()
|
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/ |
D | TestNgRunner.java | 21 import org.junit.runner.Description; 45 private Description mDescription; 61 public Description getDescription() { in getDescription() 103 for (Description child : getDescription().getChildren()) { in run() 160 private static Description filterDescription(Description desc, Filter filter) { in filterDescription() 165 Description newDesc = desc.childlessCopy(); in filterDescription() 173 for (Description child : desc.getChildren()) { in filterDescription() 174 Description filteredChild = filterDescription(child, filter); in filterDescription() 184 private Description generateTestNgDescription(Class<?> cls) { in generateTestNgDescription() 186 Description parent = Description.createSuiteDescription(cls); in generateTestNgDescription() [all …]
|
/cts/libs/input/src/com/android/cts/input/ |
D | InputEventMatchers.kt | 25 import org.hamcrest.Description 32 override fun describeTo(description: Description) { in withCoords() 43 override fun describeTo(description: Description) { in withPointerCount() 56 override fun describeTo(description: Description) { in withCoords() 67 override fun describeTo(description: Description) { in withRawCoords() 76 override fun describeMismatchSafely(event: MotionEvent, mismatchDescription: Description) { in withRawCoords() 82 override fun describeTo(description: Description) { in withMotionAction() 98 override fun describeTo(description: Description) { in withMotionAction() 119 override fun describeTo(description: Description) { in withSource() 129 override fun describeTo(description: Description) { in withDeviceId() [all …]
|
D | DebugInputRule.kt | 24 import org.junit.runner.Description 78 override fun starting(description: Description?) { in starting() 88 override fun failed(e: Throwable?, description: Description?) { in failed() 92 override fun finished(description: Description?) { in finished() 102 override fun skipped(e: AssumptionViolatedException?, description: Description?) { in skipped() 107 private fun shouldEnableInputDebugging(description: Description): Boolean { in shouldEnableInputDebugging()
|
D | FailOnTestThreadRule.kt | 25 import org.junit.runner.Description in <lambda>() 75 override fun failed(e: Throwable?, description: Description?) { in failed() 81 override fun finished(description: Description?) { in finished()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BeforeAfterRule.java | 19 import org.junit.runner.Description; 28 public Statement apply(Statement base, Description description) { in apply() 43 protected void onBefore(Statement base, Description description) throws Throwable { 46 protected void onAfter(Statement base, Description description) throws Throwable {
|
D | StateKeeperRule.java | 22 import org.junit.runner.Description; 50 protected void preEvaluate(@SuppressWarnings("unused") Description description) { in preEvaluate() 56 protected void postEvaluate(@SuppressWarnings("unused") Description description) { in postEvaluate() 60 public Statement apply(Statement base, Description description) { in apply()
|
D | OnFailureRule.java | 21 import org.junit.runner.Description; 38 public Statement apply(Statement base, Description description) { in apply() 54 protected abstract void onTestFailure(Statement base, Description description, Throwable t);
|
D | FreezeRotationRule.java | 24 import org.junit.runner.Description; 42 protected void onBefore(Statement base, Description description) throws Throwable { in onBefore() 47 protected void onAfter(Statement base, Description description) throws Throwable { in onAfter()
|
D | EnableLocationRule.java | 32 import org.junit.runner.Description; 69 protected void onBefore(Statement base, Description description) { in onBefore() 78 protected void onAfter(Statement base, Description description) { in onAfter()
|
/cts/tests/accessibility/common/src/android/accessibility/cts/common/ |
D | AccessibilityDumpOnFailureRule.java | 24 import org.junit.runner.Description; 56 protected void starting(Description description) { in starting() 61 protected void failed(Throwable t, Description description) { in failed() 65 private String getTestNameFrom(Description description) { in getTestNameFrom()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | ScreenshotTestRule.java | 26 import org.junit.runner.Description; 56 public Statement apply(Statement base, Description description) { in apply() 75 private void capture(Description description, String result) { in capture() 86 protected void finished(Description description) { in finished() 92 protected void failed(Throwable throwable, Description description) { in failed()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | RequiredPropertyRule.java | 26 import org.junit.runner.Description; 42 public Statement apply(final Statement base, Description description) { in apply() 64 public Statement apply(final Statement base, final Description description) { 84 public Statement apply(final Statement base, final Description description) { 108 public Statement apply(final Statement base, final Description description) {
|
D | RequiredDeviceTypeRule.java | 26 import org.junit.runner.Description; 40 public Statement apply(final Statement base, Description description) { in apply() 53 public Statement apply(final Statement base, final Description description) { 86 public Statement apply(final Statement base, final Description description) { 123 public Statement apply(final Statement base, final Description description) {
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | BedsteadRunListener.java | 26 import org.junit.runner.Description; 47 public void testRunStarted(Description description) throws Exception { in testRunStarted() 68 private String getTestName(Description description) { in getTestName() 73 public void testStarted(Description description) throws Exception { in testStarted() 84 public void testFinished(Description description) throws Exception { in testFinished() 121 public void testIgnored(Description description) throws Exception { in testIgnored()
|
D | DeviceStateTester.java | 25 import org.junit.runner.Description; 81 Description description = in setup() 82 Description.createTestDescription(this.getClass(), mStepName, in setup() 91 private Statement statement(Description description) { in statement()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | DumpOnFailure.java | 28 import org.junit.runner.Description; 70 public Statement apply(Statement base, Description description) { in apply() 87 private void onTestSetup(@NonNull Description description) { 92 private void onTestTeardown(@NonNull Description description) { 96 private void onTestFailure(@NonNull Description description, @NonNull Throwable t) { 119 private String getFilename(@NonNull Description description, @NonNull String nameAndExtension) { 125 private Path getDumpRoot(@NonNull Description description) {
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/runner/ |
D | TestArtifactCollector.java | 25 import org.junit.runner.Description; 50 void addToBundle(Bundle bundle, Description activeTest) { in addToBundle() 57 private void populateFile(Description activeTest) { in populateFile() 135 public void testStarted(Description description) throws Exception { in testStarted() 147 Description failingTest = failure.getDescription(); in testFailure() 157 public void testFinished(Description description) throws Exception { in testFinished()
|
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/filter/ |
D | CoreTestModeFilter.java | 27 import org.junit.runner.Description; 36 public class CoreTestModeFilter implements Predicate<Description> { 54 public static Predicate<Description> createInstance(Bundle args) { in createInstance() 73 public boolean test(Description description) { in test()
|
/cts/tests/core/runner-axt/src/com/android/cts/runner/ |
D | CrashParserRunListener.java | 21 import org.junit.runner.Description; 35 public void testStarted(Description description) throws Exception { in testStarted()
|
/cts/hostsidetests/utils/src/android/cts/host/utils/ |
D | DeviceJUnit4ClassRunnerWithParameters.java | 35 import org.junit.runner.Description; 96 public Description getDescription() { in getDescription() 97 Description desc = Description.createSuiteDescription(getTestClass().getJavaClass()); in getDescription() 109 Description desc = describeChild(method); in getChildren()
|
/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
D | DumpLoggerRule.java | 24 import org.junit.runner.Description; 35 protected void failed(Throwable e, Description description) { in failed()
|
/cts/hostsidetests/install/src/android/cts/install/host/ |
D | DeviceParameterized.java | 25 import org.junit.runner.Description; 133 public Description getDescription() { in getDescription() 135 Description desc = Description.createSuiteDescription(getTestClass().getJavaClass()); in getDescription()
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/ |
D | Tracer.java | 22 import org.junit.runner.Description; 29 public Statement apply(Statement base, Description description) { in apply()
|