Ejemplo n.º 1
0
        public bool RunTests()
        {
            bool retVal = true;

            ListOfTickets_TEST lot = new ListOfTickets_TEST();
            if (!lot.RunTests())
            {
                Console.WriteLine("\n\nFAILED ONE OR MORE TESTSListOfTicketsts\n\n");
                retVal = false;
            }

            Helpdesk_TEST hdmT = new Helpdesk_TEST();
            if (!hdmT.RunTests())
            {
                Console.WriteLine("\n\nFAILED ONE OR MORE TESTS: Helpdesk\n");
                retVal = false;
            }

            return retVal;
        }
Ejemplo n.º 2
0
        public bool RunTests()
        {
            bool retVal = true;

            ListOfTickets_TEST lot = new ListOfTickets_TEST();

            if (!lot.RunTests())
            {
                Console.WriteLine("\n\nFAILED ONE OR MORE TESTSListOfTicketsts\n\n");
                retVal = false;
            }

            Helpdesk_TEST hdmT = new Helpdesk_TEST();

            if (!hdmT.RunTests())
            {
                Console.WriteLine("\n\nFAILED ONE OR MORE TESTS: Helpdesk\n");
                retVal = false;
            }

            return(retVal);
        }