Example #1
0
 public virtual void TearDown()
 {
     if (systemIO.DirectoryExists(this.DATAFOLDER))
     {
         systemIO.DirectoryDelete(this.DATAFOLDER, true);
     }
     if (systemIO.DirectoryExists(this.TARGETFOLDER))
     {
         systemIO.DirectoryDelete(this.TARGETFOLDER, true);
     }
     if (systemIO.DirectoryExists(this.RESTOREFOLDER))
     {
         systemIO.DirectoryDelete(this.RESTOREFOLDER, true);
     }
     if (systemIO.FileExists(this.LOGFILE))
     {
         systemIO.FileDelete(this.LOGFILE);
     }
     if (systemIO.FileExists(this.DBFILE))
     {
         systemIO.FileDelete(this.DBFILE);
     }
     if (systemIO.FileExists($"{this.DBFILE}-journal"))
     {
         systemIO.FileDelete($"{this.DBFILE}-journal");
     }
 }