Class AbstractTestReporter

    • Field Detail

      • resultByTestName

        private final java.util.Map<java.lang.String,​ITestResult> resultByTestName
      • executionTimeMsByTestName

        private final java.util.Map<java.lang.String,​java.lang.Long> executionTimeMsByTestName
      • allOK

        private boolean allOK
      • totalExecutionTimeMs

        private long totalExecutionTimeMs
    • Constructor Detail

      • AbstractTestReporter

        protected AbstractTestReporter()
    • Method Detail

      • testStart

        public final void testStart​(java.lang.String executionId,
                                    int nestingLevel,
                                    ITest test,
                                    java.lang.String testName)
        Specified by:
        testStart in interface ITestReporter
      • reportTestStart

        protected void reportTestStart​(java.lang.String executionId,
                                       int nestingLevel,
                                       ITest test,
                                       java.lang.String testName)
      • testEnd

        public final void testEnd​(java.lang.String executionId,
                                  int nestingLevel,
                                  ITest test,
                                  java.lang.String testName,
                                  ITestResult result,
                                  long executionTimeNanos)
        Specified by:
        testEnd in interface ITestReporter
      • reportTestEnd

        protected void reportTestEnd​(java.lang.String executionId,
                                     int nestingLevel,
                                     ITest test,
                                     java.lang.String testName,
                                     ITestResult result,
                                     long executionTimeNanos)
      • getAllTestNames

        public final java.util.Set<java.lang.String> getAllTestNames()
        Specified by:
        getAllTestNames in interface ITestReporter
      • executionStart

        public void executionStart​(java.lang.String executionId)
        Specified by:
        executionStart in interface ITestReporter
      • executionEnd

        public void executionEnd​(java.lang.String executionId,
                                 int okTests,
                                 int totalTests,
                                 long executionTimeNanos)
        Specified by:
        executionEnd in interface ITestReporter
      • sequenceEnd

        public void sequenceEnd​(java.lang.String executionId,
                                int nestingLevel,
                                ITestSequence sequence,
                                int okTests,
                                int totalTests,
                                long executionTimeNanos)
        Specified by:
        sequenceEnd in interface ITestReporter
      • iteratorEnd

        public void iteratorEnd​(java.lang.String executionId,
                                int nestingLevel,
                                ITestIterator iterator,
                                int okTests,
                                int totalTests,
                                long executionTimeNanos)
        Specified by:
        iteratorEnd in interface ITestReporter
      • iterationStart

        public void iterationStart​(java.lang.String executionId,
                                   int nestingLevel,
                                   ITestIterator iterator,
                                   int iterationNumber)
        Specified by:
        iterationStart in interface ITestReporter
      • iterationEnd

        public void iterationEnd​(java.lang.String executionId,
                                 int nestingLevel,
                                 ITestIterator iterator,
                                 int iterationNumber,
                                 int okTests,
                                 int totalTests,
                                 long executionTimeNanos)
        Specified by:
        iterationEnd in interface ITestReporter
      • parallelizerEnd

        public void parallelizerEnd​(java.lang.String executionId,
                                    int nestingLevel,
                                    ITestParallelizer parallelizer,
                                    int okTests,
                                    int totalTests,
                                    long executionTimeNanos)
        Specified by:
        parallelizerEnd in interface ITestReporter
      • parallelThreadEnd

        public void parallelThreadEnd​(java.lang.String executionId,
                                      int nestingLevel,
                                      ITestParallelizer parallelizer,
                                      int threadNumber,
                                      int okTests,
                                      int totalTests,
                                      long executionTimeNanos)
        Specified by:
        parallelThreadEnd in interface ITestReporter