Example #1
0
        protected wahdvlib(string strRealmName)
        {
            strRealm = strRealmName;

            wahdal = new WAHDataAccessLayer();

            CurrentAllianceAuction = new ConcurrentDictionary<UInt64, auctionItem>();
            CurrentHordeAuction = new ConcurrentDictionary<UInt64, auctionItem>();
            CurrentNeutralAuction = new ConcurrentDictionary<UInt64, auctionItem>();
        }
Example #2
0
 public void TestGetLastModified()
 {
     WAHDataAccessLayer dal = new WAHDataAccessLayer();
     UInt64 lastModified = (UInt64)dal.GetLastModified("Moonglade");
     Assert.AreEqual(lastModified, (UInt64)1367302826000);
 }
Example #3
0
 public void TestDBConnection()
 {
     WAHDataAccessLayer dal = new WAHDataAccessLayer();
     System.Data.SqlClient.SqlConnection conn = dal.GetDBConnection();
     Assert.IsTrue(conn.State == System.Data.ConnectionState.Open);
 }