TestMethods
Passed
Scenarios
Passed
# skipped# failedTotal
Time
Included
Groups
Excluded
Groups
Surefire test66000.1 seconds
ClassMethod# of
Scenarios
Time
(Msecs)
Surefire test — passed
org.wso2.carbon.logging.service.config.LoggingConfigManagerTesttestLoadLoggingConfiguration (org.wso2.carbon.logging.service.config) ("Test loading a configuration from the config file")11
testLoadLogFileProviderConfigurationWithProperties (org.wso2.carbon.logging.service.config) ("Test loading a LogFileProvider configuration that contains some properties from the config file")13
org.wso2.carbon.logging.service.util.LoggingUtilTesttestGettingAppenderFromAppenderSet (org.wso2.carbon.logging.service.util) ("Tests whether the Appender with the specified name is returned from LoggingUtil.getAppenderFromSet method given that the Appender set contains an appender without a name.")18
org.wso2.carbon.logging.service.config.LoggingConfigManagerTesttestLoadInvalidConfiguration (org.wso2.carbon.logging.service.config) ("Test loading an invalid configuration, should throw an exception")196
testLoadLogProviderConfigurationWithProperties (org.wso2.carbon.logging.service.config) ("Test loading a LogFileProvider configuration that contains some properties from the config file")12
testLoadNoConfiguration (org.wso2.carbon.logging.service.config) ("Test loading a non-existing configuration, should not throw an error, instead should load an empty config")11

Surefire test

org.wso2.carbon.logging.service.config.LoggingConfigManagerTest:testLoadLoggingConfiguration

back to summary

org.wso2.carbon.logging.service.config.LoggingConfigManagerTest:testLoadLogFileProviderConfigurationWithProperties

back to summary

org.wso2.carbon.logging.service.util.LoggingUtilTest:testGettingAppenderFromAppenderSet

back to summary

org.wso2.carbon.logging.service.config.LoggingConfigManagerTest:testLoadInvalidConfiguration

com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </loggingConfig>; expected </logFileProviderConfig>. at [row,col {unknown-source}]: [32,15]

org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
at org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:336)
at org.apache.axiom.om.impl.traverse.OMChildrenIterator.getNextNode(OMChildrenIterator.java:36)
at org.apache.axiom.om.impl.traverse.OMAbstractIterator.hasNext(OMAbstractIterator.java:58)
at org.apache.axiom.om.impl.traverse.OMFilterIterator.hasNext(OMFilterIterator.java:54)
at org.apache.axiom.om.impl.llom.OMElementImpl.getFirstChildWithName(OMElementImpl.java:273)
at org.wso2.carbon.logging.service.config.LoggingConfigManager.loadLoggingConfiguration(LoggingConfigManager.java:75)
at org.wso2.carbon.logging.service.config.LoggingConfigManagerTest.testLoadInvalidConfiguration(LoggingConfigManagerTest.java:127)
30 lines not shown

Caused by Unexpected close tag </loggingConfig>; expected </logFileProviderConfig>. at [row,col {unknown-source}]: [32,15]

com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:606)
at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:479)
at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:464)
at com.ctc.wstx.sr.BasicStreamReader.reportWrongEndElem(BasicStreamReader.java:3283)
at com.ctc.wstx.sr.BasicStreamReader.readEndElem(BasicStreamReader.java:3210)
at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2829)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1072)
at org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681)
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214)
at org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:336)
at org.apache.axiom.om.impl.traverse.OMChildrenIterator.getNextNode(OMChildrenIterator.java:36)
at org.apache.axiom.om.impl.traverse.OMAbstractIterator.hasNext(OMAbstractIterator.java:58)
at org.apache.axiom.om.impl.traverse.OMFilterIterator.hasNext(OMFilterIterator.java:54)
at org.apache.axiom.om.impl.llom.OMElementImpl.getFirstChildWithName(OMElementImpl.java:273)
at org.wso2.carbon.logging.service.config.LoggingConfigManager.loadLoggingConfiguration(LoggingConfigManager.java:75)
at org.wso2.carbon.logging.service.config.LoggingConfigManagerTest.testLoadInvalidConfiguration(LoggingConfigManagerTest.java:127)
30 lines not shown

back to summary

org.wso2.carbon.logging.service.config.LoggingConfigManagerTest:testLoadLogProviderConfigurationWithProperties

back to summary

org.wso2.carbon.logging.service.config.LoggingConfigManagerTest:testLoadNoConfiguration

back to summary