Example #1
0
        public void AddVHR_NegativeID()
        {
            DBConnection_Accessor db = new DBConnection_Accessor();
            String[] D = new String[] { "-5", "22", "", "", "", "" };
            MakeVHR_Accessor mc = new MakeVHR_Accessor(D, db.GetDB());
            TestingFunctions t = new TestingFunctions(db.GetDB());

            MakeVehicle_Accessor mp = new MakeVehicle_Accessor(D, db.GetDB());
            try
            {
                t.DeleteVHR(-5);
            }
            catch (Exception)
            {

            }
            mc.CreateVHR();
        }
Example #2
0
        public void AddVHR_NegativeID()
        {
            DBConnection_Accessor db = new DBConnection_Accessor();

            String[]         D  = new String[] { "-5", "22", "", "", "", "" };
            MakeVHR_Accessor mc = new MakeVHR_Accessor(D, db.GetDB());
            TestingFunctions t  = new TestingFunctions(db.GetDB());

            MakeVehicle_Accessor mp = new MakeVehicle_Accessor(D, db.GetDB());

            try
            {
                t.DeleteVHR(-5);
            }
            catch (Exception)
            {
            }
            mc.CreateVHR();
        }
Example #3
0
        public void AddVHR_NormalPath()
        {
            DBConnection_Accessor db = new DBConnection_Accessor();

            String[]         D  = new String[] { "1", "22", "123", "123", "123", "123" };
            MakeVHR_Accessor mc = new MakeVHR_Accessor(D, db.GetDB());
            TestingFunctions t  = new TestingFunctions(db.GetDB());

            MakeVehicle_Accessor mp = new MakeVehicle_Accessor(D, db.GetDB());

            try
            {
                t.DeleteVHR(1);
            }
            catch (Exception)
            {
            }
            mc.CreateVHR();
        }
Example #4
0
        public void AddVHR_NormalPath()
        {
            DBConnection_Accessor db = new DBConnection_Accessor();

            String[] D = new String[] { "1", "22", "123", "123", "123", "123" };
            MakeVHR_Accessor mc = new MakeVHR_Accessor(D, db.GetDB());
            TestingFunctions t = new TestingFunctions(db.GetDB());

            MakeVehicle_Accessor mp = new MakeVehicle_Accessor(D, db.GetDB());
            try
            {
                t.DeleteVHR(1);
            }
            catch (Exception)
            {

            }
            mc.CreateVHR();
        }