/external/chromium/chrome/browser/parsers/ |
metadata_parser_filebase_unittest.cc | 78 std::map<std::string, std::string> expectations; local 79 expectations[MetadataParser::kPropertyFilesize] = test_file_size(); 80 expectations[MetadataParser::kPropertyTitle] = test_file_str(); 88 ASSERT_TRUE(expectations.find(key) != expectations.end()); 89 EXPECT_EQ(expectations[key], value); 91 expectations.erase(key); 96 EXPECT_TRUE(expectations.empty());
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
result_summary.py | 48 def __init__(self, expectations, test_files): 51 self.expectations = expectations 62 for expectation in TestExpectationsFile.EXPECTATIONS.values(): 66 expectations.get_tests_with_timeline(timeline))
|
test_expectations.py | 30 """A helper class for reading in and dealing with tests expectations 72 drop any pixel failures and return the remaining expectations. For example, 88 def __init__(self, port, tests, expectations, test_config, 90 """Loads and parses the test expectations given in the string. 94 expectations: test expectations as a string 98 is_lint_mode: If True, just parse the expectations string 100 overrides: test expectations that are allowed to override any 101 entries in |expectations|. This is used by callers 102 that need to manage two sets of expectations (e.g., upstrea [all...] |
printing_unittest.py | 145 expectations = test_expectations.TestExpectations( 150 rs = result_summary.ResultSummary(expectations, test_paths) 151 return test_paths, rs, expectations 334 expectations = '' 340 paths, rs, exp = self.get_result_summary(tests, expectations) 366 expectations = 'BUGX : failures/expected/timeout.html = TIMEOUT' 372 paths, rs, exp = self.get_result_summary(tests, expectations) 380 paths, rs, exp = self.get_result_summary(tests, expectations) 409 paths, rs, exp = self.get_result_summary(tests, expectations) 468 # like we shouldn't be both using an expectations string an [all...] |
json_layout_results_generator.py | 58 test_timings, expectations, result_summary, all_tests, 72 self._expectations = expectations
|
test_expectations_unittest.py | 46 # test handling of FAIL expectations 111 def parse_exp(self, expectations, overrides=None, is_lint_mode=False): 115 expectations=expectations, 143 # expectations and that known test part of a test category is 144 # present in the expectations. 200 u"Line:2 Missing expectations. [' failures/expected/image.html']"] 326 # and tests expectations covering entire directories.
|
test_runner.py | 70 def summarize_results(port_obj, expectations, result_summary, retry_summary, test_timings, only_unexpected): 77 expectations: test_expectations.TestExpectations object 109 for expecation_string, expectation_enum in TestExpectationsFile.EXPECTATIONS.iteritems(): 123 expected = expectations.get_expectations_string(filename) 133 actual.extend(expectations.get_expectations_string(filename).split(" ")) 178 # FIXME: If non-chromium ports start using an expectations file, 286 """Parse the expectations from the test_list files and return a data 394 # Update expectations so that the stats are calculated correctly. [all...] |
/libcore/luni/src/test/java/libcore/java/security/ |
MessageDigestTest.java | 78 private static final Map<String, Map<String, byte[]>> EXPECTATIONS 82 Map<String, byte[]> expectations = EXPECTATIONS.get(algorithm); local 83 if (expectations == null) { 84 expectations = new HashMap<String, byte[]>(); 85 EXPECTATIONS.put(algorithm, expectations); 87 expectations.put(inputName, expected); 91 Map<String, byte[]> expectations = EXPECTATIONS.get(algorithm) local [all...] |
/external/webkit/Tools/Scripts/webkitpy/style/checkers/ |
test_expectations.py | 56 categories = set(['test/expectations']) 63 # Determining the port of this expectations. 73 # expectations. 75 "Using 'test' port, but platform-specific expectations " 89 expectations = None 91 expectations = test_expectations.TestExpectationsFile( 92 port=self._port_obj, expectations=expectations_str, full_test_list=tests, 106 self._handle_style_error(int(lineno), 'test/expectations', level, message) 114 expectations = '\n'.join(lines) 115 self.check_test_expectations(expectations_str=expectations, [all...] |
test_expectations_unittest.py | 72 def process_expectations(self, expectations, overrides=None): 114 "BUG\\d+ is not allowed, must be one of BUGCR\\d+, BUGWK\\d+, BUGV8_\\d+, or a non-numeric bug identifier. passes/text.html [test/expectations] [5]") 120 "passes/text.html [test/expectations] [5]") 124 "passes/text.html [test/expectations] [2]") 128 ["missing expectations"], 129 "Missing a ':' missing expectations [test/expectations] [5]") 134 "passes/text.html [test/expectations] [5]") 137 "Path does not exist. does/not/exist.html [test/expectations] [2]") 146 "passes/text.html [test/expectations] [5]" [all...] |
/external/chromium/chrome/browser/password_manager/ |
password_form_data.cc | 79 SetOfForms expectations(first.begin(), first.end()); 83 for (SetOfForms::iterator it = expectations.begin(); 84 it != expectations.end(); ++it) { 88 expectations.erase(it);
|
password_store_mac_unittest.cc | 176 #define CHECK_FORMS(forms, expectations, i) \ 177 CheckFormsAgainstExpectations(forms, expectations, #forms, i) 179 // Ensures that the data in |forms| match |expectations|, causing test failures 182 // matter if |forms| and |expectations| are scrambled. 185 const std::vector<PasswordFormData*>& expectations, 191 EXPECT_EQ(expectations.size(), forms.size()) << test_label; 192 if (expectations.size() != forms.size()) 195 for (unsigned int i = 0; i < expectations.size(); ++i) { 199 PasswordFormData* expectation = expectations[i]; [all...] |
/cts/tools/utils/ |
CollectAllTests.java | 173 ExpectationStore[] expectations = new ExpectationStore[] { local 217 addToTests(expectations, testCases, klass.asSubclass(TestCase.class)); 227 addToTests(expectations, testCases, klass.asSubclass(TestCase.class)); 374 private static void addToTests(ExpectationStore[] expectations, 399 addToTests(expectations, testCases, test, testName); 405 private static void addToTests(ExpectationStore[] expectations, 425 } else if (VogarUtils.isVogarKnownFailure(expectations,
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/ |
rebaseline_chromium_webkit_tests_unittest.py | 73 def test_host_port_and_filesystem(options, expectations): 79 filesystem.write_text_file(expectations_path, expectations) 192 def make_rebaseliner(self, expectations): 194 host_port_obj, filesystem = test_host_port_and_filesystem(options, expectations) 199 target_port_obj._expectations = expectations 267 # write 2 expectations (the png and the txt file). 332 expectations = "BUGX REBASELINE : failures/expected/image.html = IMAGE" 335 host_port_obj, filesystem = test_host_port_and_filesystem(options, expectations)
|
/external/webkit/Source/WebKit/chromium/src/js/ |
Tests.js | 447 var expectations = { 457 this.assertEquals(expectations.functionsOnStack[0], callFrame.functionName); 459 this._checkSourceFrameWhenLoaded(expectations, function() { 710 * Checks current execution line against expectations. 750 * Waits for script pause, checks expectations, and invokes the callback. 751 * @param {Object} expectations Dictionary of expectations 754 TestSuite.prototype._waitForScriptPause = function(expectations, callback) 767 test.assertEquals(expectations.functionsOnStack.join(","), functionsOnStack.join(","), "Unexpected stack."); 771 test._checkSourceFrameWhenLoaded(expectations, callback) [all...] |
/build/core/tasks/ |
cts.mk | 73 # $5 : The directory containing vogar expectations files 110 libcore/expectations) 114 libcore/expectations) 118 libcore/expectations) 122 libcore/expectations) 126 libcore/expectations) 130 libcore/expectations) 149 libcore/expectations,\
|
/external/v8/test/cctest/ |
test-decls.cc | 38 enum Expectations { 61 Expectations expectations, 128 Expectations expectations, 141 if (expectations == EXPECT_RESULT) { 147 CHECK(expectations == EXPECT_EXCEPTION);
|
/external/v8/test/mjsunit/regress/ |
regress-2056.js | 52 // Make sure that non-crankshaft results match expectations. 59 // Make sure that crankshaft results match expectations.
|
/external/v8/test/preparser/ |
testcfg.py | 132 expectations = self.GetExpectations() 139 if (file in expectations): 140 throws = expectations[file]
|
/cts/ |
CtsBuild.mk | 31 CTS_EXPECTATIONS := cts/tests/expectations/knownfailures.txt
|
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/ |
XmlGenerator.java | 72 XmlGenerator(ExpectationStore expectations, String appNameSpace, String appPackageName, 84 mExpectations = expectations;
|
/external/webkit/LayoutTests/dom/html/level1/core/ |
hc_documentcreateelementcasesensitive.js | 88 values and checked the node names to see if they matched expectations.
|
/external/webkit/LayoutTests/dom/xhtml/level1/core/ |
hc_documentcreateelementcasesensitive.js | 88 values and checked the node names to see if they matched expectations.
|
/external/webkit/Tools/Scripts/webkitpy/common/net/buildbot/ |
buildbot_unittest.py | 112 expectations = { 116 for filename, revision_and_build in expectations.items():
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/ |
chromium.py | 248 """Returns the test expectations for this port. 274 expectations = test_expectations.TestExpectations( 279 for test in expectations.get_tests_with_result_type(test_expectations.SKIP)]
|