public DBArtistTest()
        {
            db = new DBAccess();
            db.Open();
            db.ClearDatabase();

        }
 public DBMovieTest() {
     db = new DBAccess();
     db.Open();
     db.ClearDatabase();
     
 }
 public DBDirectorTest() {
     db = new DBAccess();
     db.Open();
     db.ClearDatabase();
     
 }
Esempio n. 4
0
 public DBUserTest() {
     db = new DBAccess();
     db.Open();
     db.ClearDatabase(); //Clears the database, and initialises it to a test state
 }