public void OpenExistingStoreTest() { SqliteCatalogStoreManager mgr = new SqliteCatalogStoreManager(); String storePath = GetThrowawayStorePath(); using (ICatalogStore store = mgr.CreateCatalogStore(storePath, false)) { } _storesToCleanup.Add(storePath); using (ICatalogStore store = mgr.OpenCatalogStore(storePath)) { } }
public void OpenMissingStoreTest() { SqliteCatalogStoreManager mgr = new SqliteCatalogStoreManager(); String storePath = GetThrowawayStorePath(); using (ICatalogStore store = mgr.OpenCatalogStore(storePath)) { } }
public void CreateStore() { SqliteCatalogStoreManager mgr = new SqliteCatalogStoreManager(); _store = mgr.CreateCatalogStore(Path.GetTempFileName(), true); _store2 = mgr.OpenCatalogStore(_store.Uri); }