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
-
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
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()
-