Home
last modified time | relevance | path

Searched refs:expectation (Results 1 – 7 of 7) 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/core/runner/src/com/android/cts/core/runner/
DTestFilter.java92 Expectation expectation = expectationStore.get(testName); in shouldRun() local
93 if (expectation.getResult() != Result.SUCCESS) { in shouldRun()
95 + " as it matches expectation: " + expectation); in shouldRun()
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/
DXmlGenerator.java255 public static void removeUnsupportedAbis(Expectation expectation, Set<String> supportedAbis) { in removeUnsupportedAbis() argument
256 if (expectation == null) { in removeUnsupportedAbis()
260 String description = expectation.getDescription(); in removeUnsupportedAbis()