예제 #1
0
        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);
        }
예제 #2
0
        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);
            }
        }