Class TestExecutionReport


  • public class TestExecutionReport
    extends java.lang.Object
    • Field Detail

      • testExecutionReportAnalyzers

        public static java.util.ArrayList<java.lang.Class<? extends TestExecutionReportAnalyzer>> testExecutionReportAnalyzers
    • Constructor Detail

      • TestExecutionReport

        public TestExecutionReport​(java.lang.String testName,
                                   java.util.UUID testUuid,
                                   java.lang.String className)
    • Method Detail

      • isTestExecutionPassed

        public boolean isTestExecutionPassed()
      • getInvocationObject

        public org.json.JSONObject getInvocationObject​(DistributedExecutionIndex distributedExecutionIndex)
      • recordInvocation

        public void recordInvocation​(DistributedExecutionIndex distributedExecutionIndex,
                                     org.json.JSONObject invocationJsonObject)
      • recordInvocationComplete

        public void recordInvocationComplete​(DistributedExecutionIndex distributedExecutionIndex,
                                             org.json.JSONObject invocationJsonObject)
      • setFaultsInjected

        public void setFaultsInjected​(java.util.Map<DistributedExecutionIndex,​org.json.JSONObject> faultsToInject)
      • getTestName

        public java.lang.String getTestName()
      • getTestUuid

        public java.util.UUID getTestUuid()
      • getClassName

        public java.lang.String getClassName()
      • writePlaceholderTestReport

        public void writePlaceholderTestReport()
      • writeTestReport

        public void writeTestReport​(int currentIteration,
                                    boolean exceptionOccurred,
                                    @Nullable
                                    java.lang.Throwable throwable)
      • getFaultsInjected

        public java.lang.String getFaultsInjected()