public void DatabaseCenter_Initialize_CloseThenOpen() { DatabaseCenter database = DatabaseCenter.Singelton; Assert.IsNotNull(database); Assert.IsTrue(database.Initialize()); database.Close(); Assert.IsTrue(database.Initialize()); }
public void DatabaseCenter_Initialize_Valid() { DatabaseCenter database = DatabaseCenter.Singelton; Assert.IsNotNull(database); Assert.IsTrue(database.Initialize()); }
public void DatabaseCenter_Initialize_Invalid() { DatabaseCenter database = DatabaseCenter.Singelton; Assert.IsNotNull(database); Assert.IsFalse(database.Initialize("")); }
private DatabaseCenter GetInst() { DatabaseCenter database = DatabaseCenter.Singelton; database.Initialize(); return(database); }