protected override void TestFixtureSetUp() { using (var documentStore = RavenDBUtilities.CreateNewDocumentStoreInitializeAndCreateUtilIndexes( ConfigurationManager.AppSettings["DefaultConnectionString"])) { RavenDBUtilities.DeleteAllDocumentsAndWaitForStaleIndexes(documentStore); } base.TestFixtureSetUp(); }
public void TestFixtureTearDown() { RavenDBUtilities.DeleteAllDocumentsAndWaitForStaleIndexes(DependencyResolver.Current.GetService <IDocumentStore>()); }
public void ClearAll() { RavenDBUtilities.DeleteAllDocumentsAndWaitForStaleIndexes(_documentStore); }