private void verifyLogTableData(KeyValuePair <string, List <string> > table) { var rows = TestDB.runSQLQuery(config, String.Format("SELECT COUNT(*) AS COUNT FROM ecpr_{0}_logs", table.Key)); var count = rows.First(); Debug.Assert((int)count.Value == nRows); }
public void countTables() { foreach (var table in TestQuery.TEST_QUERY) { var rows = TestDB.runSQLQuery(config, String.Format("SELECT COUNT(*) AS COUNT FROM {0}", table.Key)); var count = rows.First(); Console.WriteLine("Table: {0} - Count: {1}", table.Key, count.Value); } }