public void OneTimeSetUp()
        {
            var tcDatabase = new TCDatabase();

            tcDatabase.InitializeDatabase();
            tcDatabase.InitializeCenterTypesTable();
        }
Exemple #2
0
        private static void InitializeDatabase()
        {
            var tcDatabase = new TCDatabase();

            tcDatabase.InitializeDatabase();
            tcDatabase.InitializeCenterTypesTable();
            tcDatabase.InitializeCentersTable();
            tcDatabase.InitializeAppointmentsTable();
        }
Exemple #3
0
        public void InitializeCentersTable()
        {
            //Setup fixture
            var sut = new TCDatabase();

            //SUT
            sut.InitializeCentersTable();

            //Verify outcomes
            var centerTypes = Helpers.LoadJsonFile().Tables["Centers"];

            Assert.AreEqual(centerTypes.Rows.Count, RowsCount("Center"));
        }
Exemple #4
0
        public void OneTimeSetUp()
        {
            var tcDatabase = new TCDatabase();

            tcDatabase.InitializeDatabase();
        }