Class SAPLoggingProxyListenerTest

    • Field Detail

      • temporaryFolder

        public org.junit.rules.TemporaryFolder temporaryFolder
    • Constructor Detail

      • SAPLoggingProxyListenerTest

        public SAPLoggingProxyListenerTest()
    • Method Detail

      • setUp

        public void setUp()
      • tearDown

        public void tearDown()
      • testRootLoggerLevelChangeEffect

        public void testRootLoggerLevelChangeEffect()
                                             throws java.io.IOException
        Test the effect of changing the root logger's logging level. The root logger will determine the basic threshold for all logging events. If it is set to OFF, nothing will ever get written no matter what logging/tracing severities are set. Similarly, if it is set to ALL or DEBUG, then it will allow the ListLog API to further determine what to log and what not to log.
        Throws:
        java.io.IOException
      • testLogFileCreation

        public void testLogFileCreation()
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • testDynamicTraceToggling

        public void testDynamicTraceToggling()
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • testLogDebugSeverity

        public void testLogDebugSeverity()
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • testLogWarnSeverity

        public void testLogWarnSeverity()
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • testNoneSeverityForLogAndTrace

        public void testNoneSeverityForLogAndTrace()
                                            throws java.io.IOException
        Throws:
        java.io.IOException