HomeSort by relevance Sort by last modified time
    Searched refs:expectation (Results 1 - 25 of 70) sorted by null

1 2 3

  /external/chromium_org/chrome/test/mini_installer/
verifier.py 7 """Verifies that the current machine states match the expectation."""
14 key is an expectation name and the associated value is an expectation
15 dictionary. The expectation dictionary may contain an optional
16 'condition' property, a string that determines whether the expectation
17 should be verified. Each subclass can specify a different expectation
18 name and expectation dictionary.
21 for expectation_name, expectation in verifier_input.iteritems():
22 if 'condition' in expectation:
23 condition = variable_expander.Expand(expectation['condition']
    [all...]
file_verifier.py 11 """Verifies that the current files match the expectation dictionaries."""
13 def _VerifyExpectation(self, expectation_name, expectation,
18 |expectation|.
23 expectation: A dictionary with the following key and value:
29 assert expectation['exists'] == file_exists, \
process_verifier.py 10 """Verifies that the running processes match the expectation dictionaries."""
12 def _VerifyExpectation(self, expectation_name, expectation,
17 |expectation|.
22 expectation: A dictionary with the following key and value:
31 assert expectation['running'] == is_running, \
registry_verifier.py 42 def _VerifyExpectation(self, expectation_name, expectation,
46 Verifies a registry key according to the |expectation|.
51 expectation: A dictionary with the following keys and values:
73 # Key doesn't exist. See that it matches the expectation.
74 assert expectation['exists'] is not 'required', ('Registry key %s is '
78 # The key exists, see that it matches the expectation.
79 assert expectation['exists'] is not 'forbidden', ('Registry key %s exists' %
83 if 'values' not in expectation:
85 for value, value_expectation in expectation['values'].iteritems():
91 # The value does not exist. See that this matches the expectation
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/loader/
MixedContentCheckerTest.cpp 22 bool expectation; member in struct:blink::TestCase
37 bool expectation = cases[i].expectation; local
42 EXPECT_EQ(expectation, MixedContentChecker::isMixedContent(securityOrigin.get(), targetUrl)) << "Origin: " << origin << ", Target: " << target << ", Expectation: " << expectation; local
  /external/chromium_org/chrome/test/ispy/server/
update_mask_handler.py 32 expectation = self.request.get('expectation')
35 if not (test_run and expectation):
38 {'error': '\'test_run\' and \'expectation\' must be '
45 if not self.ispy.FailureExists(test_run, expectation):
51 failure = self.ispy.GetFailure(test_run, expectation)
54 ispy_utils.GetExpectationPath(expectation, 'mask.png'),
57 self.ispy.RemoveFailure(test_run, expectation)
debug_view_handler.py 29 expectation: The expectation name.
32 expectation = self.request.get('expectation')
33 expected_path = ispy_utils.GetExpectationPath(expectation, 'expected.png')
34 actual_path = ispy_utils.GetFailurePath(test_run, expectation, 'actual.png')
43 data['expectation'] = expectation
  /cts/tools/utils/
VogarUtils.java 19 import vogar.Expectation;
54 Expectation expectation = expectationStore.get(fullTestName); local
55 if (expectation == Expectation.SUCCESS) {
59 String description = expectation.getDescription();
62 return expectation != Expectation.SUCCESS && !foundAbi;
96 * @return The Set of supported abis parsed from the {@code expectation}'s description.
98 public static Set<String> extractSupportedAbis(String architecture, Expectation expectation)
125 Expectation expectation = expectationStore.get(fullTestName); local
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/page/
test_expectations.py 14 class Expectation(object):
15 def __init__(self, expectation, pattern, conditions=None, bug=None):
16 self.expectation = expectation.lower()
37 raise ValueError('Unknown expectation condition: "%s"' % c0)
47 raise ValueError('Unknown expectation condition: "%s"' % condition)
66 def _Expect(self, expectation, url_pattern, conditions=None, bug=None):
67 self.expectations.append(Expectation(expectation, url_pattern, conditions,
81 return e.expectation
    [all...]
  /external/chromium_org/media/base/
media_file_checker_unittest.cc 14 static void RunMediaFileChecker(const std::string& filename, bool expectation) {
22 EXPECT_EQ(expectation, result);
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSCalculationValueTest.cpp 173 CSSLengthArray expectation, actual; local
174 initLengthArray(expectation);
175 EXPECT_TRUE(lengthArraysEqual(expectation, setLengthArray(actual, "0")));
177 expectation.at(CSSPrimitiveValue::UnitTypePixels) = 10;
178 EXPECT_TRUE(lengthArraysEqual(expectation, setLengthArray(actual, "10px")));
180 expectation.at(CSSPrimitiveValue::UnitTypePixels) = 0;
181 expectation.at(CSSPrimitiveValue::UnitTypePercentage) = 20;
182 EXPECT_TRUE(lengthArraysEqual(expectation, setLengthArray(actual, "20%%")));
184 expectation.at(CSSPrimitiveValue::UnitTypePixels) = 30;
185 expectation.at(CSSPrimitiveValue::UnitTypePercentage) = -40
    [all...]
  /external/chromium_org/chrome/test/ispy/
ispy_api.py 30 """Updates the most recent expectation version to the Chrome version.
56 logging.info('Updating expectation version...')
62 """Returns the expectation version for the given Chrome version.
70 Expectation version string.
76 raise Exception('No expectation exists for Chrome %s' % chrome_version)
79 """Gets the list of expectation versions from google storage.
94 def _GetExpectationNameWithVersion(self, device_type, expectation,
96 """Get the expectation to be used with the current Chrome version.
100 expectation: name for the expectation to generate
    [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/chromium_org/third_party/skia/tools/skpdiff/
skpdiff_server.py 256 expectation is different between the following two files:
307 # Store old and new versions of the expectation for each GM
335 for expectation in self._expectations:
338 expectation.device_name + '-' +
339 expectation.image_name)
342 expectation.device_name + '-' +
343 expectation.image_name)
346 expectation.image_name, expectation.device_name))
349 download_gm_image(expectation.image_name
    [all...]
  /external/chromium_org/chrome/browser/media_galleries/fileapi/
native_media_file_util_unittest.cc 208 base::File::Error expectation = local
217 url, base::Bind(&ExpectEqHelper, test_name, expectation));
220 url, base::Bind(&ExpectEqHelper, test_name, expectation));
261 base::File::Error expectation = local
267 base::Bind(&ExpectEqHelper, test_name, expectation));
296 base::File::Error expectation = base::File::FILE_OK; local
299 expectation = base::File::FILE_ERROR_NOT_FOUND;
302 expectation = base::File::FILE_ERROR_INVALID_OPERATION;
309 base::Bind(&ExpectEqHelper, test_name, expectation));
346 base::File::Error expectation; local
403 base::File::Error expectation = base::File::FILE_OK; local
454 base::File::Error expectation; local
502 base::File::Error expectation = base::File::FILE_OK; local
532 base::File::Error expectation = base::File::FILE_OK; local
    [all...]
  /external/chromium_org/content/browser/media/
media_source_browsertest.cc 37 const std::string& expectation) {
46 RunMediaTestPage("media_source_player.html", query_params, expectation,
  /external/chromium_org/chrome/browser/media_galleries/
media_galleries_permissions_unittest.cc 116 std::vector<MediaGalleryPermission>* expectation; member in struct:MediaGalleriesPermissionsTest::TestData
126 EXPECT_EQ(test_data[i].expectation->size(), actual.size());
128 permission_entry < test_data[i].expectation->size() &&
131 EXPECT_EQ(test_data[i].expectation->at(permission_entry).pref_id,
133 EXPECT_EQ(test_data[i].expectation->at(permission_entry).has_permission,
  /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]
167 expectation = TestExpectations.expectation_from_string(part)
168 if expectation is None: # Careful, PASS is currently 0.
169 expectation_line.warnings.append('Unsupported expectation: %s' % part)
171 result.add(expectation)
247 The new format for a test expectation line is:
328 warnings.append('Unrecognized expectation "%s"' % token
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/animation/
LengthStyleInterpolationTest.cpp 112 CSSLengthArray actual, expectation; local
113 initLengthArray(expectation);
115 toCSSPrimitiveValue(interpolableValueToLength(list.get(), ValueRangeAll).get())->accumulateLengthArray(expectation);
116 EXPECT_TRUE(lengthArraysEqual(expectation, setLengthArray(actual, "calc(10%% + 10ex + 10ch + 10vh + 10vmax)")));
  /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:
71 def MkTest(replacement, expectation):
77 Test(testname, testsource, expectation)
  /external/chromium_org/gpu/gles2_conform_support/
gles2_conform_test.cc 54 int32 expectation = local
56 if (expectation != gpu::GPUTestExpectationsParser::kGpuTestPass) {
  /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/components/component_updater/test/
url_request_post_interceptor.cc 66 Expectation expectation(expectations_.front());
67 delete expectation.first;
195 // popping the expectation off the queue, counting the match, and
211 const URLRequestPostInterceptor::Expectation& expectation(
213 if (expectation.first->Match(request_body)) {
214 const int response_code(expectation.second.response_code);
215 const std::string response_body(expectation.second.response_body);
216 delete expectation.first
    [all...]

Completed in 1110 milliseconds

1 2 3