Home
last modified time | relevance | path

Searched refs:expectation (Results 1 – 11 of 11) 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/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/autofillservice/src/android/autofillservice/cts/
DSimpleSaveActivity.java115 final FillExpectation expectation = new FillExpectation(input, null); in expectAutoFill() local
116 mInput.addTextChangedListener(expectation.mInputWatcher); in expectAutoFill()
117 return expectation; in expectAutoFill()
121 final FillExpectation expectation = new FillExpectation(input, password); in expectAutoFill() local
122 mInput.addTextChangedListener(expectation.mInputWatcher); in expectAutoFill()
123 mPassword.addTextChangedListener(expectation.mPasswordWatcher); in expectAutoFill()
124 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()
DPreSimpleSaveActivity.java63 final FillExpectation expectation = new FillExpectation(input); in expectAutoFill() local
64 mPreInput.addTextChangedListener(expectation.mInputWatcher); in expectAutoFill()
65 return expectation; in expectAutoFill()
DMutableAutofillIdTest.java138 final FillExpectation expectation = mActivity.expectAutofill() in testDatasetPickerIsNotShownAfterViewIsSwappedOut() local
141 expectation.assertAutoFilled(); in testDatasetPickerIsNotShownAfterViewIsSwappedOut()
DPartitionedActivityTest.java1306 final FillExpectation expectation = mActivity.expectAutofill(); in autofillMultipleDatasetsOverlapping() local
1309 expectation in autofillMultipleDatasetsOverlapping()
1319 expectation in autofillMultipleDatasetsOverlapping()
1333 expectation.assertAutoFilled(); in autofillMultipleDatasetsOverlapping()
2077 final FillExpectation expectation = mActivity.expectAutofill(); in autofillMultipleAuthDatasetsOverlapping() local
2080 expectation in autofillMultipleAuthDatasetsOverlapping()
2090 expectation in autofillMultipleAuthDatasetsOverlapping()
2104 expectation.assertAutoFilled(); in autofillMultipleAuthDatasetsOverlapping()
2310 final FillExpectation expectation = mActivity.expectAutofill() in testNoMorePartitionsAfterLimitReached() local
2313 expectation.assertAutoFilled(); in testNoMorePartitionsAfterLimitReached()
/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()