示例#1
0
        public void TestConnectionOpen()
        {
            CreateResult result = SQLiteDatabase.Create(Constants.databaseFilePath);

            Assert.AreEqual(CreateResult.Create, result);

            _database = new SQLiteDatabase(Constants.databaseFilePath);
            OpenResult openResult = _database.Open();

            Assert.AreEqual(OpenResult.Open, openResult);
        }