public void TestGetAllColumns2() { var list = new List<Column>(); using (IRepository repo = new SQLiteRepository(infoConnectionString)) { list = repo.GetAllColumns(); } Assert.IsTrue(list.Count == 68); Assert.IsTrue(list[0].DataType == "integer"); }
public void TestGetAllTablesSchemaBug() { var list = new List <string>(); using (IRepository repo = new SQLiteRepository(testSchemaBugConnectionString)) { var views = repo.GetAllColumns(); } Assert.IsTrue(list.Count == 1); }
public void TestGetAllColumns2() { var list = new List <Column>(); using (IRepository repo = new SQLiteRepository(infoConnectionString)) { list = repo.GetAllColumns(); } Assert.IsTrue(list.Count == 68); Assert.IsTrue(list[0].DataType == "integer"); }
public void TestGetAllColumns() { var list = new List <Column>(); using (IRepository repo = new SQLiteRepository(chinookConnectionString)) { list = repo.GetAllColumns(); } Assert.AreEqual(67, list.Count); Assert.AreEqual("bigint", list[0].DataType); }