Searched refs:expected_contents (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/webrtc/base/ |
D | filerotatingstream_unittest.cc | 56 void VerifyStreamRead(const char* expected_contents, in VerifyStreamRead() argument 69 EXPECT_EQ(0, memcmp(expected_contents, buffer.get(), expected_length)); in VerifyStreamRead() 74 void VerifyFileContents(const char* expected_contents, in VerifyFileContents() argument 85 EXPECT_EQ(0, memcmp(expected_contents, buffer.get(), expected_length)); in VerifyFileContents() 152 std::string expected_contents("bbccd"); in TEST_F() local 153 VerifyStreamRead(expected_contents.c_str(), expected_contents.size(), in TEST_F() 215 void VerifyStreamRead(const char* expected_contents, in VerifyStreamRead() argument 227 EXPECT_EQ(0, memcmp(expected_contents, buffer.get(), expected_length)); in VerifyStreamRead() 244 std::string expected_contents("abe"); in TEST_F() local 245 VerifyStreamRead(expected_contents.c_str(), expected_contents.size(), in TEST_F() [all …]
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_bootstrap_unittest.cc | 92 string* expected_contents = FindPtrOrNull(files_, virtual_filename); in ExpectFileMatches() local 93 ASSERT_TRUE(expected_contents != NULL) in ExpectFileMatches() 100 EXPECT_TRUE(actual_contents == *expected_contents) in ExpectFileMatches()
|
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/ |
D | atrace_from_file_agent_unittest.py | 41 expected_contents = f2.read() 42 self.assertTrue(expected_contents in full_trace)
|
/external/protobuf/src/google/protobuf/compiler/ |
D | importer_unittest.cc | 270 const char* expected_contents) { in ExpectFileContents() argument 283 EXPECT_EQ(expected_contents, file_contents); in ExpectFileContents()
|