Beispiel #1
0
 public void TestInitialize()
 {
     if (Directory.Exists("MRStudio\\") && File.Exists("MRStudio\\MyData.db"))
     {
         File.Delete("MRStudio\\MyData.db");
     }
     else
     {
         Directory.CreateDirectory("MRStudio\\");
     }
     dbHelper.AddAdminUser("admin", "admin");
     dbHelper.AddStandardUser("Arun", "Hello");
     loginDBHelper = new LoginDBHelper();
 }
Beispiel #2
0
 public void TestInitialize()
 {
     dbHelper.AddAdminUser("admin", "admin");
     dbHelper.AddStandardUser("Arun", "Hello");
     mainDBHelper = new MainDBHelper();
 }