Exemple #1
0
 public void TestGetAllViews()
 {
     var list = new List<View>();
     using (IRepository repo = new SQLiteRepository(infoConnectionString))
     {
         list = repo.GetAllViews();
     }
     Assert.IsTrue(list.Count == 3);
 }
    public void TestGetAllViews()
    {
        var list = new List <View>();

        using (IRepository repo = new SQLiteRepository(infoConnectionString))
        {
            list = repo.GetAllViews();
        }
        Assert.IsTrue(list.Count == 3);
    }
    public void TestGetAllViewColumnsBug()
    {
        var list = new List <View>();

        using (IRepository repo = new SQLiteRepository(viewColBugConnectionString))
        {
            list = repo.GetAllViews();
        }
        Assert.AreEqual(1, list.Count);
    }
    public void TestGetAllViewColumnsComputed()
    {
        var list = new List <View>();

        using (IRepository repo = new SQLiteRepository(viewComputedColConnectionString))
        {
            list = repo.GetAllViews();
        }
        Assert.IsTrue(list.Count == 1);
    }