Class SAPLoggingProxyListenerTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.e2e.hybrisrootcauseanalysis.exceptionanalysis.SAPLoggingProxyListenerTest
- All Implemented Interfaces:
JaloSessionHolder
Unit tests for the SAPLoggingProxyListener class
-
Field Summary
FieldsFields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
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
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
- Throws:
IOException
-
testDynamicTraceToggling
- Throws:
IOException
-
testLogDebugSeverity
- Throws:
IOException
-
testLogWarnSeverity
- Throws:
IOException
-
testNoneSeverityForLogAndTrace
- Throws:
IOException
-