Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            var testsRunner  = new TestsRunner();
            var file         = "Tests.txt";
            var prepareTests = new PrepareTests();

//            prepareTests.Prepare(file, 100, 100, 10000);
//            prepareTests.Prepare(file, 5, 10, 15);

            var testCollections = prepareTests.ParseTestsToCollection(file);

            testsRunner.Run(testCollections, "CollectionResults.txt");

            var testLinkedCollections = prepareTests.ParseTestsToLinkedCollection(file);

            testsRunner.Run(testLinkedCollections, "LinkedCollectionResults.txt");

//            showCollection(testLinkedCollections[0]);
//            Console.WriteLine("The Same Collection sorted as List");
//            showCollection(testCollections[0]);

            void showCollection(IEnumerable <int> collection)
            {
                foreach (var e in collection)
                {
                    Console.WriteLine(" {0} ", e);
                }

                Console.WriteLine("\n");
            }
        }
Ejemplo n.º 2
0
 public void DeliveryEnv_RestoreExecuted()
 {
     TestsRunner.RunTestsForeachDBType <DeliveryEnv_Restore_API, DeliveryEnv_Restore_CLI, DeliveryEnv_Restore_UI>();
 }
Ejemplo n.º 3
0
 public void ChangeProjectId()
 {
     TestsRunner.RunTests <SerchProjectText_UI>();
 }
Ejemplo n.º 4
0
 public void GetDBTypes()
 {
     TestsRunner.RunTests <GetDBTypes_API, GetDBTypes_CLI>();
 }
Ejemplo n.º 5
0
 public void DevEnv_SetDBToSpecificState_IgnoreWarning()
 {
     TestsRunner.RunTestsForeachDBType <DevEnv_SetDBToSpecificState_IgnoreWarning_API, DevEnv_SetDBToSpecificState_IgnoreWarning_UI>();
 }
Ejemplo n.º 6
0
 public void DevEnv_InitDB()
 {
     TestsRunner.RunTestsForeachDBType <DevEnv_InitDB_API, DevEnv_InitDB_CLI, DevEnv_InitDB_UI>();
 }
Ejemplo n.º 7
0
 public void GetProjectsList()
 {
     TestsRunner.RunTests <GetProjectsList_API, GetProjectsList_CLI>();
 }
Ejemplo n.º 8
0
 public void DevEnv_Restore_Recreate()
 {
     TestsRunner.RunTestsForeachDBType <DevEnv_Restore_Recreate_API, DevEnv_Restore_Recreate_CLI, DevEnv_Restore_Recreate_UI>();
 }
Ejemplo n.º 9
0
 public void DeliveryEnv_NotAollowMethods_New_DevDummyData()
 {
     TestsRunner.RunTestsForeachDBType <DeliveryEnv_NotAllowMethods_New_DevDummyData_API, DeliveryEnv_NotAllowMethods_New_DevDummyData_CLI, DeliveryEnv_NotAllowMethods_New_DevDummyData_UI>();
 }
Ejemplo n.º 10
0
 public void DeliveryEnv_NotAollowMethods_New_Repeatable()
 {
     TestsRunner.RunTestsForeachDBType <DeliveryEnv_NotAllowMethods_New_Repeatable_API, DeliveryEnv_NotAllowMethods_New_Repeatable_CLI, DeliveryEnv_NotAllowMethods_New_Repeatable_UI>();
 }
Ejemplo n.º 11
0
 public void DeliveryEnv_NotAollowMethods_New_Incremental()
 {
     TestsRunner.RunTestsForeachDBType <DeliveryEnv_NotAllowMethods_New_Incremental_API, DeliveryEnv_NotAllowMethods_New_Incremental_CLI, DeliveryEnv_NotAllowMethods_New_Incremental_UI>();
 }
Ejemplo n.º 12
0
 public void DeliveryEnv_NotAollowMethods_InitDB()
 {
     TestsRunner.RunTestsForeachDBType <DeliveryEnv_NotAllowMethods_InitDB_API, DeliveryEnv_NotAllowMethods_InitDB_CLI, DeliveryEnv_NotAllowMethods_InitDB_UI>();
 }
Ejemplo n.º 13
0
 public void DeliveryEnv_NotAollowMethods_VirtualDDD()
 {
     TestsRunner.RunTestsForeachDBType <DeliveryEnv_NotAllowMethods_VirtualDDD_API, DeliveryEnv_NotAllowMethods_VirtualDDD_CLI, DeliveryEnv_NotAllowMethods_VirtualDDD_UI>();
 }
Ejemplo n.º 14
0
 public void DeliveryEnv_NotAollowMethods_SetDBToSpecificState()
 {
     TestsRunner.RunTestsForeachDBType <DeliveryEnv_NotAllowMethods_SetDBToSpecificState_API, DeliveryEnv_NotAllowMethods_SetDBToSpecificState_UI>();
 }
Ejemplo n.º 15
0
 public void DeliveryEnv_NotAollowMethods_Deploy()
 {
     TestsRunner.RunTestsForeachDBType <DeliveryEnv_NotAllowMethods_Deploy_API, DeliveryEnv_NotAllowMethods_Deploy_CLI, DeliveryEnv_NotAllowMethods_Deploy_UI>();
 }
Ejemplo n.º 16
0
 public void Init_DeliveryEnv_AllProperties()
 {
     TestsRunner.RunTests <Init_DeliveryEnv_AllProperties_API, Init_DeliveryEnv_AllProperties_CLI, Init_DeliveryEnv_AllProperties_UI>();
 }
Ejemplo n.º 17
0
 public void DevEnv_Restore_SyncDB()
 {
     TestsRunner.RunTestsForeachDBType <DevEnv_Restore_SyncDB_API, DevEnv_Restore_SyncDB_CLI, DevEnv_Restore_SyncDB_UI>();
 }
Ejemplo n.º 18
0
 public void DevEnv_Recreate_EmptyDB()
 {
     TestsRunner.RunTestsForeachDBType <DevEnv_Recreate_EmptyDB_API, DevEnv_Recreate_EmptyDB_CLI, DevEnv_Recreate_EmptyDB_UI>();
 }
Ejemplo n.º 19
0
 public void DevEnv_Restore_SetDBToSpecificState()
 {
     TestsRunner.RunTestsForeachDBType <DevEnv_Restore_SetDBToSpecificState_API, DevEnv_Restore_SetDBToSpecificState_UI>();
 }
Ejemplo n.º 20
0
 public void DevEnv_Recreate_DBInMiddleState()
 {
     TestsRunner.RunTestsForeachDBType <DevEnv_Recreate_DBInMiddleState_API, DevEnv_Recreate_DBInMiddleState_CLI, DevEnv_Recreate_DBInMiddleState_UI>();
 }
 public void GetProjectConfigById_DeliveryEnv()
 {
     TestsRunner.RunTests <GetProjectConfigById_DeliveryEnv_API, GetProjectConfigById_DeliveryEnv_CLI>();
 }
Ejemplo n.º 22
0
 public void DeliveryEnv_Virtual_EmptyDB()
 {
     TestsRunner.RunTestsForeachDBType <DeliveryEnv_Virtual_EmptyDB_API, DeliveryEnv_Virtual_EmptyDB_CLI, DeliveryEnv_Virtual_EmptyDB_UI>();
 }
Ejemplo n.º 23
0
 public void DevEnv_SetDBToSpecificState_TargetMiddleState()
 {
     TestsRunner.RunTestsForeachDBType <DevEnv_SetDBToSpecificState_TargetMiddleState_API, DevEnv_SetDBToSpecificState_TargetMiddleState_UI>();
 }
Ejemplo n.º 24
0
 public void DeliveryEnv_Virtual_EmptyDBExceptSystemTables()
 {
     TestsRunner.RunTestsForeachDBType <DeliveryEnv_Virtual_EmptyDBWithSystemTables_API, DeliveryEnv_Virtual_EmptyDBWithSystemTables_CLI, DeliveryEnv_Virtual_EmptyDBWithSystemTables_UI>();
 }
 public void DevEnv_VirtualDDD()
 {
     TestsRunner.RunTestsForeachDBType <DevEnv_VirtualDDD_API, DevEnv_VirtualDDD_CLI, DevEnv_VirtualDDD_UI>();
 }
Ejemplo n.º 26
0
 public void DeliveryEnv_Virtual_MiddleState()
 {
     TestsRunner.RunTestsForeachDBType <DeliveryEnv_Virtual_MiddleState_API, DeliveryEnv_Virtual_MiddleState_CLI, DeliveryEnv_Virtual_MiddleState_UI>();
 }
Ejemplo n.º 27
0
 public void DevEnv_Files_RepeatableChanged()
 {
     TestsRunner.RunTestsForeachDBType <DevEnv_Files_RepeatableChanged_API, DevEnv_Files_RepeatableChanged_All_CLI, DevEnv_Files_RepeatableChanged_Incremental_CLI, DevEnv_Files_RepeatableChanged_Repeatable_CLI, DevEnv_Files_RepeatableChanged_DevDummyData_CLI, DevEnv_Files_RepeatableChanged_UI>();
 }
Ejemplo n.º 28
0
 public void Init_DeliveryEnv_WithDefaults()
 {
     TestsRunner.RunTests <Init_DeliveryEnv_WithDefaults_API, Init_DeliveryEnv_WithDefaults_CLI>();
 }
Ejemplo n.º 29
0
 public void DeleteProject()
 {
     TestsRunner.RunTests <DeleteProject_UI>();
 }
Ejemplo n.º 30
0
 public void DeliveryEnv_SyncDB_DBInFinalState_RepeatableChanged()
 {
     TestsRunner.RunTestsForeachDBType <DeliveryEnv_SyncDB_DBInFinalState_RepeatableChanged_API, DeliveryEnv_SyncDB_DBInFinalState_RepeatableChanged_CLI, DeliveryEnv_SyncDB_DBInFinalState_RepeatableChanged_UI>();
 }