Home
last modified time | relevance | path

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

/external/icing/icing/store/
Dusage-store_test.cc32 UsageStoreTest() : test_dir_(GetTestTempDir() + "/usage-store-test") {} in UsageStoreTest()
35 filesystem_.CreateDirectoryRecursively(test_dir_.c_str()); in SetUp()
39 filesystem_.DeleteDirectoryRecursively(test_dir_.c_str()); in TearDown()
43 const std::string test_dir_; member in icing::lib::__anon02fb15880111::UsageStoreTest
74 EXPECT_THAT(UsageStore::Create(&filesystem_, test_dir_), IsOk()); in TEST_F()
78 EXPECT_THAT(UsageStore::Create(nullptr, test_dir_), in TEST_F()
126 UsageStore::Create(&filesystem_, test_dir_)); in TEST_F()
154 UsageStore::Create(&filesystem_, test_dir_)); in TEST_F()
188 UsageStore::Create(&filesystem_, test_dir_)); in TEST_F()
229 UsageStore::Create(&filesystem_, test_dir_)); in TEST_F()
[all …]
Ddocument-store_test.cc129 : test_dir_(GetTestTempDir() + "/icing"), in DocumentStoreTest()
130 document_store_dir_(test_dir_ + "/document_store"), in DocumentStoreTest()
131 schema_store_dir_(test_dir_ + "/schema_store") { in DocumentStoreTest()
170 filesystem_.DeleteDirectoryRecursively(test_dir_.c_str()); in SetUp()
171 filesystem_.CreateDirectoryRecursively(test_dir_.c_str()); in SetUp()
203 filesystem_.DeleteDirectoryRecursively(test_dir_.c_str()); in TearDown()
220 const std::string test_dir_; member in icing::lib::__anon67f0fed20111::DocumentStoreTest
2187 const std::string schema_store_dir = test_dir_ + "_custom"; in TEST_F()
2273 const std::string schema_store_dir = test_dir_ + "_custom"; in TEST_F()
2347 const std::string schema_store_dir = test_dir_ + "_custom"; in TEST_F()
[all …]
/external/icing/icing/schema/
Dschema-store_test.cc67 SchemaStoreTest() : test_dir_(GetTestTempDir() + "/icing") { in SchemaStoreTest()
68 filesystem_.CreateDirectoryRecursively(test_dir_.c_str()); in SchemaStoreTest()
82 filesystem_.DeleteDirectoryRecursively(test_dir_.c_str()); in TearDown()
86 const std::string test_dir_; member in icing::lib::__anon3b2434680111::SchemaStoreTest
93 SchemaStore::Create(/*filesystem=*/nullptr, test_dir_, &fake_clock_), in TEST_F()
101 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in TEST_F()
121 const std::string schema_file = absl_ports::StrCat(test_dir_, "/schema.pb"); in TEST_F()
128 EXPECT_THAT(SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_), in TEST_F()
136 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in TEST_F()
155 absl_ports::StrCat(test_dir_, "/schema_type_mapper"); in TEST_F()
[all …]
Dsection-manager_test.cc52 SectionManagerTest() : test_dir_(GetTestTempDir() + "/icing") { in SectionManagerTest()
86 filesystem_, test_dir_, key_mapper_size)); in SetUp()
151 const std::string test_dir_; member in icing::lib::SectionManagerTest
/external/icing/icing/index/iterator/
Ddoc-hit-info-iterator-filter_test.cc52 : test_dir_(GetTestTempDir() + "/icing") {} in DocHitInfoIteratorDeletedFilterTest()
55 filesystem_.CreateDirectoryRecursively(test_dir_.c_str()); in SetUp()
69 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in SetUp()
74 DocumentStore::Create(&filesystem_, test_dir_, &fake_clock_, in SetUp()
84 filesystem_.DeleteDirectoryRecursively(test_dir_.c_str()); in TearDown()
91 const std::string test_dir_; member in icing::lib::__anon388d5f680111::DocHitInfoIteratorDeletedFilterTest
209 : test_dir_(GetTestTempDir() + "/icing") {} in DocHitInfoIteratorNamespaceFilterTest()
212 filesystem_.CreateDirectoryRecursively(test_dir_.c_str()); in SetUp()
236 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in SetUp()
241 DocumentStore::Create(&filesystem_, test_dir_, &fake_clock_, in SetUp()
[all …]
Ddoc-hit-info-iterator-section-restrict_test.cc62 : test_dir_(GetTestTempDir() + "/icing") {} in DocHitInfoIteratorSectionRestrictTest()
65 filesystem_.CreateDirectoryRecursively(test_dir_.c_str()); in SetUp()
87 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in SetUp()
92 DocumentStore::Create(&filesystem_, test_dir_, &fake_clock_, in SetUp()
100 filesystem_.DeleteDirectoryRecursively(test_dir_.c_str()); in TearDown()
106 const std::string test_dir_; member in icing::lib::__anon53d6ddb40111::DocHitInfoIteratorSectionRestrictTest
/external/zlib/google/
Dzip_unittest.cc143 test_dir_ = temp_dir_.GetPath(); in SetUp()
145 base::FilePath zip_path(test_dir_); in SetUp()
190 ASSERT_TRUE(zip::Unzip(path, test_dir_)); in TestUnzipFile()
196 base::FileEnumerator files(test_dir_, true, in TestUnzipFile()
212 test_dir_.AppendRelativePath(unzipped_entry_path, &relative_path); in TestUnzipFile()
215 << test_dir_.value() << " and " in TestUnzipFile()
294 base::FilePath test_dir_; member in __anon1ca3f66a0111::ZipTest
320 base::FilePath output_dir = test_dir_.AppendASCII("out"); in TEST_F()
335 base::FilePath output_dir = test_dir_.AppendASCII("out"); in TEST_F()
350 test_dir_, filter, false)); in TEST_F()
[all …]
Dzip_reader_unittest.cc148 test_dir_ = temp_dir_.GetPath(); in SetUp()
201 base::FilePath test_dir_; member in zip::ZipReaderTest
413 test_dir_.AppendASCII("test.txt"))); in TEST_F()
417 test_dir_.AppendASCII("test.txt"), &actual)); in TEST_F()
426 base::FilePath target_file = test_dir_.AppendASCII("quux.txt"); in TEST_F()
448 ASSERT_TRUE(base::ReadFileToString(test_dir_.AppendASCII("quux.txt"), in TEST_F()
464 base::FilePath target_file = test_dir_.AppendASCII("foo"); in TEST_F()
/external/angle/third_party/zlib/google/
Dzip_unittest.cc172 test_dir_ = temp_dir_.GetPath(); in SetUp()
174 base::FilePath zip_path(test_dir_); in SetUp()
216 ASSERT_TRUE(zip::Unzip(path, test_dir_)); in TestUnzipFile()
223 test_dir_, true, in TestUnzipFile()
239 test_dir_.AppendRelativePath(unzipped_entry_path, &relative_path); in TestUnzipFile()
241 LOG(ERROR) << "Append relative path failed, params: " << test_dir_ in TestUnzipFile()
325 base::FilePath test_dir_; member in __anon22ba7eb90111::ZipTest
351 base::FilePath output_dir = test_dir_.AppendASCII("out"); in TEST_F()
366 base::FilePath output_dir = test_dir_.AppendASCII("out"); in TEST_F()
381 test_dir_, filter, false)); in TEST_F()
[all …]
Dzip_reader_unittest.cc148 test_dir_ = temp_dir_.GetPath(); in SetUp()
201 base::FilePath test_dir_; member in zip::ZipReaderTest
413 test_dir_.AppendASCII("test.txt"))); in TEST_F()
417 test_dir_.AppendASCII("test.txt"), &actual)); in TEST_F()
426 base::FilePath target_file = test_dir_.AppendASCII("quux.txt"); in TEST_F()
448 ASSERT_TRUE(base::ReadFileToString(test_dir_.AppendASCII("quux.txt"), in TEST_F()
464 base::FilePath target_file = test_dir_.AppendASCII("foo"); in TEST_F()
/external/icing/icing/query/
Dquery-processor_test.cc78 : test_dir_(GetTestTempDir() + "/icing"), in QueryProcessorTest()
79 store_dir_(test_dir_ + "/store"), in QueryProcessorTest()
80 index_dir_(test_dir_ + "/index") {} in QueryProcessorTest()
83 filesystem_.DeleteDirectoryRecursively(test_dir_.c_str()); in SetUp()
126 filesystem_.DeleteDirectoryRecursively(test_dir_.c_str()); in TearDown()
130 const std::string test_dir_; member in icing::lib::__anon1c0a3fc50111::QueryProcessorTest
179 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in TEST_F()
230 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in TEST_F()
281 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in TEST_F()
357 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in TEST_F()
[all …]
/external/icing/icing/result/
Dresult-retriever_test.cc69 ResultRetrieverTest() : test_dir_(GetTestTempDir() + "/icing") { in ResultRetrieverTest()
70 filesystem_.CreateDirectoryRecursively(test_dir_.c_str()); in ResultRetrieverTest()
87 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in SetUp()
129 filesystem_.DeleteDirectoryRecursively(test_dir_.c_str()); in TearDown()
152 const std::string test_dir_; member in icing::lib::__anonb5a82b8f0111::ResultRetrieverTest
193 DocumentStore::Create(&filesystem_, test_dir_, &fake_clock_, in TEST_F()
215 DocumentStore::Create(&filesystem_, test_dir_, &fake_clock_, in TEST_F()
268 DocumentStore::Create(&filesystem_, test_dir_, &fake_clock_, in TEST_F()
317 DocumentStore::Create(&filesystem_, test_dir_, &fake_clock_, in TEST_F()
369 DocumentStore::Create(&mock_filesystem, test_dir_, &fake_clock_, in TEST_F()
[all …]
Dsnippet-retriever_test.cc82 test_dir_ = GetTestTempDir() + "/icing"; in SetUp()
83 filesystem_.CreateDirectoryRecursively(test_dir_.c_str()); in SetUp()
102 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in SetUp()
137 filesystem_.DeleteDirectoryRecursively(test_dir_.c_str()); in TearDown()
148 std::string test_dir_; member in icing::lib::__anondfa93e730111::SnippetRetrieverTest
/external/zstd/tests/gzip/
Dinit.sh372 chmod -R u+rwx "$test_dir_"
374 rm -rf "$test_dir_" || { test $__st = 0 && __st=1; }
477 test_dir_=`mktempd_ "$initial_cwd_" "$pfx_-$ME_.XXXX"` \
479 cd "$test_dir_" || fail_ "failed to cd to temporary directory"
/external/icing/icing/index/main/
Dflash-index-storage_test.cc49 test_dir_ = GetTestTempDir() + "/test_dir"; in SetUp()
50 file_name_ = test_dir_ + "/test_file.idx.index"; in SetUp()
51 ASSERT_TRUE(filesystem_.CreateDirectoryRecursively(test_dir_.c_str())); in SetUp()
55 ASSERT_TRUE(filesystem_.DeleteDirectoryRecursively(test_dir_.c_str())); in TearDown()
59 std::string test_dir_; member in icing::lib::__anonea8b392d0111::FlashIndexStorageTest
/external/icing/icing/scoring/
Dscoring-processor_test.cc49 : test_dir_(GetTestTempDir() + "/icing"), in ScoringProcessorTest()
50 doc_store_dir_(test_dir_ + "/doc_store"), in ScoringProcessorTest()
51 schema_store_dir_(test_dir_ + "/schema_store") {} in ScoringProcessorTest()
55 filesystem_.DeleteDirectoryRecursively(test_dir_.c_str()); in SetUp()
61 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in SetUp()
84 filesystem_.DeleteDirectoryRecursively(test_dir_.c_str()); in TearDown()
90 const std::string test_dir_; member in icing::lib::__anon8343db030111::ScoringProcessorTest
Dscorer_test.cc51 : test_dir_(GetTestTempDir() + "/icing"), in ScorerTest()
52 doc_store_dir_(test_dir_ + "/doc_store"), in ScorerTest()
53 schema_store_dir_(test_dir_ + "/schema_store") {} in ScorerTest()
56 filesystem_.DeleteDirectoryRecursively(test_dir_.c_str()); in SetUp()
89 filesystem_.DeleteDirectoryRecursively(test_dir_.c_str()); in TearDown()
103 const std::string test_dir_; member in icing::lib::__anond3406b0f0111::ScorerTest
/external/libchrome/components/policy/core/common/
Dconfig_dir_policy_loader_unittest.cc57 const base::FilePath& test_dir() { return test_dir_.GetPath(); } in test_dir()
70 base::ScopedTempDir test_dir_; member in policy::__anon096a724c0111::TestHarness
85 ASSERT_TRUE(test_dir_.CreateUniqueTempDir()); in SetUp()