/external/chromium_org/chrome/test/mini_installer/ |
registry_verifier.py | 13 expectation dictionaries. 15 for key, expectation in entries.iteritems(): 16 VerifyRegistryEntry(key, expectation) 32 def VerifyRegistryEntry(key, expectation): 33 """Verifies a registry key according to the |expectation|. 35 The |expectation| specifies whether or not the registry key should exist 40 expectation: A dictionary with the following keys and values: 51 # Key doesn't exist. See that it matches the expectation. 52 assert not expectation['exists'], 'Registry entry %s is missing' % key 54 # The key exists, see that it matches the expectation [all...] |
/external/chromium_org/tools/telemetry/telemetry/page/ |
test_expectations.py | 13 class Expectation(object): 14 def __init__(self, expectation, url_pattern, conditions=None, bug=None): 15 self.expectation = expectation.lower() 37 raise ValueError('Unknown expectation condition: "%s"' % condition) 53 def _Expect(self, expectation, url_pattern, conditions=None, bug=None): 54 self.expectations.append(Expectation(expectation, url_pattern, conditions, 61 return e.expectation 64 def _ModifiersApply(self, platform, 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 | 49 * <p>If an outcome matches both an outcome expectation and a failure 50 * expectation, the outcome expectation will be returned. 54 private final Map<String, Expectation> outcomes = new LinkedHashMap<String, Expectation>(); 55 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 191 Expectation expectation = new Expectation(result, pattern, tags, description, buganizerBug); local [all...] |
/external/skia/tools/skpdiff/ |
skpdiff_server.py | 249 expectation is different between the following two files: 300 # Store old and new versions of the expectation for each GM 328 for expectation in self._expectations: 331 expectation.device_name + '-' + 332 expectation.image_name) 335 expectation.device_name + '-' + 336 expectation.image_name) 339 expectation.image_name, expectation.device_name)) 342 download_gm_image(expectation.image_name [all...] |
/external/chromium_org/content/browser/media/ |
media_source_browsertest.cc | 19 const char* expectation) { 23 RunMediaTestPage("media_source_player.html", &query_params, expectation,
|
encrypted_media_browsertest.cc | 63 const char* expectation) { 67 media_type, key_system, src_type, expectation); 72 const char* expectation) { 74 media_type, key_system, MSE, expectation); 79 const char* expectation) { 84 key_system, src_type, expectation); 87 void TestConfigChange(const char* key_system, const char* expectation) { 91 RunMediaTestPage("mse_config_change.html", &query_params, expectation, 97 SrcType src_type, const char* expectation) { 104 RunMediaTestPage(html_page, &query_params, expectation, true) [all...] |
/external/chromium_org/media/base/ |
media_file_checker_unittest.cc | 13 static void RunMediaFileChecker(const std::string& filename, bool expectation) { 25 EXPECT_EQ(expectation, result);
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
native_media_file_util_unittest.cc | 211 base::PlatformFileError expectation = local 220 url, base::Bind(&ExpectEqHelper, test_name, expectation)); 223 url, base::Bind(&ExpectEqHelper, test_name, expectation)); 264 base::PlatformFileError expectation = local 270 base::Bind(&ExpectEqHelper, test_name, expectation)); 299 base::PlatformFileError expectation = base::PLATFORM_FILE_OK; local 302 expectation = base::PLATFORM_FILE_ERROR_NOT_FOUND; 305 expectation = base::PLATFORM_FILE_ERROR_INVALID_OPERATION; 308 url, dest_url, base::Bind(&ExpectEqHelper, test_name, expectation)); 345 base::PlatformFileError expectation; local 398 base::PlatformFileError expectation = base::PLATFORM_FILE_OK; local 446 base::PlatformFileError expectation; local 491 base::PlatformFileError expectation = base::PLATFORM_FILE_OK; local [all...] |
/external/chromium_org/chrome/browser/media_galleries/ |
media_galleries_permissions_unittest.cc | 104 std::vector<MediaGalleryPermission>* expectation; member in struct:chrome::MediaGalleriesPermissionsTest::TestData 114 EXPECT_EQ(test_data[i].expectation->size(), actual.size()); 116 permission_entry < test_data[i].expectation->size() && 119 EXPECT_EQ(test_data[i].expectation->at(permission_entry).pref_id, 121 EXPECT_EQ(test_data[i].expectation->at(permission_entry).has_permission,
|
/external/chromium_org/v8/test/preparser/ |
testcfg.py | 45 expects_file = os.path.join(self.root, "preparser.expectation") 62 def Test(name, source, expectation): 66 if expectation: 67 flags += ["throws", expectation] 71 def MkTest(replacement, expectation): 77 Test(testname, testsource, expectation)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/ |
test_expectations.py | 41 # Test expectation and specifier constants. 43 # FIXME: range() starts with 0 which makes if expectation checks harder 153 expectations = [expectation.lower() for expectation in expectation_line.expectations] 162 expectation = TestExpectations.expectation_from_string(part) 163 if expectation is None: # Careful, PASS is currently 0. 164 expectation_line.warnings.append('Unsupported expectation: %s' % part) 166 result.add(expectation) 241 The new format for a test expectation line is: 322 warnings.append('Unrecognized expectation "%s"' % token [all...] |
test_expectations_unittest.py | 372 self.assert_tokenize_exp('foo.html [ Audio ]', warnings=['Unrecognized expectation "Audio"']) [all...] |
test_run_results.py | 59 for expectation in test_expectations.TestExpectations.EXPECTATIONS.values(): 60 self.tests_by_expectation[expectation] = set() 113 # TestFailure type and test_expectations.EXPECTATION. 153 for expectation in initial_results.tests_by_expectation: 154 tests = initial_results.tests_by_expectation[expectation] 155 if expectation != test_expectations.WONTFIX: 157 num_failures_by_type[keywords[expectation]] = len(tests)
|
/external/chromium_org/content/browser/gpu/ |
webgl_conformance_test.cc | 63 int32 expectation = local 65 if (expectation != gpu::GPUTestExpectationsParser::kGpuTestPass) {
|
/external/chromium/net/data/proxy_resolver_v8_unittest/ |
bindings.js | 13 function expectEquals(expectation, actual) { 14 if (!(expectation === actual)) { 15 throw "FAIL: expected: " + expectation + ", actual: " + actual;
|
/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/chromium_org/net/data/proxy_resolver_v8_unittest/ |
bindings.js | 13 function expectEquals(expectation, actual) { 14 if (!(expectation === actual)) { 15 throw "FAIL: expected: " + expectation + ", actual: " + actual;
|
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/ |
aggregate_results.js | 158 for (var expectation in values) 159 maxValue = Math.max(maxValue, Math.max.apply(null, filteredValues(values[expectation], desiredNumberOfPoints))); 165 for (var expectation in values) { 166 if (expectation == 'WONTFIX' || isAllZeros(values[expectation])) 168 chartData += (chartData ? ',' : 'e:') + extendedEncode(filteredValues(values[expectation], desiredNumberOfPoints).reverse(), maxValue); 170 if (expectation) { 172 labels += (labels ? '|' : '') + expectation; 231 for (var expectation in values) 232 html += htmlForTableRow(expectation, values[expectation]) [all...] |
/external/v8/test/preparser/ |
testcfg.py | 82 expects_file = join(self.root, 'preparser.expectation') 101 def Test(name, source, expectation): 103 if (expectation is not None): 104 throws = [expectation] 112 def MkTest(replacement, expectation): 118 Test(testname, testsource, expectation)
|
/external/chromium/net/proxy/ |
proxy_config_unittest.cc | 13 void ExpectProxyServerEquals(const char* expectation, 15 if (expectation == NULL) { 18 EXPECT_EQ(expectation, proxy_server.ToURI());
|
/libcore/luni/src/test/java/libcore/java/security/ |
MessageDigestTest.java | 195 for (Map.Entry<String, byte[]> expectation : getExpectations(algorithm).entrySet()) { 196 String inputName = expectation.getKey(); 197 byte[] expected = expectation.getValue();
|
/external/android-mock/src/com/google/android/testing/mocking/ |
AndroidMock.java | 57 * The various expectation methods such as {@link #eq(boolean)}, {@link #and(boolean, boolean)}, 58 * and {@link #leq(byte)} all have nonsense return values. Each of the expectation methods may only 65 * Similarly, the complex expectation methods ({@code #and}, {@code #or}, and {@code not}) take 67 * other than an expectation method is provided. E.g. {@code mockObject.doFoo(and(gt(5), lt(10));} 73 * expectation APIs is not made clear by the method signatures of these expectation methods. In 75 * expectation methods, and not just any random method that returns a {@literal byte} or even a 243 * Returns the expectation setter for the last expected invocation in the current thread. 244 * Expectation setters are used during the recording phase to specify what method calls 247 * or according to parameter expectation criteria. Some examples of parameter expectatio [all...] |
/external/chromium_org/base/test/expectations/ |
parser.h | 12 #include "base/test/expectations/expectation.h" 34 // When a well-formed and valid Expectation has been parsed from the input, 36 virtual void EmitExpectation(const Expectation& expectation) = 0; 42 // Called when an Expectation has been parsed because it is well-formed but 44 // keywords). This Expectation will not be reported via EmitExpectation. 132 // The Expectation object that is currently being processed by the parser. 134 Expectation current_;
|
/external/chromium/chrome/browser/password_manager/ |
password_store_mac_unittest.cc | 199 PasswordFormData* expectation = expectations[i]; local 200 EXPECT_EQ(expectation->scheme, form->scheme) << test_label; 201 EXPECT_EQ(std::string(expectation->signon_realm), form->signon_realm) 203 EXPECT_EQ(GURL(expectation->origin), form->origin) << test_label; 204 EXPECT_EQ(GURL(expectation->action), form->action) << test_label; 205 EXPECT_EQ(WideToUTF16(expectation->submit_element), form->submit_element) 207 EXPECT_EQ(WideToUTF16(expectation->username_element), 209 EXPECT_EQ(WideToUTF16(expectation->password_element), 211 if (expectation->username_value) { 212 EXPECT_EQ(WideToUTF16(expectation->username_value) [all...] |