public static int Main(string[] args)
        {
            int Test  = 1;
            var tests = new SQLiteClientTestDriver();

            if (args.Length > 0)
            {
                double number;

                if (double.TryParse(args[0], out number))
                {
                    Test = Convert.ToInt32(number);
                }
            }

            switch (Test)
            {
            case 1:
                tests.Test1();
                break;

            case 2:
                tests.Test2();
                break;

            case 3:
                tests.Test3();
                break;

            case 4:
                tests.Test4();
                break;

            case 5:
                tests.Test5();
                break;

            case 6:
                tests.Test6();
                break;

            case 7:
                tests.Test7();
                break;

            case 8:
                //tests.Test8(); // Not Implemented
                break;

            case 65:
                tests.Issue_65();
                break;

            case 76:
                tests.Issue_76();
                break;

            case 86:
                tests.Issue_86();
                break;

            case 119:
                tests.Issue_119();
                break;

            case 124:
                tests.Issue_124();
                break;

            case 149:
                tests.Issue_149();
                break;
            }

            /*tests.Test1();
            *  tests.Test2();
            *  tests.Test3();
            *  tests.Test4();
            *  tests.Test5();
            *  tests.Test6();
            *  tests.Test7();*/
            //tests.Test8();

            /*tests.Issue_65();
             * tests.Issue_76();
             * tests.Issue_86();
             * tests.Issue_119();
             * tests.Issue_124();
             * tests.Issue_149();*/

            Console.WriteLine("Press Enter to Continue");
            Console.ReadKey();
            tests = null;

            return(0);
        }
        public static int Main(string[] args)
        {
            int Test = 1;
            var tests = new SQLiteClientTestDriver();

            if(args.Length > 0)
            {
                double number;

                if(double.TryParse(args[0], out number))
                    Test = Convert.ToInt32(number);
            }

            switch(Test)
            {
                case 1:
                    tests.Test1();
                    break;
                case 2:
                    tests.Test2();
                    break;
                case 3:
                    tests.Test3();
                    break;
                case 4:
                    tests.Test4();
                    break;
                case 5:
                    tests.Test5();
                    break;
                case 6:
                    tests.Test6();
                    break;
                case 7:
                    tests.Test7();
                    break;
                case 8:
                    //tests.Test8(); // Not Implemented
                    break;
                case 65:
                    tests.Issue_65();
                    break;
                case 76:
                    tests.Issue_76();
                    break;
                case 86:
                    tests.Issue_86();
                    break;
                case 119:
                    tests.Issue_119();
                    break;
                case 124:
                    tests.Issue_124();
                    break;
                case 149:
                    tests.Issue_149();
                    break;
            }

            /*tests.Test1();
            tests.Test2();
            tests.Test3();
            tests.Test4();
            tests.Test5();
            tests.Test6();
            tests.Test7();*/
            //tests.Test8();
            /*tests.Issue_65();
            tests.Issue_76();
            tests.Issue_86();
            tests.Issue_119();
            tests.Issue_124();
            tests.Issue_149();*/

            Console.WriteLine("Press Enter to Continue");
            Console.ReadKey();
            tests = null;

            return 0;
        }
Ejemplo n.º 3
0
    public static int Main( string[] args )
    {
      SQLiteClientTestDriver tests = new SQLiteClientTestDriver();

      int Test = 1;
      switch ( Test )
      {
        case 1:
          tests.Test1();
          break;
        case 2:
          tests.Test2();
          break;
        case 3:
          tests.Test3();
          break;
        case 4:
          tests.Test4();
          break;
        case 5:
          tests.Test5();
          break;
        case 6:
          tests.Test6();
          break;
        case 7:
          tests.Test7();
          break;
        case 8:
          tests.Test8();
          break;
        case 65:
          tests.Issue_65();
          break;
        case 76:
          tests.Issue_76();
          break;
        case 86:
          tests.Issue_86();
          break;
        case 119:
          tests.Issue_119();
          break;
        case 124:
          tests.Issue_124();
          break;
        case 149:
          tests.Issue_149();
          break;
      }
      Console.WriteLine( "Press Enter to Continue" );
      Console.ReadKey();
      tests = null;

      return 0;
    }
        public static int Main(string[] args)
        {
            SQLiteClientTestDriver tests = new SQLiteClientTestDriver();

            int Test = 1;

            switch (Test)
            {
            case 1:
                tests.Test1();
                break;

            case 2:
                tests.Test2();
                break;

            case 3:
                tests.Test3();
                break;

            case 4:
                tests.Test4();
                break;

            case 5:
                tests.Test5();
                break;

            case 6:
                tests.Test6();
                break;

            case 7:
                tests.Test7();
                break;

            case 8:
                tests.Test8();
                break;

            case 65:
                tests.Issue_65();
                break;

            case 76:
                tests.Issue_76();
                break;

            case 86:
                tests.Issue_86();
                break;

            case 119:
                tests.Issue_119();
                break;

            case 124:
                tests.Issue_124();
                break;

            case 149:
                tests.Issue_149();
                break;
            }
            Console.WriteLine("Press Enter to Continue");
            Console.ReadKey();
            tests = null;

            return(0);
        }