Class SAPLoggingProxyListenerTest

All Implemented Interfaces:
JaloSessionHolder

public class SAPLoggingProxyListenerTest extends ServicelayerTest
Unit tests for the SAPLoggingProxyListener class
  • Field Details

    • temporaryFolder

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

    • SAPLoggingProxyListenerTest

      public SAPLoggingProxyListenerTest()
  • Method Details

    • setUp

      public void setUp()
    • tearDown

      public void tearDown()
    • testRootLoggerLevelChangeEffect

      public void testRootLoggerLevelChangeEffect() throws 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:
      IOException
    • testLogFileCreation

      public void testLogFileCreation() throws IOException
      Throws:
      IOException
    • testDynamicTraceToggling

      public void testDynamicTraceToggling() throws IOException
      Throws:
      IOException
    • testLogDebugSeverity

      public void testLogDebugSeverity() throws IOException
      Throws:
      IOException
    • testLogWarnSeverity

      public void testLogWarnSeverity() throws IOException
      Throws:
      IOException
    • testNoneSeverityForLogAndTrace

      public void testNoneSeverityForLogAndTrace() throws IOException
      Throws:
      IOException