public void TestGetAllIndexes() { var list = new List <Index>(); using (IRepository repo = new SQLiteRepository(chinookConnectionString)) { list = repo.GetAllIndexes(); } Assert.IsTrue(list.Count == 22); Assert.IsTrue(list[0].IndexName == "IFK_AlbumArtistId"); }
public void TestGetAllIndexes2() { var list = new List<Index>(); using (IRepository repo = new SQLiteRepository(infoConnectionString)) { list = repo.GetAllIndexes(); } Assert.IsTrue(list.Count == 0); }
public void TestGetAllIndexes() { var list = new List<Index>(); using (IRepository repo = new SQLiteRepository(chinookConnectionString)) { list = repo.GetAllIndexes(); } Assert.IsTrue(list.Count == 22); Assert.IsTrue(list[0].IndexName == "IFK_AlbumArtistId"); }