Exemple #1
0
 public void DefaultConstructDatabaseAddress()
 {
     Asat.Tools.DatabaseAddress dba = new Asat.Tools.DatabaseAddress();
     Assert.AreEqual(dba.GetServerName(), string.Empty);
     Assert.AreEqual(dba.GetDatabaseName(), string.Empty);
 }
Exemple #2
0
 public void SpecifiedConstructDatabaseAddress()
 {
     Asat.Tools.DatabaseAddress dba = new Asat.Tools.DatabaseAddress("a", "b");
     Assert.AreEqual(dba.GetServerName(), "a");
     Assert.AreEqual(dba.GetDatabaseName(), "b");
 }