Home
last modified time | relevance | path

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

/system/connectivity/shill/
Djson_store_unittest.cc63 test_file_ = temp_dir_.path().Append("test-json-store"); in SetUp()
64 store_.reset(new JsonStore(test_file_)); in SetUp()
80 FilePath test_file_; member in shill::JsonStoreTest
91 base::WriteFile(test_file_, data.data(), data.size())); in SetJsonFileContents()
929 EXPECT_EQ(test_file_.value(), file_enumerator.Next().value()); in TEST_F()
946 EXPECT_EQ(test_file_.value(), file_enumerator.Next().value()); in TEST_F()
955 ASSERT_TRUE(base::CreateDirectory(test_file_)); in TEST_F()
974 JsonStore persisted_data(test_file_); in TEST_F()
991 JsonStore persisted_data(test_file_); in TEST_F()
1001 JsonStore persisted_data(test_file_); in TEST_F()
[all …]
Dkey_file_store_unittest.cc57 test_file_ = temp_dir_.path().Append("test-key-file-store"); in SetUp()
58 store_.reset(new KeyFileStore(test_file_)); in SetUp()
70 FilePath test_file_; member in shill::KeyFileStoreTest
76 EXPECT_TRUE(base::ReadFileToString(test_file_, &data)); in ReadKeyFile()
82 base::WriteFile(test_file_, data.data(), data.size())); in WriteKeyFile()
99 EXPECT_EQ(test_file_.value(), file_enumerator.Next().value()); in TEST_F()
113 ASSERT_TRUE(base::DeleteFile(test_file_, false)); in TEST_F()
114 ASSERT_TRUE(base::CreateDirectory(test_file_)); in TEST_F()
130 EXPECT_TRUE(base::PathExists(test_file_)); in TEST_F()
133 EXPECT_FALSE(base::PathExists(test_file_)); in TEST_F()
[all …]
/system/extras/tests/fstest/
Drecovery_test.cpp52 strncpy(test_file_, file_name, FILENAME_MAX); in DataFileVerifier()
56 int write_fd = open(test_file_, O_CREAT | O_WRONLY, 0666); in verify_write()
64 int read_fd = open(test_file_, O_RDONLY); in verify_read()
72 unlink(test_file_); in ~DataFileVerifier()
76 char test_file_[FILENAME_MAX]; member in android::DataFileVerifier