Home
last modified time | relevance | path

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

1234

/cts/tests/core/runner/src/com/android/cts/core/runner/
DDescriptionHierarchyNotifier.java29 private final Description description; field in DescriptionHierarchyNotifier
31 DescriptionHierarchyNotifier(Description description) { in DescriptionHierarchyNotifier() argument
32 this.description = description; in DescriptionHierarchyNotifier()
37 return description; in getDescription()
42 generateListOfTests(notifier, description); in run()
51 private void generateListOfTests(RunNotifier runNotifier, Description description) { in generateListOfTests() argument
52 List<Description> children = description.getChildren(); in generateListOfTests()
54 runNotifier.fireTestStarted(description); in generateListOfTests()
55 runNotifier.fireTestFinished(description); in generateListOfTests()
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/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/tests/expectations/
Dknownfailures.txt3 description: "Disable ListeningPortsTest",
10 description: "some AlarmClockTests are not robust across different device types",
19 description: "the UsageStats is not yet stable enough",
26 description: "the ConnectivityConstraintTest are not yet stable",
33 description: "tests a fragile by nature as they rely on hardcoded behavior",
41 description: "test fails on some devices",
49description: "the SSLCertificateSocketFactoryTest often fails because of lack of live internet or …
59description: "the test result are too much dependent on live-internet connection, which for some d…
66 description: "AudioPolicyBinder tests are not yet robust enough",
73 description: "test not robust",
[all …]
/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/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/icu/resources/android/icu/cts/expectations/
Dicu-known-failures.txt9 description: "Exclude all tests",
14description: "Class cannot be instantiated, cannot find resources android/icu/dev/test/serializabl…
19description: "Cannot find any classes to test because .class files are not treated as resources in…
24 description: "Serialized forms have not been converted to use repackaged classes",
29 description: "android.icu.charset package not available in repackaged Android library",
38 description: "Fails on host and on device in same way before and after packaging",
43 description: "Problem with negative multiplier, not a regression",
48 description: "Wrong case for exponent separator",
53description: "Checks differences in DecimalFormat classes from ICU4J and JDK but on Android java.t…
58 description: "Collation rules data has been removed from ICU4J data on Android",
[all …]
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DCompatibilityTest.java114 description = "the subplan to run",
119 description = "the include module filters to apply.",
124 description = "the exclude module filters to apply.",
130 description = "the test module to run.",
136 description = "the test run.",
141 description = "the arguments to pass to a precondition. The expected format is"
147 description = "the arguments to pass to a module. The expected format is"
153 description = "the arguments to pass to a test. The expected format is"
160 description = "retry a previous session's failed and not executed tests.",
165 description = "used with " + RETRY_OPTION + ", retry tests of a certain status. "
[all …]
/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/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/retry/
DRetryFactoryTest.java61 description = "retry a previous session's failed and not executed tests.",
66 description = "the subplan to run",
71 description = "the include module filters to apply.",
76 description = "the exclude module filters to apply.",
82 description = "the abi to test.",
88 description = "the test module to run.",
94 description = "the test run.",
99 description = "used with " + CompatibilityTest.RETRY_OPTION + ", retry tests"
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/suite/
DCompatibilityTestSuite.java71 description = "the subplan to run",
76 description = "the include module filters to apply.",
81 description = "the exclude module filters to apply.",
87 description = "the test module to run.",
93 description = "the test to run.",
98 description = "the arguments to pass to a module. The expected format is "
104 description = "the arguments to pass to a test. The expected format is "
111 description = "the abi to test.",
116 description = "Whether host architecture check should be skipped")
120 description = "Whether to run tests with only the device primary abi. "
/cts/tests/autofillservice/src/android/autofillservice/cts/
DRequiredFeatureRule.java42 public Statement apply(Statement base, Description description) { in apply() argument
49 + description.getClassName() + "#" + description.getMethodName() in apply()
DUiBot.java294 UiObject2 assertSaveShowing(String description, int... types) { in assertSaveShowing() argument
295 return assertSaveShowing(SaveInfo.NEGATIVE_BUTTON_STYLE_CANCEL, description, in assertSaveShowing()
299 UiObject2 assertSaveShowing(String description, long timeout, int... types) { in assertSaveShowing() argument
300 return assertSaveShowing(SaveInfo.NEGATIVE_BUTTON_STYLE_CANCEL, description, timeout, in assertSaveShowing()
304 UiObject2 assertSaveShowing(int negativeButtonStyle, String description, in assertSaveShowing() argument
306 return assertSaveShowing(negativeButtonStyle, description, SAVE_TIMEOUT_MS, types); in assertSaveShowing()
309 UiObject2 assertSaveShowing(int negativeButtonStyle, String description, long timeout, in assertSaveShowing() argument
345 if (description != null) { in assertSaveShowing()
346 final UiObject2 saveSubTitle = snackbar.findObject(By.text(description)); in assertSaveShowing()
347 assertWithMessage("save subtitle(%s)", description).that(saveSubTitle).isNotNull(); in assertSaveShowing()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DSettingsPreparer.java44 @Option(name = "device-setting", description = "The setting on the device to be checked")
50 description = "If the setting is 'secure', 'global', or 'system'")
53 @Option(name = "set-value", description = "The value to be set for the setting")
56 @Option(name = "expected-values", description = "The set of expected values of the setting")
59 @Option(name = "failure-message", description = "The text printed for an unexpected value")
DPropertyCheck.java32 @Option(name = "property-name", description = "The name of the property to check",
36 @Option(name = "expected-value", description = "The expected value of the property",
41 description = "Whether to throw an error for an unexpected property value")
DResultFilePuller.java40 …@Option(name="clear", description = "Whether to clear the src files and dirs before running the te…
43 @Option(name="src-file", description = "The file to copy to the results dir")
46 @Option(name="src-dir", description = "The directory to copy to the results dir")
49 @Option(name = "dest-dir", description = "The directory under the result to store the files")
DDeviceFileCollector.java38 description = "Whether device info collection should be skipped")
41 @Option(name= "src-file", description = "The file path to copy to the results dir")
44 @Option(name = "dest-file", description = "The destination file path under the result")
/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/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/build/
DCompatibilityBuildProvider.java59 @Option(name="branch", description="build branch name to supply.")
63 description =
67 @Option(name="build-flavor", description="build flavor name to supply.")
70 @Option(name="build-attribute", description="build attributes to supply.")
73 @Option(name="use-device-build-info", description="Bootstrap build info from device")
76 @Option(name="test-tag", description="test tag name to supply.")
80 description = "Specify the url for override config")
85 description = "the test suite plan to run, such as \"everything\" or \"cts\"",
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
DGnssCtsTestActivity.java175 public void testRunStarted(Description description) throws Exception { in testRunStarted() argument
200 public void testStarted(Description description) throws Exception { in testStarted() argument
205 mTextView.append("\n Running test: " + description.getMethodName()); in testStarted()
210 public void testFinished(Description description) throws Exception { in testFinished() argument
213 appendTestDetail("\n Test passed: " + description.getMethodName()); in testFinished()
214 mTestsResults.append("\n Test passed: " + description.getMethodName()); in testFinished()
235 public void testIgnored(Description description) throws Exception { in testIgnored() argument
/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/tests/jdwp/runner/host-side/src/com/android/compatibility/testtype/
DDalvikTest.java117 @Option(name = "run-name", description = "The name to use when reporting results")
120 @Option(name = "classpath", description = "Holds the paths to search when loading tests")
123 @Option(name = "dalvik-arg", description = "Holds arguments to pass to Dalvik")
127 description = "Holds arguments to pass to the device-side test runner")
131 description = "The include filters of the test name to run.")
135 description = "The exclude filters of the test name to run.")
139 description="A file containing a list of line separated test classes and optionally"
144 description="A file containing a list of line separated test classes and optionally"
150 description="The hint about the test's runtime.")
154 description = "Comma-separated list of files specifying known-failures to be skipped")
[all …]
/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/tests/widget/src/android/widget/cts/util/
DTestUtilsMatchers.java34 public void describeTo(Description description) { in inAscendingOrder() argument
35 description.appendText(mFailedDescription); in inAscendingOrder()

1234