コード例 #1
0
        public static void MyClassInitialize(TestContext testContext)
        {
            var db = new Database("test.db");
            countryDataHelper = new CountryDataHelper();
            routeNodeDataHelper = new RouteNodeDataHelper();

            nz = new Country { Name = "New Zealand", Code = "NZ" };
            aus = new Country { Name = "Australia", Code = "AUS" };
            db.ClearTable("countries");

            countryDataHelper.Create(nz);
            countryDataHelper.Create(aus);
        }