Class FormattedLoggerTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.jdbcwrapper.logger.FormattedLoggerTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class FormattedLoggerTest extends ServicelayerBaseTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description FormattedLoggerTest()
-
Method Summary
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
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()
-
-