Class FormattedLoggerTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class FormattedLoggerTest extends ServicelayerBaseTest
  • Constructor Details

    • FormattedLoggerTest

      public FormattedLoggerTest()
  • Method Details

    • setUp

      public void setUp()
    • tearDown

      public void tearDown()
    • shouldLogOnlyPreparedStatementByDefault

      public void shouldLogOnlyPreparedStatementByDefault()
    • shouldLogQueryWithRealParamsIfConfigured

      public void shouldLogQueryWithRealParamsIfConfigured()
    • shouldLogQueryWithRealParamsAndStacktraceIfConfigured

      public void shouldLogQueryWithRealParamsAndStacktraceIfConfigured()
    • shouldLogQueryWithStacktraceIfConfigured

      public void shouldLogQueryWithStacktraceIfConfigured()
    • shouldLogQueryWithSqlParamsIfConfiguredAndInputSqlDoesNotContainStacktrace

      public void shouldLogQueryWithSqlParamsIfConfiguredAndInputSqlDoesNotContainStacktrace()
    • shouldLogQueryWithoutSqlParamsIfNotConfiguredAndInputSqlDoesNotContainStacktrace

      public void shouldLogQueryWithoutSqlParamsIfNotConfiguredAndInputSqlDoesNotContainStacktrace()
    • shouldLogQueryWithoutSqlParamsIfNotConfiguredAndInputSqlDoesNotContainStacktraceButPreparedStatementContainsComment

      public void shouldLogQueryWithoutSqlParamsIfNotConfiguredAndInputSqlDoesNotContainStacktraceButPreparedStatementContainsComment()
    • shouldLogQueryWithoutStacktraceIfStacktraceIsEmpty

      public void shouldLogQueryWithoutStacktraceIfStacktraceIsEmpty()
    • shouldLogQueryWithoutSqlParamsEvenItIsConfiguredIfInputSqlIsNull

      public void shouldLogQueryWithoutSqlParamsEvenItIsConfiguredIfInputSqlIsNull()
    • shouldLogQueryWithoutSqlParamsEvenItIsConfiguredIfInputSqlIsBlank

      public void shouldLogQueryWithoutSqlParamsEvenItIsConfiguredIfInputSqlIsBlank()