Class TestStarted

    • Constructor Detail

      • TestStarted

        public TestStarted​(@NotNull
                           java.lang.String name,
                           boolean captureStdOutput,
                           @Nullable
                           java.lang.String locationHint)
    • Method Detail

      • isCaptureStandardOutput

        public boolean isCaptureStandardOutput()
        If this parameter value is true all standard output messages received inside the test opening/closing service messages are treated as test output and all standard errors are treated as test error output.
        Returns:
        the "captureStandardOutput" parameter value (false by default)
      • getLocationHint

        @Nullable
        public java.lang.String getLocationHint()
        This parameter allows to proved a hint for IDE when opening this test. Sometimes it is not enough to provide only the test name for this purpose
        Returns:
        ideHint for opening this test in IDE, or null if there is no hint
      • visit

        public void visit​(@NotNull
                          ServiceMessageVisitor visitor)
        Description copied from class: ServiceMessage
        Depending on this service message type calls corresponding method in the supplied visitor.
        Overrides:
        visit in class ServiceMessage
        Parameters:
        visitor - visitor