Home
last modified time | relevance | path

Searched refs:description (Results 1 – 25 of 94) sorted by relevance

1234

/cts/libs/vogar-expect/src/vogar/
DExpectation.java40 private final String description; field in Expectation
57 …public Expectation(Result result, Pattern pattern, Set<String> tags, String description, long bug)… in Expectation() argument
58 if (result == null || description == null || pattern == null) { in Expectation()
60 "result=" + result + " description=" + description + " pattern=" + pattern); in Expectation()
63 this.description = description; in Expectation()
71 return description; in getDescription()
106 return "Expectation[description=" + description + " pattern=" + pattern.pattern() + "]"; in toString()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DBeforeAfterRule.java28 public Statement apply(Statement base, Description description) { in apply() argument
33 onBefore(base, description); in apply()
37 onAfter(base, description); in apply()
43 protected void onBefore(Statement base, Description description) throws Throwable {
46 protected void onAfter(Statement base, Description description) throws Throwable {
DOnFailureRule.java38 public Statement apply(Statement base, Description description) { in apply() argument
46 Log.e(mLogTag, "Test failed: description=" + description + "\nThrowable=" + t); in apply()
47 onTestFailure(base, description, t); in apply()
54 protected abstract void onTestFailure(Statement base, Description description, Throwable t);
DRequiredFeatureRule.java41 public Statement apply(Statement base, Description description) { in apply() argument
48 + description.getClassName() + "#" + description.getMethodName() in apply()
DWithin.java79 public VerificationMode description(String description) { in description() method in Within
/cts/tools/junit/src/com/android/cts/junit/
DSingleJUnitTestRunListener.java36 public void testRunStarted(Description description) throws Exception { in testRunStarted() argument
47 public void testStarted(Description description) throws Exception { in testStarted() argument
49 description.getClassName(), description.getMethodName())); in testStarted()
53 public void testFinished(Description description) throws Exception { in testFinished() argument
65 public void testIgnored(Description description) throws Exception { in testIgnored() argument
/cts/tests/tests/media/src/android/media/cts/
DMediaItemTest.java33 MediaDescription description = new MediaDescription.Builder() in testBrowsableMediaItem() local
36 MediaItem mediaItem = new MediaItem(description, MediaItem.FLAG_BROWSABLE); in testBrowsableMediaItem()
38 assertEquals(description.toString(), mediaItem.getDescription().toString()); in testBrowsableMediaItem()
50 assertEquals(description.toString(), in testBrowsableMediaItem()
56 MediaDescription description = new MediaDescription.Builder() in testPlayableMediaItem() local
59 MediaItem mediaItem = new MediaItem(description, MediaItem.FLAG_PLAYABLE); in testPlayableMediaItem()
61 assertEquals(description.toString(), mediaItem.getDescription().toString()); in testPlayableMediaItem()
73 assertEquals(description.toString(), in testPlayableMediaItem()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DAccessibilityEventFilterUtils.java53 public void describeTo(Description description) { in describeTo() argument
54 description.appendText("Matching to type " + mType); in describeTo()
72 public void describeTo(Description description) { in describeTo() argument
73 description.appendText("With window change type " + mWindowChanges); in describeTo()
91 public void describeTo(Description description) { in describeTo() argument
92 description.appendText("With window change type " + mContentChanges); in describeTo()
/cts/tests/signature/src/android/signature/cts/
DFailureType.java25 static FailureType mismatch(JDiffClassDescription description) { in mismatch() argument
26 return JDiffClassDescription.JDiffType.INTERFACE.equals(description.getClassType()) in mismatch()
30 static FailureType missing(JDiffClassDescription description) { in missing() argument
31 return JDiffClassDescription.JDiffType.INTERFACE.equals(description.getClassType()) in missing()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DTimeout.java126 public <T> T run(String description, Callable<T> job) throws Exception { in run() argument
127 return run(description, 100, job); in run()
144 public <T> T run(String description, long retryMs, Callable<T> job) throws Exception { in run() argument
145 if (TextUtils.isEmpty(description)) { in run()
164 Log.v(TAG, description + " failed at attempt #" + attempt + "; sleeping for " in run()
170 Log.w(TAG, description + " failed after " + attempt + " attempts and " in run()
172 throw new RetryableException(this, description); in run()
DSafeCleanerRule.java74 public Statement apply(Statement base, Description description) { in apply() argument
110 fail(description, mThrowables.get(0)); in apply() argument
112 fail(description, new MultipleExceptions(mThrowables)); in apply() argument
118 private void fail(Description description, Throwable t) throws Throwable {
120 mDumper.dump(description.getDisplayName(), t);
DRetryRule.java42 public Statement apply(Statement base, Description description) { in apply() argument
47 final String name = description.getDisplayName(); in apply()
/cts/tests/tests/icu/resources/android/icu/cts/expectations/
Dicu-known-failures.txt9 description: "Exclude all tests",
14 description: "Serialized forms have not been converted to use repackaged classes",
19 description: "Fails on host and on device in same way before and after packaging",
24description: "Checks differences in DecimalFormat classes from ICU4J and JDK but on Android java.t…
29 description: "Collation rules data has been removed from ICU4J data on Android",
41 description: "Unknown Language != Unknown language",
/cts/tests/tests/app/src/android/app/cts/
DRemoteActionTest.java40 String description = "description"; in testParcel() local
43 RemoteAction reference = new RemoteAction(icon, title, description, action); in testParcel()
54 assertEquals(description, result.getContentDescription()); in testParcel()
64 String description = "description"; in testClone() local
67 RemoteAction reference = new RemoteAction(icon, title, description, action); in testClone()
75 assertEquals(description, result.getContentDescription()); in testClone()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestActivity.java177 public void testRunStarted(Description description) throws Exception { in testRunStarted() argument
187 public void testStarted(Description description) throws Exception { in testStarted() argument
189 getTestLogger().logTestStart(description.getMethodName()); in testStarted()
192 public void testFinished(Description description) throws Exception { in testFinished() argument
194 getTestLogger().logTestPass(description.getMethodName(), null /* testSummary */); in testFinished()
210 public void testIgnored(Description description) throws Exception { in testIgnored() argument
212 getTestLogger().logTestSkip(description.getMethodName(), description.toString()); in testIgnored()
/cts/tests/tests/drm/src/android/drm/cts/
DDrmSupportInfoTest.java91 private static void checkSetAndGetDescription(String description) throws Exception { in checkSetAndGetDescription() argument
93 info.setDescription(description); in checkSetAndGetDescription()
94 assertEquals(info.getDescriprition(), description); in checkSetAndGetDescription() local
97 private static void checkSetInvalidDescription(String description) throws Exception { in checkSetInvalidDescription() argument
100 info.setDescription(description); in checkSetInvalidDescription()
101 fail("Description '" + description + "' was accepted for DrmSupportInfo"); in checkSetInvalidDescription()
/cts/tests/core/runner/src/com/android/cts/core/runner/
DExpectationBasedFilter.java95 public boolean shouldRun(Description description) { in shouldRun() argument
99 Description testDescription = getTestDescription(description); in shouldRun()
118 private Description getTestDescription(Description description) { in getTestDescription() argument
119 List<Description> children = description.getChildren(); in getTestDescription()
122 return description; in getTestDescription()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/data/
DVideoProvider.java53 String description = "This is description of a movie."; in buildMedia() local
56 Movie movie = buildMovieInfo(category_name, title, description, studio); in buildMedia()
67 String description, in buildMovieInfo() argument
73 movie.setDescription(description); in buildMovieInfo()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DStubGestureAccessibilityService.java26 public boolean doDispatchGesture(GestureDescription description, GestureResultCallback callback, in doDispatchGesture() argument
28 return dispatchGesture(description, callback, handler); in doDispatchGesture()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
DGnssCtsTestActivity.java187 public void testRunStarted(Description description) throws Exception { in testRunStarted() argument
212 public void testStarted(Description description) throws Exception { in testStarted() argument
217 mTextView.append("\n Running test: " + description.getMethodName()); in testStarted()
222 public void testFinished(Description description) throws Exception { in testFinished() argument
225 appendTestDetail("\n Test passed: " + description.getMethodName()); in testFinished()
226 mTestsResults.append("\n Test passed: " + description.getMethodName()); in testFinished()
247 public void testIgnored(Description description) throws Exception { in testIgnored() argument
/cts/tests/jdwp/runner/host-side/src/com/android/compatibility/testtype/
DDalvikTest.java120 @Option(name = "run-name", description = "The name to use when reporting results")
123 @Option(name = "classpath", description = "Holds the paths to search when loading tests")
126 @Option(name = "dalvik-arg", description = "Holds arguments to pass to Dalvik")
130 description = "Holds arguments to pass to Dalvik when " +
135 description = "Holds arguments to pass to Dalvik only when " +
140 description = "Holds arguments to pass to the device-side test runner")
144 description = "The include filters of the test name to run.")
148 description = "The exclude filters of the test name to run.")
152 description="A file containing a list of line separated test classes and optionally"
157 description="A file containing a list of line separated test classes and optionally"
[all …]
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DTracer.java29 public Statement apply(Statement base, Description description) { in apply() argument
33 mName = description.getMethodName(); in apply()
/cts/tests/tests/widget/src/android/widget/cts/util/
DTestUtilsMatchers.java34 public void describeTo(Description description) { in inAscendingOrder() argument
35 description.appendText(mFailedDescription); in inAscendingOrder()
/cts/tests/core/runner/src/com/android/cts/runner/
DCtsTestRunListener.java68 public void testRunStarted(Description description) throws Exception { in testRunStarted() argument
93 public void testStarted(Description description) throws Exception { in testStarted() argument
94 if (description.getTestClass() != lastClass) { in testStarted()
95 lastClass = description.getTestClass(); in testStarted()
96 printMemory(description.getTestClass()); in testStarted()
103 public void testFinished(Description description) { in testFinished() argument
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DInMatcher.java57 public void describeTo(Description description) { in describeTo() argument
58 description.appendText("in(").appendValue(mValues).appendText(")"); in describeTo()

1234