Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Console.Write("\n  Demonstrating Project #2 Requirements");
            Console.Write("\n =======================================\n");

            TestHarness.Tester tester = new TestHarness.Tester();

            TestReq3 tr3 = new TestReq3();

            tester.add(tr3);

            TestReq4 tr4 = new TestReq4();

            tester.add(tr4);

            TestReq5 tr5 = new TestReq5();

            tester.add(tr5);

            TestReq6 tr6 = new TestReq6();

            tester.add(tr6);

            TestReq7 tr7 = new TestReq7();

            tester.add(tr7);

            TestReq8 tr8 = new TestReq8();

            tester.add(tr8);

            TestReq9 tr9 = new TestReq9();

            tester.add(tr9);

            TestReq10a tr10a = new TestReq10a();

            tester.add(tr10a);

            TestReq10b tr10b = new TestReq10b();

            tester.add(tr10b);

            TestReq10c tr10c = new TestReq10c();

            tester.add(tr10c);

            tester.execute();

            Console.Write("\n\n");
        }
        static void Main(string[] args)
        {
            Console.Write("\n  Demonstrating Project #2 Requirements");
            Console.Write("\n =======================================\n");

            TestHarness.Tester tester = new TestHarness.Tester();

            TestReq3 tr3 = new TestReq3();

            tester.add(tr3);

            TestReq4 tr4 = new TestReq4();

            tester.add(tr4);

            TestReq5 tr5 = new TestReq5();

            tester.add(tr5);

            TestReq6 tr6 = new TestReq6();

            tester.add(tr6);

            tester.execute();

            //  ShowCommandLine(args);

            //  List<string> files = ProcessCommandline(args);
            //  foreach (string file in files)
            //  {
            //    Console.Write("\n  Processing file {0}\n", System.IO.Path.GetFileName(file));

            //    ITokenCollection semi = Factory.create();

            //    if (!semi.open(file as string))
            //    {
            //      Console.Write("\n  Can't open {0}\n\n", args[0]);
            //      return;
            //    }

            //    Console.Write("\n  Type and Function Analysis");
            //    Console.Write("\n ----------------------------");

            //    semi.close();
            //  }
            Console.Write("\n\n");
        }