Ejemplo n.º 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 
     {
         db = new MySQLAssetData();
         db.Initialise(connect);
     } 
     catch (Exception e)
     {
         m_log.Error(e.ToString());
         Assert.Ignore();
     }
 }
Ejemplo n.º 2
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 MySQLAssetData();
         db.Initialise(connect);
     }
     catch (Exception e)
     {
         m_log.Error(e.ToString());
         Assert.Ignore();
     }
 }