Home
last modified time | relevance | path

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

/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_bootstrap_unittest.cc92 std::string expected_contents = *it->second; in ExpectFileMatches() local
101 GOOGLE_CHECK_OK(File::SetContents("/tmp/expected.cc", expected_contents, in ExpectFileMatches()
107 ASSERT_EQ(expected_contents, actual_contents) in ExpectFileMatches()
/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_bootstrap_unittest.cc85 string expected_contents = *it->second; in ExpectFileMatches() local
92 EXPECT_TRUE(actual_contents == expected_contents) in ExpectFileMatches()
/third_party/glib/gio/tests/
Dfile.c1051 const gchar *expected_contents) in check_test_file() argument
1063 g_assert (expected_contents == NULL); in check_test_file()
1070 g_assert (expected_type != FILE_TEST_SETUP_TYPE_REGULAR_EMPTY || expected_contents == NULL); in check_test_file()
1071 … g_assert (expected_type != FILE_TEST_SETUP_TYPE_REGULAR_NONEMPTY || expected_contents != NULL); in check_test_file()
1086 if (expected_contents != NULL) in check_test_file()
1094 g_assert_cmpstr (contents, ==, expected_contents); in check_test_file()
1103 g_assert (expected_contents == NULL); in check_test_file()
1108 g_assert (expected_contents == NULL); in check_test_file()
1127 g_assert (expected_contents != NULL); in check_test_file()
1136 g_assert_cmpstr (g_file_info_get_symlink_target (info), ==, expected_contents); in check_test_file()
[all …]
/third_party/protobuf/src/google/protobuf/compiler/
Dimporter_unittest.cc294 const char* expected_contents) { in ExpectFileContents() argument
307 EXPECT_EQ(expected_contents, file_contents); in ExpectFileContents()