• Home
  • Raw
  • Download

Lines Matching refs:temp_dir

3394         let temp_dir = TempDir::new("persistent_db_test")?;  in test_persistence_for_files()  localVariable
3395 let mut db = KeystoreDB::new(temp_dir.path(), None)?; in test_persistence_for_files()
3401 let db = KeystoreDB::new(temp_dir.path(), None)?; in test_persistence_for_files()
3535 let temp_dir = in test_remove_expired_certs() localVariable
3537 let mut db = new_test_db_with_gc(temp_dir.path(), |_, _| Ok(()))?; in test_remove_expired_certs()
4486 let temp_dir = Arc::new(TempDir::new("test_upgrade_0_to_1").unwrap()); in test_upgrade_0_to_1() localVariable
4487 let mut db = KeystoreDB::new(temp_dir.path(), None).unwrap(); in test_upgrade_0_to_1()
4631 let temp_dir = Arc::new(TempDir::new("id_lock_test")?); in test_insert_and_load_full_keyentry_domain_app_concurrently() localVariable
4632 let temp_dir_clone = temp_dir.clone(); in test_insert_and_load_full_keyentry_domain_app_concurrently()
4633 let mut db = KeystoreDB::new(temp_dir.path(), None)?; in test_insert_and_load_full_keyentry_domain_app_concurrently()
4663 let temp_dir = temp_dir_clone; in test_insert_and_load_full_keyentry_domain_app_concurrently() localVariable
4664 let mut db = KeystoreDB::new(temp_dir.path(), None).unwrap(); in test_insert_and_load_full_keyentry_domain_app_concurrently()
4704 let temp_dir = in test_database_busy_error_code() localVariable
4707 let mut db1 = KeystoreDB::new(temp_dir.path(), None).expect("Failed to open database1."); in test_database_busy_error_code()
4708 let mut db2 = KeystoreDB::new(temp_dir.path(), None).expect("Failed to open database2."); in test_database_busy_error_code()
4737 let temp_dir = Arc::new( in test_large_number_of_concurrent_db_manipulations() localVariable
4746 new_test_db_with_gc(temp_dir.path(), |_, _| Ok(())).expect("Failed to open database."); in test_large_number_of_concurrent_db_manipulations()
4762 let temp_dir1 = temp_dir.clone(); in test_large_number_of_concurrent_db_manipulations()
4792 let temp_dir2 = temp_dir.clone(); in test_large_number_of_concurrent_db_manipulations()
4816 let temp_dir4 = temp_dir.clone(); in test_large_number_of_concurrent_db_manipulations()
4847 let temp_dir = TempDir::new("list_test")?; in list() localVariable
4848 let mut db = KeystoreDB::new(temp_dir.path(), None)?; in list()