Class TestLogger


  • public class TestLogger
    extends Object
    Author:
    Pavel.Sher Date: 05.03.2008
    • Constructor Detail

      • TestLogger

        public TestLogger()
    • Method Detail

      • enableInfo

        public void enableInfo()
      • enableDebug

        public void enableDebug()
      • enableDebug

        public void enableDebug​(@NotNull
                                String category)
      • doNotFailOnErrorMessages

        public void doNotFailOnErrorMessages()
      • enableAndRecordDebugLog

        @NotNull
        public StringBuilder enableAndRecordDebugLog()
      • disableDebug

        public void disableDebug()
      • failOnWarnsWithExceptions

        public void failOnWarnsWithExceptions()
      • setLogLevel

        public void setLogLevel​(org.apache.log4j.Level level)
      • setLogLevel

        public void setLogLevel​(@NotNull
                                org.apache.log4j.Level level,
                                @NotNull
                                String category)
      • log

        public void log​(String message)
      • onSuiteStart

        public void onSuiteStart()
      • onTestStart

        public void onTestStart()
      • onTestFinish

        public void onTestFinish​(boolean raiseErrorIfOccurred)
      • raiseErrorIfOccurred

        public void raiseErrorIfOccurred()
      • clearFailure

        public boolean clearFailure()
      • clearChecks

        public void clearChecks()