예제 #1
0
 public void Init()
 {
     SuperInit();
     // If we manage to connect to the database with the user
     // and password above it is our test database, and run
     // these tests.  If anything goes wrong, ignore these
     // tests.
     try 
     {
         database = new MySQLManager(connect);
         db = new MySQLInventoryData();
         db.Initialise(connect);
     } 
     catch (Exception e)
     {
         m_log.Error("Exception {0}", e);
         Assert.Ignore();
     }
 }
 public void Init()
 {
     SuperInit();
     // If we manage to connect to the database with the user
     // and password above it is our test database, and run
     // these tests.  If anything goes wrong, ignore these
     // tests.
     try
     {
         database = new MySQLManager(connect);
         db       = new MySQLInventoryData();
         db.Initialise(connect);
     }
     catch (Exception e)
     {
         m_log.Error("Exception {0}", e);
         Assert.Ignore();
     }
 }