Home
last modified time | relevance | path

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

/art/libartbase/base/unix_file/
Drandom_access_file_test.h126 std::string new_content; in TestSetLength() local
127 ASSERT_TRUE(ReadString(file.get(), &new_content)); in TestSetLength()
128 ASSERT_EQ(content.substr(0, 2), new_content); in TestSetLength()
134 ASSERT_TRUE(ReadString(file.get(), &new_content)); in TestSetLength()
135 ASSERT_EQ('\0', new_content[new_length - 1]); in TestSetLength()
154 std::string new_content; in TestWrite() local
155 ASSERT_TRUE(ReadString(file.get(), &new_content)); in TestWrite()
156 ASSERT_EQ(new_content, content); in TestWrite()
168 ASSERT_TRUE(ReadString(file.get(), &new_content)); in TestWrite()
169 ASSERT_EQ(std::string("hello\0hello", new_length), new_content); in TestWrite()