Esempio n. 1
0
    protected override void Run()
    {
      Test xTest;

      var xATA = new Cosmos.HAL.BlockDevice.AtaPio(Cosmos.Core.Global.BaseIOGroups.ATA1
        , Cosmos.HAL.BlockDevice.Ata.ControllerIdEnum.Primary
        , Cosmos.HAL.BlockDevice.Ata.BusPositionEnum.Master);
      UInt64 xBlockSize = xATA.BlockSize;

      Console.WriteLine("Running FieldInitTest");
      xTest = new FieldInitTest();
      xTest.Run();

      Console.WriteLine("Running ListTest");
      xTest = new ListTest();
      xTest.Run();
      Console.WriteLine("Running NullableTest");
      xTest = new NullableTest();
      xTest.Run();

      Console.WriteLine("Running Int64Test");
      xTest = new Int64Test();
      xTest.Run();

      Console.WriteLine("Running Trace1");
      Trace1();
      Console.WriteLine("Running TestSB");
      TestSB();
      Console.WriteLine("Running TestStringCtor");
      TestStringCtor();
      Console.WriteLine("Running TestCompare");
      TestCompare();

      Console.WriteLine("Running TestATA");
      //TestATA();

      Console.WriteLine("Press enter.");
      Console.ReadLine();
      Stop();
    }
Esempio n. 2
0
        protected override void Run()
        {
            Test xTest;

            var xATA = new Cosmos.HAL.BlockDevice.AtaPio(Cosmos.Core.Global.BaseIOGroups.ATA1
                                                         , Cosmos.HAL.BlockDevice.Ata.ControllerIdEnum.Primary
                                                         , Cosmos.HAL.BlockDevice.Ata.BusPositionEnum.Master);
            UInt64 xBlockSize = xATA.BlockSize;

            Console.WriteLine("Running FieldInitTest");
            xTest = new FieldInitTest();
            xTest.Run();

            Console.WriteLine("Running ListTest");
            xTest = new ListTest();
            xTest.Run();
            Console.WriteLine("Running NullableTest");
            xTest = new NullableTest();
            xTest.Run();

            Console.WriteLine("Running Int64Test");
            xTest = new Int64Test();
            xTest.Run();

            Console.WriteLine("Running Trace1");
            Trace1();
            Console.WriteLine("Running TestSB");
            TestSB();
            Console.WriteLine("Running TestStringCtor");
            TestStringCtor();
            Console.WriteLine("Running TestCompare");
            TestCompare();

            Console.WriteLine("Running TestATA");
            //TestATA();

            Console.WriteLine("Press enter.");
            Console.ReadLine();
            Stop();
        }