Home
last modified time | relevance | path

Searched refs:expectation (Results 1 – 12 of 12) sorted by relevance

/cts/tools/utils/
DVogarUtils.java55 Expectation expectation = expectationStore.get(fullTestName); in isVogarKnownFailure() local
56 if (expectation.getResult() == Result.SUCCESS) { in isVogarKnownFailure()
60 String description = expectation.getDescription(); in isVogarKnownFailure()
63 return expectation.getResult() != Result.SUCCESS && !foundAbi; in isVogarKnownFailure()
99 public static Set<String> extractSupportedAbis(String architecture, Expectation expectation) { in extractSupportedAbis() argument
101 if (expectation == null || expectation.getDescription().isEmpty()) { in extractSupportedAbis()
107 supportedAbiSet.removeAll(AbiUtils.parseAbiList(expectation.getDescription())); in extractSupportedAbis()
126 Expectation expectation = expectationStore.get(fullTestName); in extractSupportedAbis() local
127 supportedAbiSet.retainAll(extractSupportedAbis(architecture, expectation)); in extractSupportedAbis()
169 public static int timeoutInMinutes(Expectation expectation) { in timeoutInMinutes() argument
[all …]
DDescriptionGenerator.java577 Expectation expectation = expectationStore.get( in getTestMethods() local
580 VogarUtils.extractSupportedAbis(architecture, expectation); in getTestMethods()
581 int timeoutInMinutes = VogarUtils.timeoutInMinutes(expectation); in getTestMethods()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DSimpleSaveActivity.java107 final FillExpectation expectation = new FillExpectation(input, null); in expectAutoFill() local
108 mInput.addTextChangedListener(expectation.mInputWatcher); in expectAutoFill()
109 return expectation; in expectAutoFill()
113 final FillExpectation expectation = new FillExpectation(input, password); in expectAutoFill() local
114 mInput.addTextChangedListener(expectation.mInputWatcher); in expectAutoFill()
115 mPassword.addTextChangedListener(expectation.mPasswordWatcher); in expectAutoFill()
116 return expectation; in expectAutoFill()
DPreSimpleSaveActivity.java63 final FillExpectation expectation = new FillExpectation(input); in expectAutoFill() local
64 mPreInput.addTextChangedListener(expectation.mInputWatcher); in expectAutoFill()
65 return expectation; in expectAutoFill()
DAttachedContextActivity.java58 final FillExpectation expectation = new FillExpectation(input); in expectAutoFill() local
59 mInput.addTextChangedListener(expectation.mInputWatcher); in expectAutoFill()
60 return expectation; in expectAutoFill()
DMutableAutofillIdTest.java123 final FillExpectation expectation = mActivity.expectAutofill() in testDatasetPickerIsNotShownAfterViewIsSwappedOut() local
126 expectation.assertAutoFilled(); in testDatasetPickerIsNotShownAfterViewIsSwappedOut()
DPartitionedActivityTest.java1267 final FillExpectation expectation = mActivity.expectAutofill(); in autofillMultipleDatasetsOverlapping() local
1270 expectation in autofillMultipleDatasetsOverlapping()
1280 expectation in autofillMultipleDatasetsOverlapping()
1294 expectation.assertAutoFilled(); in autofillMultipleDatasetsOverlapping()
2038 final FillExpectation expectation = mActivity.expectAutofill(); in autofillMultipleAuthDatasetsOverlapping() local
2041 expectation in autofillMultipleAuthDatasetsOverlapping()
2051 expectation in autofillMultipleAuthDatasetsOverlapping()
2065 expectation.assertAutoFilled(); in autofillMultipleAuthDatasetsOverlapping()
2271 final FillExpectation expectation = mActivity.expectAutofill() in testNoMorePartitionsAfterLimitReached() local
2274 expectation.assertAutoFilled(); in testNoMorePartitionsAfterLimitReached()
/cts/libs/vogar-expect/src/vogar/
DAnnotatedOutcome.java38 private final Expectation expectation; field in AnnotatedOutcome
47 AnnotatedOutcome(Outcome outcome, Expectation expectation, in AnnotatedOutcome() argument
53 this.expectation = expectation; in AnnotatedOutcome()
70 return outcome.getResultValue(expectation); in getResultValue()
76 previousResultValues.add(previousOutcome.getResultValue(expectation)); in getPreviousResultValues()
100 return tagOutcome == null ? null : tagOutcome.getResultValue(expectation); in getTagResultValue()
DExpectationStore.java107 Expectation expectation = outcomes.get(name); in getByNameOrPackage() local
108 if (expectation != null) { in getByNameOrPackage()
109 return expectation; in getByNameOrPackage()
244 Expectation expectation = new Expectation(result, pattern, tags, description, buganizerBug); in readExpectation() local
247 if (map.put(name, expectation) != null) { in readExpectation()
280 for (Expectation expectation : allExpectations) { in loadBugStatuses()
281 if (expectation.getBug() != -1) { in loadBugStatuses()
282 bugs.add(Long.toString(expectation.getBug())); in loadBugStatuses()
302 for (Expectation expectation : allExpectations) { in loadBugStatuses()
303 if (openBugsSet.contains(expectation.getBug())) { in loadBugStatuses()
[all …]
DOutcome.java136 public ResultValue getResultValue(Expectation expectation) { in getResultValue() argument
138 return expectation.matches(this) ? ResultValue.OK : ResultValue.FAIL; in getResultValue()
/cts/tests/core/runner/src/com/android/cts/core/runner/
DExpectationBasedFilter.java106 Expectation expectation = expectationStore.get(testName); in shouldRun() local
107 if (expectation.getResult() != Result.SUCCESS) { in shouldRun()
109 + " as it matches expectation: " + expectation); in shouldRun()
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/
DExpectationBasedFilter.java106 Expectation expectation = expectationStore.get(testName); in shouldRun() local
107 if (expectation.getResult() != Result.SUCCESS) { in shouldRun()
109 + " as it matches expectation: " + expectation); in shouldRun()