/cts/tools/utils/ |
VogarUtils.java | 17 import vogar.Expectation; 55 Expectation expectation = expectationStore.get(fullTestName); local 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()) 126 Expectation expectation = expectationStore.get(fullTestName); local [all...] |
/external/vogar/src/vogar/ |
AnnotatedOutcome.java | 29 * with, if applicable, and the expectation for this test, so that result value information is 39 private final Expectation expectation; field in class:AnnotatedOutcome 44 AnnotatedOutcome(Outcome outcome, Expectation expectation) { 45 this.expectation = expectation; 62 return outcome.getResultValue(expectation); 68 previousResultValues.add(previousOutcome.getResultValue(expectation));
|
ExpectationStore.java | 45 * <p>If an outcome matches both an outcome expectation and a failure 46 * expectation, the outcome expectation will be returned. 52 private final Map<String, Expectation> outcomes = new LinkedHashMap<String, Expectation>(); 53 private final Map<String, Expectation> failures = new LinkedHashMap<String, Expectation>(); 61 * returns a value for all names, even if no explicit expectation was set. 63 public Expectation get(String name) { 64 Expectation byName = getByNameOrPackage(name) 95 Expectation expectation = outcomes.get(name); local 207 Expectation expectation = local [all...] |
Outcome.java | 136 public ResultValue getResultValue(Expectation expectation) { 138 if (expectation.matches(this)) { 140 } else if (expectation.getIsFromExpectationFile()) { 141 // If the expectation is created from a file, make this a warning, to
|
XmlReportPrinter.java | 104 Expectation expectation = expectationStore.get(outcome); local 105 if (!expectation.matches(outcome)) { 151 Expectation expectation = expectationStore.get(outcome); local 152 if (!expectation.matches(outcome)) {
|
Driver.java | 152 Expectation expectation = run.expectationStore.get(action.getName()); local 153 boolean useLargeTimeout = expectation.getTags().contains("large"); 228 Expectation expectation = run.expectationStore.get(outcome); local 229 ResultValue resultValue = outcome.getResultValue(expectation); 243 run.console.printResult(outcome.getName(), result, resultValue, expectation); local
|
Console.java | 157 String outcomeName, Result result, ResultValue resultValue, Expectation expectation) { 160 if (!expectation.getDescription().isEmpty()) { 161 streamOutput(outcomeName, "\n" + colorString(expectation.getDescription(), Color.COMMENT)); 163 if (expectation.getBug() != -1) { 164 streamOutput(outcomeName, "\n" + colorString("http://b/" + expectation.getBug(), Color.COMMENT));
|
/external/skia/tests/ |
PDFMetadataAttributeTest.cpp | 44 for (const char* expectation : expectations) { 45 size_t len = strlen(expectation); 49 if (0 == memcmp(bytes + i, expectation, len)) { 55 ERRORF(r, "expectation missing: '%s'.", expectation);
|
PDFDocumentTest.cpp | 167 static bool contains(const uint8_t* result, size_t size, const char expectation[]) { 168 size_t len = strlen(expectation); 171 if (0 == memcmp(result + i, expectation, len)) { 201 for (const char* expectation : expectations) { 202 if (!contains(data->bytes(), data->size(), expectation)) { 203 ERRORF(r, "PDFA expectation missing: '%s'.", expectation); 219 for (const char* expectation : moreExpectations) { 220 if (!contains(data->bytes(), data->size(), expectation)) { 221 ERRORF(r, "PDFA expectation missing: '%s'.", expectation) [all...] |
/cts/libs/vogar-expect/src/vogar/ |
AnnotatedOutcome.java | 28 * with, if applicable, and the expectation for this test, so that result value information is 38 private final Expectation expectation; field in class:AnnotatedOutcome 47 AnnotatedOutcome(Outcome outcome, Expectation expectation, 53 this.expectation = expectation; 70 return outcome.getResultValue(expectation); 76 previousResultValues.add(previousOutcome.getResultValue(expectation)); 100 return tagOutcome == null ? null : tagOutcome.getResultValue(expectation); [all...] |
ExpectationStore.java | 51 * <p>If an outcome matches both an outcome expectation and a failure 52 * expectation, the outcome expectation will be returned. 60 /** The expectation of a general successful run. */ 61 private static final Expectation SUCCESS = new Expectation(Result.SUCCESS, MATCH_ALL_PATTERN, 66 private final Map<String, Expectation> outcomes = new LinkedHashMap<String, Expectation>(); 67 private final Map<String, Expectation> failures = new LinkedHashMap<String, Expectation>(); 107 Expectation expectation = outcomes.get(name); local 244 Expectation expectation = new Expectation(result, pattern, tags, description, buganizerBug); local [all...] |
Outcome.java | 136 public ResultValue getResultValue(Expectation expectation) { 138 return expectation.matches(this) ? ResultValue.OK : ResultValue.FAIL;
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
SimpleSaveActivity.java | 67 final FillExpectation expectation = new FillExpectation(input, password); local 68 mInput.addTextChangedListener(expectation.mInputWatcher); 69 mPassword.addTextChangedListener(expectation.mPasswordWatcher); 70 return expectation;
|
AttachedContextActivity.java | 58 final FillExpectation expectation = new FillExpectation(input); local 59 mInput.addTextChangedListener(expectation.mInputWatcher); 60 return expectation;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue176/ |
SingleQuoteTest.java | 39 private void checkQuotes(boolean isBlock, String expectation) { 54 assertEquals(expectation + "\n", output);
|
/cts/tests/core/runner/src/com/android/cts/core/runner/ |
ExpectationBasedFilter.java | 30 import vogar.Expectation; 106 Expectation expectation = expectationStore.get(testName); local 107 if (expectation.getResult() != Result.SUCCESS) { 109 + " as it matches expectation: " + expectation);
|
/external/junit/src/main/java/org/junit/rules/ |
ExpectedException.java | 267 String expectation= StringDescription.toString(matcherBuilder.build()); local 268 return format(missingExceptionMessage, expectation);
|
/external/chromium-libpac/test/js-unittest/ |
bindings.js | 13 function expectEquals(expectation, actual) { 14 if (!(expectation === actual)) { 15 throw "FAIL: expected: " + expectation + ", actual: " + actual;
|
/external/webrtc/webrtc/examples/objc/AppRTCDemo/tests/ |
ARDAppClientTest.mm | 75 ARDTestExpectation *expectation = 77 [_expectations addObject:expectation]; 78 return expectation; 87 NSAssert(NO, @"Expectation timed out."); 97 for (ARDTestExpectation *expectation in _expectations) { 98 if (!expectation.isFulfilled) {
|
/external/skia/bench/ |
check_bench_regressions.py | 21 # Indices for getting elements from bench expectation files. 104 raise Exception('Duplicate expectation entry: ' + str(point_name)) 110 for expectation in open(filename).readlines(): 111 elements = expectation.strip().split(',') 115 raise Exception("Invalid expectation line format: %s" % 116 expectation) 119 raise Exception("Dup entries for bench expectation %s" %
|
/libcore/luni/src/test/java/libcore/java/security/ |
MessageDigestTest.java | 217 for (Map.Entry<String, byte[]> expectation : getExpectations(algorithm).entrySet()) { 218 String inputName = expectation.getKey(); 219 byte[] expected = expectation.getValue();
|
/external/google-breakpad/src/testing/include/gmock/ |
gmock-spec-builders.h | 45 // A user can use the EXPECT_CALL() macro to specify an expectation on 78 // An abstract handle of an expectation. 79 class Expectation; 81 // A set of expectation handles. 94 // Implements an expectation. 97 // Helper class for testing the Expectation class template. 112 // expectation gets picked. Therefore, we sequence all mock function 165 // Returns the expectation that matches the given function arguments 220 // Returns an Expectation object that references and co-owns exp, 221 // which must be an expectation on this mock function [all...] |
/external/googletest/googlemock/include/gmock/ |
gmock-spec-builders.h | 45 // A user can use the EXPECT_CALL() macro to specify an expectation on 82 // An abstract handle of an expectation. 83 class Expectation; 85 // A set of expectation handles. 98 // Implements an expectation. 101 // Helper class for testing the Expectation class template. 116 // expectation gets picked. Therefore, we sequence all mock function 168 // Returns the expectation that matches the given function arguments 223 // Returns an Expectation object that references and co-owns exp, 224 // which must be an expectation on this mock function [all...] |
/external/v8/testing/gmock/include/gmock/ |
gmock-spec-builders.h | 45 // A user can use the EXPECT_CALL() macro to specify an expectation on 82 // An abstract handle of an expectation. 83 class Expectation; 85 // A set of expectation handles. 98 // Implements an expectation. 101 // Helper class for testing the Expectation class template. 116 // expectation gets picked. Therefore, we sequence all mock function 169 // Returns the expectation that matches the given function arguments 224 // Returns an Expectation object that references and co-owns exp, 225 // which must be an expectation on this mock function [all...] |
/compatibility/cdd/8_performance-and-power/ |
8_2_file-io-access-performance.md | 5 to set a proper expectation that would help their software design. Device
|