Searched refs:expected_contents (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/google_apis/drive/
H A Dbase_requests_server_unittest.cc101 std::string expected_contents; local
102 base::ReadFileToString(expected_path, &expected_contents);
103 EXPECT_EQ(expected_contents, contents);
H A Ddrive_api_requests_unittest.cc1743 const std::string expected_contents = kTestId + kTestId + kTestId; local
1744 EXPECT_EQ(expected_contents, contents);
1778 const std::string expected_contents = kTestId + kTestId + kTestId; local
1779 EXPECT_EQ(expected_contents, contents);
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_bootstrap_unittest.cc91 string* expected_contents = FindPtrOrNull(files_, virtual_filename); local
92 ASSERT_TRUE(expected_contents != NULL)
99 EXPECT_TRUE(actual_contents == *expected_contents)
/external/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_bootstrap_unittest.cc91 string* expected_contents = FindPtrOrNull(files_, virtual_filename); local
92 ASSERT_TRUE(expected_contents != NULL)
99 EXPECT_TRUE(actual_contents == *expected_contents)
/external/chromium-trace/trace-viewer/build/
H A Dparse_deps_test.py272 expected_contents = ''
274 expected_contents = f.read()
275 self.assertEquals(contents, expected_contents)
288 expected_contents = ''
290 expected_contents = f.read()
291 self.assertEquals(contents, expected_contents)
/external/chromium_org/chrome/browser/chromeos/file_system_provider/fileapi/
H A Dfile_stream_writer_unittest.cc163 const std::string expected_contents = local
165 EXPECT_EQ(expected_contents,
166 entry->contents.substr(0, expected_contents.size()));
232 const std::string expected_contents = original_contents + kTextToWrite; local
233 EXPECT_EQ(expected_contents, entry->contents);
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
H A Dfile_browser_handler_api_test.cc58 // Checks that file under path |selected_path| contains |expected_contents|.
61 const std::string& expected_contents) {
64 EXPECT_EQ(expected_contents, test_file_contents);
289 const std::string expected_contents = "hello from test extension."; local
291 base::Bind(&ExpectFileContentEquals, selected_path, expected_contents));
60 ExpectFileContentEquals(const base::FilePath& selected_path, const std::string& expected_contents) argument
/external/chromium_org/net/disk_cache/simple/
H A Dsimple_version_upgrade_unittest.cc127 std::string expected_contents = local
133 EXPECT_EQ(expected_contents, real_contents);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
H A Dtest.py446 def diff_image(self, expected_contents, actual_contents):
447 diffed = actual_contents != expected_contents
448 if not actual_contents and not expected_contents:
450 if not actual_contents or not expected_contents:
453 return ("< %s\n---\n> %s\n" % (expected_contents, actual_contents), None)
H A Dbase.py464 def diff_image(self, expected_contents, actual_contents):
470 if not actual_contents and not expected_contents:
473 return (expected_contents, None)
474 if not expected_contents:
480 self._filesystem.write_binary_file(expected_filename, expected_contents)
/external/chromium_org/third_party/skia/tools/skpdiff/
H A Dskpdiff_server.py279 expected_contents = get_head_version(expected_file_path)
292 expected_contents,
298 expected_contents,
/external/skia/tools/skpdiff/
H A Dskpdiff_server.py279 expected_contents = get_head_version(expected_file_path)
292 expected_contents,
298 expected_contents,
/external/chromium_org/content/browser/accessibility/
H A Ddump_accessibility_tree_browsertest.cc188 std::string expected_contents; local
189 base::RemoveChars(expected_contents_raw, "\r", &expected_contents);
191 if (!expected_contents.compare(0, strlen(kMarkSkipFile), kMarkSkipFile)) {
244 Tokenize(expected_contents, "\n", &expected_lines);
/external/chromium_org/content/browser/download/
H A Dbase_file_unittest.cc526 std::string expected_contents(kTestData1);
527 expected_contents += kTestData2;
528 expected_contents += kTestData3;
530 EXPECT_EQ(expected_contents, file_contents);
H A Ddownload_browsertest.cc839 std::string expected_contents(file_size1, '*');
840 ASSERT_TRUE(VerifyFile(file1, expected_contents, file_size1));
/external/chromium_org/chrome/browser/autocomplete/
H A Dbookmark_provider_unittest.cc427 const std::string expected_contents; member in struct:QueryData
455 EXPECT_EQ(base::ASCIIToUTF16(query_data[i].expected_contents),
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
H A Dimporter_unittest.cc358 const char* expected_contents) {
371 EXPECT_EQ(expected_contents, file_contents);
357 ExpectFileContents(const string& filename, const char* expected_contents) argument
/external/protobuf/src/google/protobuf/compiler/
H A Dimporter_unittest.cc358 const char* expected_contents) {
371 EXPECT_EQ(expected_contents, file_contents);
357 ExpectFileContents(const string& filename, const char* expected_contents) argument
/external/chromium_org/chrome/browser/download/
H A Ddownload_browsertest.cc787 std::string expected_contents(file_size, '*');
788 EXPECT_TRUE(VerifyFile(download_path, expected_contents, file_size));
2755 std::string expected_contents = test_server()->GetURL(std::string()).spec(); local
2756 ASSERT_TRUE(VerifyFile(file, expected_contents, expected_contents.length()));
2817 std::string expected_contents = ssl_test_server.GetURL(std::string()).spec(); local
2818 EXPECT_TRUE(VerifyFile(file, expected_contents, expected_contents.length()));

Completed in 383 milliseconds