public void TestGetIndexesFromTable() { var list = new List <Index>(); using (IRepository repo = new SQLiteRepository(chinookConnectionString)) { list = repo.GetIndexesFromTable("Album"); } Assert.IsTrue(list.Count == 2); Assert.IsTrue(list[1].IndexName == "IPK_Album"); }
public void TestGetIndexesFromTable() { var list = new List<Index>(); using (IRepository repo = new SQLiteRepository(chinookConnectionString)) { list = repo.GetIndexesFromTable("Album"); } Assert.IsTrue(list.Count == 2); Assert.IsTrue(list[1].IndexName == "IPK_Album"); }