Beispiel #1
0
        protected override void TestFixtureSetUp()
        {
            using (var documentStore =
                       RavenDBUtilities.CreateNewDocumentStoreInitializeAndCreateUtilIndexes(
                           ConfigurationManager.AppSettings["DefaultConnectionString"]))
            {
                RavenDBUtilities.DeleteAllDocumentsAndWaitForStaleIndexes(documentStore);
            }

            base.TestFixtureSetUp();
        }
Beispiel #2
0
 public void TestFixtureTearDown()
 {
     RavenDBUtilities.DeleteAllDocumentsAndWaitForStaleIndexes(DependencyResolver.Current.GetService <IDocumentStore>());
 }
 public void ClearAll()
 {
     RavenDBUtilities.DeleteAllDocumentsAndWaitForStaleIndexes(_documentStore);
 }