Searched refs:new_contents (Results 1 – 3 of 3) sorted by relevance
/external/libbrillo/brillo/ |
D | file_utils_unittest.cc | 39 std::string new_contents; in ExpectFileContains() local 40 EXPECT_TRUE(base::ReadFileToString(file_path_, &new_contents)); in ExpectFileContains() 41 EXPECT_EQ(contents, new_contents); in ExpectFileContains()
|
/external/skia/tools/lua/ |
D | find_ngrams_on_ct | 33 new_contents, subd = re.subn(NGRAMS_LUA_SUBSTITUTION_STR, 42 tmp_script.write(new_contents)
|
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
D | fake_filesystem_test.py | 681 new_contents = '1234567890abcdef' 687 self.assertEqual(len(new_contents), self.os.write(fileno, new_contents)) 688 self.assertEqual(new_contents, 695 self.assertEqual(new_contents[0:2], self.os.read(fileno, 2)) 696 self.assertEqual(new_contents[2:10], self.os.read(fileno, 8)) 697 self.assertEqual(new_contents[10:], self.os.read(fileno, 100)) 701 self.assertRaises(OSError, self.os.write, fileno, new_contents) 2161 new_contents = [ 2166 for line in new_contents: 2170 self.assertEqual(new_contents, result)
|