Пример #1
0
 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");
 }
Пример #2
0
    public void TestGetAllTablesSchemaBug()
    {
        var list = new List <string>();

        using (IRepository repo = new SQLiteRepository(testSchemaBugConnectionString))
        {
            var views = repo.GetAllColumns();
        }
        Assert.IsTrue(list.Count == 1);
    }
Пример #3
0
    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");
    }
Пример #4
0
    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);
    }