예제 #1
0
 static void showStatistics(CmisTestRunner testRunner)
 {
     logger.log();
     logger.log("Finished");
     logger.log("------------------------------------------------------");
     logger.log("Total passed:   " + testRunner.GeneralStatistics.PassedCount);
     logger.log("Total failed:   " + testRunner.GeneralStatistics.FailedCount);
     logger.log("Total skipped:  " + testRunner.GeneralStatistics.SkippedCount);
     logger.log("Total executed: " + testRunner.GeneralStatistics.TotalCount);
     logger.log("------------------------------------------------------");
     logger.log("Totally spent time: " + testRunner.GeneralStatistics.TotalSpentTime + " ms");
     logger.log();
     logger.log();
 }
예제 #2
0
        static void Main(string[] args)
        {
            configureLogger();

            writeHeader();

            string[] testingServices = getTestingServices();

            CmisTestRunner testRunner = new CmisTestRunner();

            foreach (string service in testingServices)
            {
                Object test;
                if (tests.TryGetValue(service, out test))
                {
                    testRunner.run(test, service);
                }
            }

            showStatistics(testRunner);
        }
예제 #3
0
 static void showStatistics(CmisTestRunner testRunner)
 {
     logger.log();
     logger.log("Finished");
     logger.log("------------------------------------------------------");
     logger.log("Total passed:   " + testRunner.GeneralStatistics.PassedCount);
     logger.log("Total failed:   " + testRunner.GeneralStatistics.FailedCount);
     logger.log("Total skipped:  " + testRunner.GeneralStatistics.SkippedCount);
     logger.log("Total executed: " + testRunner.GeneralStatistics.TotalCount);
     logger.log("------------------------------------------------------");
     logger.log("Totally spent time: " + testRunner.GeneralStatistics.TotalSpentTime + " ms");
     logger.log();
     logger.log();
 }
예제 #4
0
        static void Main(string[] args)
        {
            configureLogger();

            writeHeader();

            string[] testingServices = getTestingServices();

            CmisTestRunner testRunner = new CmisTestRunner();

            foreach (string service in testingServices)
            {
                Object test;
                if (tests.TryGetValue(service, out test))
                {
                    testRunner.run(test, service);
                }
            }

            showStatistics(testRunner);
        }