/external/icing/icing/store/ |
D | usage-store_test.cc | 32 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 …]
|
D | document-store_test.cc | 129 : 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/ |
D | schema-store_test.cc | 67 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 …]
|
D | section-manager_test.cc | 52 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/ |
D | doc-hit-info-iterator-filter_test.cc | 52 : 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 …]
|
D | doc-hit-info-iterator-section-restrict_test.cc | 62 : 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/ |
D | zip_unittest.cc | 143 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 …]
|
D | zip_reader_unittest.cc | 148 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/ |
D | zip_unittest.cc | 172 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 …]
|
D | zip_reader_unittest.cc | 148 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/ |
D | query-processor_test.cc | 78 : 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/ |
D | result-retriever_test.cc | 69 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 …]
|
D | snippet-retriever_test.cc | 82 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/ |
D | init.sh | 372 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/ |
D | flash-index-storage_test.cc | 49 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/ |
D | scoring-processor_test.cc | 49 : 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
|
D | scorer_test.cc | 51 : 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/ |
D | config_dir_policy_loader_unittest.cc | 57 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()
|