Home
last modified time | relevance | path

Searched refs:expected_lines (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/chrome/browser/media/
Dwebrtc_log_uploader_unittest.cc24 bool VerifyNumberOfLinesAndContentsOfLastLine(int expected_lines) { in VerifyNumberOfLinesAndContentsOfLastLine() argument
35 EXPECT_EQ(expected_lines + 1, static_cast<int>(lines.size())); in VerifyNumberOfLinesAndContentsOfLastLine()
36 if (expected_lines + 1 != static_cast<int>(lines.size())) in VerifyNumberOfLinesAndContentsOfLastLine()
38 EXPECT_TRUE(lines[expected_lines].empty()); in VerifyNumberOfLinesAndContentsOfLastLine()
44 base::SplitString(lines[expected_lines - 1], ',', &line_parts); in VerifyNumberOfLinesAndContentsOfLastLine()
/external/chromium_org/content/browser/accessibility/
Ddump_accessibility_tree_browsertest.cc66 std::vector<int> DiffLines(const std::vector<std::string>& expected_lines, in DiffLines() argument
69 int expected_lines_count = expected_lines.size(); in DiffLines()
73 if (expected_lines[j].size() == 0 || in DiffLines()
74 expected_lines[j][0] == kCommentToken) { in DiffLines()
80 if (actual_lines[i] != expected_lines[j]) in DiffLines()
197 std::vector<std::string> actual_lines, expected_lines; in RunTest() local
199 Tokenize(expected_contents, "\n", &expected_lines); in RunTest()
202 expected_lines.push_back(kMarkEndOfFile); in RunTest()
205 std::vector<int> diff_lines = DiffLines(expected_lines, actual_lines); in RunTest()
213 line < static_cast<int>(expected_lines.size()); in RunTest()
[all …]
/external/skia/tests/
DFillPathTest.cpp36 int expected_lines = 5; in DEF_TEST() local
37 clip.set(0, height - expected_lines, width, height); in DEF_TEST()
45 REPORTER_ASSERT(reporter, blitter.m_blitCount == expected_lines); in DEF_TEST()
/external/chromium_org/v8/test/message/
Dtestcfg.py89 expected_lines = []
94 expected_lines.append(line)
98 if len(expected_lines) != len(actual_lines):
101 expected_lines, actual_lines, fillvalue=''):
/external/chromium/net/websockets/
Dwebsocket_handshake_unittest.cc37 std::vector<std::string> expected_lines; in ExpectHeaderEquals() local
38 Tokenize(expected, "\r\n", &expected_lines); in ExpectHeaderEquals()
42 EXPECT_EQ(expected_lines[0], actual_lines[0]); in ExpectHeaderEquals()
45 for (size_t i = 1; i < expected_lines.size(); i++) { in ExpectHeaderEquals()
47 if (expected_lines[i] == "") in ExpectHeaderEquals()
49 expected_headers.push_back(expected_lines[i]); in ExpectHeaderEquals()
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
Drequireprovidesorter_test.py46 expected_lines = [
59 self.assertEquals(expected_lines, self._GetLines(token))
/external/chromium_org/third_party/closure_linter/closure_linter/
Drequireprovidesorter_test.py46 expected_lines = [
59 self.assertEquals(expected_lines, self._GetLines(token))
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/
Dcommon_unittest.py54 def assert_carriage_return(self, input_lines, expected_lines, error_lines): argument
62 self.assertEqual(output_lines, expected_lines)
/external/chromium_org/native_client_sdk/src/build_tools/tests/
Deasy_template_test.py24 expected_lines = expected.splitlines(1)
27 expected_lines, actual_lines,
/external/chromium/testing/gmock/scripts/generator/cpp/
Dgmock_class_test.py41 def assertEqualIgnoreLeadingWhitespace(self, expected_lines, lines): argument
43 self.assertEqual(expected_lines, self.StripLeadingWhitespace(lines))
/external/markdown/
Dtest-markdown.py252 expected_lines = [x.encode("utf-8") for x in smart_split(expected_output)]
258 diff = [x for x in differ.compare(expected_lines,
273 htmlDiff = htmldiff.make_table(expected_lines, actual_lines,
/external/chromium_org/v8/test/webkit/
Dtestcfg.py119 expected_lines = expected.readlines()
122 for line in expected_lines:
/external/chromium/net/http/
Dhttp_response_headers_unittest.cc892 const char* expected_lines; in TEST() member
932 EXPECT_EQ(std::string(tests[i].expected_lines), lines); in TEST()
/external/chromium_org/net/http/
Dhttp_response_headers_unittest.cc983 const char* expected_lines; in TEST() member
1023 EXPECT_EQ(std::string(tests[i].expected_lines), lines); in TEST()