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 NHibernateUserData();
         db.Initialise(connect);
         database = ((NHibernateUserData)db).Manager;
     } 
     catch (Exception e)
     {
         m_log.Error(e.ToString());
         Assert.Ignore();
     }
 }
Exemple #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
     {
         db = new NHibernateUserData();
         db.Initialise(connect);
         database = ((NHibernateUserData)db).Manager;
     }
     catch (Exception e)
     {
         m_log.Error(e.ToString());
         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 
     {
         string connect = "SQLiteDialect;SQLite20Driver;Data Source=" + Path.GetTempFileName() + ".db;Version=3"; 
         
         db = new NHibernateUserData();
         db.Initialise(connect);
         database = ((NHibernateUserData)db).Manager;
     } 
     catch (Exception e)
     {
         m_log.Error(e.ToString());
         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
            {
                string connect = "SQLiteDialect;SQLite20Driver;Data Source=" + Path.GetTempFileName() + ".db;Version=3";

                db = new NHibernateUserData();
                db.Initialise(connect);
                database = ((NHibernateUserData)db).Manager;
            }
            catch (Exception e)
            {
                m_log.Error(e.ToString());
                Assert.Ignore();
            }
        }