Home | History | Annotate | Download | only in utils

Lines Matching defs:expectation

17 import vogar.Expectation;
55 Expectation expectation = expectationStore.get(fullTestName);
56 if (expectation.getResult() == Result.SUCCESS) {
60 String description = expectation.getDescription();
63 return expectation.getResult() != Result.SUCCESS && !foundAbi;
97 * @return The Set of supported abis parsed from the {@code expectation}'s description.
99 public static Set<String> extractSupportedAbis(String architecture, Expectation expectation) {
101 if (expectation == null || expectation.getDescription().isEmpty()) {
107 supportedAbiSet.removeAll(AbiUtils.parseAbiList(expectation.getDescription()));
126 Expectation expectation = expectationStore.get(fullTestName);
127 supportedAbiSet.retainAll(extractSupportedAbis(architecture, expectation));
135 * expectation stores, or 0 if no timeout was found.
151 * Returns the timeout in minutes for the test in the expectation
165 * Returns the timeout in minutes for the expectation. Currently a
169 public static int timeoutInMinutes(Expectation expectation) {
170 return expectation.getTags().contains("large") ? 60 : 0;