Home
last modified time | relevance | path

Searched refs:expected_errors (Results 1 – 4 of 4) sorted by relevance

/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
Dstrict_test.py54 def _AssertErrors(self, original, expected_errors): argument
63 expected_errors.sort()
64 self.assertListEqual(error_nums, expected_errors)
Derrorrules_test.py89 def _AssertErrors(self, original, expected_errors, include_header=True): argument
100 expected_errors.sort()
101 self.assertListEqual(error_nums, expected_errors)
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc140 void ExpectHasErrors(const char* text, const char* expected_errors) { in ExpectHasErrors() argument
141 ExpectHasEarlyExitErrors(text, expected_errors); in ExpectHasErrors()
147 void ExpectHasEarlyExitErrors(const char* text, const char* expected_errors) { in ExpectHasEarlyExitErrors() argument
151 EXPECT_EQ(expected_errors, error_collector_.text_); in ExpectHasEarlyExitErrors()
157 const char* expected_errors) { in ExpectHasValidationErrors() argument
172 EXPECT_EQ(expected_errors, error_collector_.text_); in ExpectHasValidationErrors()
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc2934 const string& expected_errors) { in BuildFileWithErrors() argument
2941 EXPECT_EQ(expected_errors, error_collector.text_); in BuildFileWithErrors()