Class | Line # | Actions | |||||
---|---|---|---|---|---|---|---|
AbstractConfigurationSource | 34 | 7 | 0% | 4 | 0 | 1.0100% |
Class AbstractConfigurationSource |
Line # 34 |
7 |
0% |
4 |
0 |
1.0100% |
---|---|---|---|---|---|---|
getDefault(Class<T>) : T getDefault(Class<T>) : T | 4141 | 7.07 | 0.00% | 4.04 | 0.00 | 1.0 1.0100% |
0.85714287
|
org.xwiki.configuration.internal.CompositeConfigurationSourceTest.testGetPropertiesAndListsWhenEmptyorg.xwiki.configuration.internal.CompositeConfigurationSourceTest.testGetPropertiesAndListsWhenEmpty | 1PASS | ||
0.78571427
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenNotMatchingTitleHeaderDepthcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenNotMatchingTitleHeaderDepth | 1PASS | ||
0.78571427
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleNoTitleAndContentcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleNoTitleAndContent | 1PASS | ||
0.78571427
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnRootorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnRoot | 1PASS | ||
0.78571427
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairInvalidOnRootorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairInvalidOnRoot | 1PASS | ||
0.78571427
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleRecursivecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleRecursive | 1PASS | ||
0.78571427
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithTitlecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithTitle | 1PASS | ||
0.78571427
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContent | 1PASS | ||
0.78571427
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentCleansVelocityMacroCachecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentCleansVelocityMacroCache | 1PASS | ||
0.78571427
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextWithSourceSyntaxcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextWithSourceSyntax | 1PASS | ||
0.78571427
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitlePLAINcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitlePLAIN | 1PASS | ||
0.78571427
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.78571427
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentRightscom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentRights | 1PASS | ||
0.78571427
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnWikiorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnWiki | 1PASS | ||
0.78571427
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testCurrentDocumentVariableIsInjectedBeforeRenderingcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testCurrentDocumentVariableIsInjectedBeforeRendering | 1PASS | ||
0.78571427
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextRightscom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextRights | 1PASS | ||
0.78571427
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenMatchingTitleHeaderDepthcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenMatchingTitleHeaderDepth | 1PASS | ||
0.78571427
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTMLcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTML | 1PASS | ||
0.71428573
|
org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testDefaultParameterValuesorg.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testDefaultParameterValues | 1PASS | ||
0.71428573
|
org.xwiki.velocity.introspection.LinkingUberspectorTest.testEmptyArrayorg.xwiki.velocity.introspection.LinkingUberspectorTest.testEmptyArray | 1PASS | ||
0.71428573
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.71428573
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInDomainModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInDomainModeInReverseProxyMode | 1PASS | ||
0.71428573
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.71428573
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceHTMLContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceHTMLContentLength | 1PASS | ||
0.71428573
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.71428573
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.71428573
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.71428573
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourcePolymorphismcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourcePolymorphism | 1PASS | ||
0.71428573
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.71428573
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourcePlainContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourcePlainContentLength | 1PASS | ||
0.71428573
|
org.xwiki.velocity.XWikiWebappResourceLoaderTest.testVelocityInitializationorg.xwiki.velocity.XWikiWebappResourceLoaderTest.testVelocityInitialization | 1PASS | ||
0.71428573
|
org.xwiki.velocity.introspection.ChainingUberspectorTest.testBasicChainingorg.xwiki.velocity.introspection.ChainingUberspectorTest.testBasicChaining | 1PASS | ||
0.71428573
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceConsistencycom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceConsistency | 1PASS | ||
0.71428573
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInDomainModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInDomainMode | 1PASS | ||
0.71428573
|
org.xwiki.velocity.introspection.ChainingUberspectorTest.testEmptyChainorg.xwiki.velocity.introspection.ChainingUberspectorTest.testEmptyChain | 1PASS | ||
0.71428573
|
org.xwiki.help.HelpTest.verifySubHeadingVelocityVariableCorrectlyEvaluatedWhenUsedInSectionorg.xwiki.help.HelpTest.verifySubHeadingVelocityVariableCorrectlyEvaluatedWhenUsedInSection | 3FAIL | ||
0.71428573
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.71428573
|
org.xwiki.velocity.introspection.LinkingUberspectorTest.testSecureUberspectorEnabledByDefaultorg.xwiki.velocity.introspection.LinkingUberspectorTest.testSecureUberspectorEnabledByDefault | 1PASS | ||
0.71428573
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectField | 1PASS | ||
0.71428573
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.71428573
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.71428573
|
org.xwiki.velocity.introspection.ChainingUberspectorTest.testChainBreakingOnNonChainableEntryorg.xwiki.velocity.introspection.ChainingUberspectorTest.testChainBreakingOnNonChainableEntry | 1PASS | ||
0.71428573
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceXMLContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceXMLContentLength | 1PASS | ||
0.71428573
|
org.xwiki.velocity.introspection.ChainingUberspectorTest.testDeprecatedUberspectororg.xwiki.velocity.introspection.ChainingUberspectorTest.testDeprecatedUberspector | 1PASS | ||
0.71428573
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceAccessRightscom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceAccessRights | 1PASS | ||
0.71428573
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersAttachmentcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersAttachment | 1PASS | ||
0.71428573
|
org.xwiki.velocity.introspection.ChainingUberspectorTest.testSecureUberspectorWorksorg.xwiki.velocity.introspection.ChainingUberspectorTest.testSecureUberspectorWorks | 1PASS | ||
0.71428573
|
org.xwiki.velocity.introspection.LinkingUberspectorTest.testSecureUberspectorWorksorg.xwiki.velocity.introspection.LinkingUberspectorTest.testSecureUberspectorWorks | 1PASS | ||
0.71428573
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInDomainModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInDomainModeInReverseProxyMode | 1PASS | ||
0.71428573
|
org.xwiki.velocity.introspection.ChainingUberspectorTest.testDefaultUberspectorWorksorg.xwiki.velocity.introspection.ChainingUberspectorTest.testDefaultUberspectorWorks | 1PASS | ||
0.71428573
|
org.xwiki.velocity.introspection.ChainingUberspectorTest.testInvalidUberspectorsAreIgnoredorg.xwiki.velocity.introspection.ChainingUberspectorTest.testInvalidUberspectorsAreIgnored | 1PASS | ||
0.71428573
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.71428573
|
org.xwiki.velocity.introspection.LinkingUberspectorTest.testDefaultUberspectorWorksorg.xwiki.velocity.introspection.LinkingUberspectorTest.testDefaultUberspectorWorks | 1PASS | ||
0.71428573
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInDomainModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInDomainMode | 1PASS | ||
0.71428573
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.71428573
|
org.xwiki.velocity.introspection.ChainingUberspectorTest.testSecureUberspectorEnabledByDefaultorg.xwiki.velocity.introspection.ChainingUberspectorTest.testSecureUberspectorEnabledByDefault | 1PASS | ||
0.71428573
|
org.xwiki.velocity.introspection.LinkingUberspectorTest.testBasicArrayorg.xwiki.velocity.introspection.LinkingUberspectorTest.testBasicArray | 1PASS | ||
0.71428573
|
org.xwiki.velocity.introspection.LinkingUberspectorTest.testInvalidUberspectorsAreIgnoredorg.xwiki.velocity.introspection.LinkingUberspectorTest.testInvalidUberspectorsAreIgnored | 1PASS | ||
0.71428573
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceContentTypecom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceContentType | 1PASS | ||
0.71428573
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.71428573
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldBeforeAttachmentcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldBeforeAttachment | 1PASS | ||
0.71428573
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.71428573
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.71428573
|
com.xpn.xwiki.render.DefaultVelocityManagerTest.getVelocityContextcom.xpn.xwiki.render.DefaultVelocityManagerTest.getVelocityContext | 1PASS | ||
0.71428573
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.64285713
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplaycom.xpn.xwiki.doc.XWikiDocumentTest.testDisplay | 1PASS | ||
0.64285713
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithnumberversioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithnumberversion | 1PASS | ||
0.64285713
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallFromRootorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallFromRoot | 1PASS | ||
0.64285713
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.64285713
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.64285713
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenCharactersNeedToBeEncodedcom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenCharactersNeedToBeEncoded | 1PASS | ||
0.64285713
|
org.xwiki.configuration.internal.SpacesConfigurationSourceTest.containsKeyorg.xwiki.configuration.internal.SpacesConfigurationSourceTest.containsKey | 1PASS | ||
0.64285713
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.64285713
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiRequiringPRAfterDropPermissionorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiRequiringPRAfterDropPermission | 1PASS | ||
0.64285713
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitleNonUtf8PlatformEncodingcom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitleNonUtf8PlatformEncoding | 1PASS | ||
0.64285713
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentcom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocument | 1PASS | ||
0.64285713
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenShowViewActionFalsecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenShowViewActionFalse | 1PASS | ||
0.64285713
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenWikiDotHomeParameterFromVirtualWikicom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenWikiDotHomeParameterFromVirtualWiki | 1PASS | ||
0.64285713
|
com.xpn.xwiki.internal.template.TemplateManagerTest.testRenderVelocitycom.xpn.xwiki.internal.template.TemplateManagerTest.testRenderVelocity | 1PASS | ||
0.64285713
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInPathModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInPathMode | 1PASS | ||
0.64285713
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportTranslationsOverwritecom.xpn.xwiki.plugin.packaging.ImportTest.testImportTranslationsOverwrite | 1PASS | ||
0.64285713
|
com.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationOrderAndIgnorecom.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationOrderAndIgnore | 1PASS | ||
0.64285713
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnRootWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnRootWithoutProgrammingRigths | 1PASS | ||
0.64285713
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020 | 1PASS | ||
0.64285713
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnMainWikiInDomainModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnMainWikiInDomainMode | 1PASS | ||
0.64285713
|
com.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.64285713
|
org.xwiki.query.solr.SolrQueryExecutorTest.filterResponseorg.xwiki.query.solr.SolrQueryExecutorTest.filterResponse | 1PASS | ||
0.64285713
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceWithoutProgrammingRigths | 1PASS | ||
0.64285713
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createAttachmentURLWhenViewRevAndRevSpecifiedAndIsContextDocAndAttachmentDoesntExistcom.xpn.xwiki.web.XWikiServletURLFactoryTest.createAttachmentURLWhenViewRevAndRevSpecifiedAndIsContextDocAndAttachmentDoesntExist | 1PASS | ||
0.64285713
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenXWikiDotHomeParameterNonVirtualModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenXWikiDotHomeParameterNonVirtualMode | 1PASS | ||
0.64285713
|
org.xwiki.configuration.internal.WikiPreferencesConfigurationSourceTest.testGetPropertyorg.xwiki.configuration.internal.WikiPreferencesConfigurationSourceTest.testGetProperty | 1PASS | ||
0.64285713
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportOverwriteDocumentcom.xpn.xwiki.plugin.packaging.ImportTest.testImportOverwriteDocument | 1PASS | ||
0.64285713
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeysorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeys | 1PASS | ||
0.64285713
|
com.xpn.xwiki.XWikiTest.testLanguageSelectioncom.xpn.xwiki.XWikiTest.testLanguageSelection | 1PASS | ||
0.64285713
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.64285713
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInPathModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInPathMode | 1PASS | ||
0.64285713
|
org.xwiki.environment.SystemTest.testInitializeWithNoParameterorg.xwiki.environment.SystemTest.testInitializeWithNoParameter | 1PASS | ||
0.64285713
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespace | 1PASS | ||
0.64285713
|
com.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationForcecom.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationForce | 1PASS | ||
0.64285713
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.64285713
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespace | 1PASS | ||
0.64285713
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithattachmentwithoutdatecom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithattachmentwithoutdate | 1PASS | ||
0.64285713
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.64285713
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikicom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWiki | 1PASS | ||
0.64285713
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentXarCreatedByCommonsCompresscom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentXarCreatedByCommonsCompress | 1PASS | ||
0.64285713
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createAttachmentURLWhenViewRevAndRevSpecifiedAndIsNotContextDoccom.xpn.xwiki.web.XWikiServletURLFactoryTest.createAttachmentURLWhenViewRevAndRevSpecifiedAndIsNotContextDoc | 1PASS | ||
0.64285713
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectpropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectproperty | 1PASS | ||
0.64285713
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootWithoutProgrammingRigths | 1PASS | ||
0.64285713
|
org.xwiki.configuration.internal.CompositeConfigurationSourceTest.testGetPropertyWithClassorg.xwiki.configuration.internal.CompositeConfigurationSourceTest.testGetPropertyWithClass | 1PASS | ||
0.64285713
|
org.xwiki.environment.internal.ServletEnvironmentTest.getPermanentDirectoryWhenNotSetorg.xwiki.environment.internal.ServletEnvironmentTest.getPermanentDirectoryWhenNotSet | 1PASS | ||
0.64285713
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclasspropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclassproperty | 1PASS | ||
0.64285713
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualMode | 1PASS | ||
0.64285713
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRoot | 1PASS | ||
0.64285713
|
org.xwiki.security.authorization.internal.AuthorizationManagerTest.testRightOnUserAndDeleteorg.xwiki.security.authorization.internal.AuthorizationManagerTest.testRightOnUserAndDelete | 1PASS | ||
0.64285713
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnMainWikicom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnMainWiki | 1PASS | ||
0.64285713
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInPathModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInPathModeInReverseProxyMode | 1PASS | ||
0.64285713
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWithNestedSpacescom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWithNestedSpaces | 1PASS | ||
0.64285713
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportExtensioncom.xpn.xwiki.plugin.packaging.ImportTest.testImportExtension | 1PASS | ||
0.64285713
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceWithoutProgrammingRigths | 1PASS | ||
0.64285713
|
com.xpn.xwiki.XWikiTest.testValidationKeyStoragecom.xpn.xwiki.XWikiTest.testValidationKeyStorage | 1PASS | ||
0.64285713
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentWithSourceSyntaxcom.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentWithSourceSyntax | 1PASS | ||
0.64285713
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.64285713
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.64285713
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentcom.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContent | 1PASS | ||
0.64285713
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.64285713
|
com.xpn.xwiki.internal.template.TemplateManagerTest.testRenderClassloaderTemplatecom.xpn.xwiki.internal.template.TemplateManagerTest.testRenderClassloaderTemplate | 1PASS | ||
0.64285713
|
com.xpn.xwiki.XWikiTest.testIsMultilingualDefaultFalsecom.xpn.xwiki.XWikiTest.testIsMultilingualDefaultFalse | 1PASS | ||
0.64285713
|
com.xpn.xwiki.internal.template.TemplateManagerTest.testRenderWikicom.xpn.xwiki.internal.template.TemplateManagerTest.testRenderWiki | 1PASS | ||
0.64285713
|
org.xwiki.extension.xar.internal.handler.WikiCopiedEventListenerTest.testCopyOneExtensionorg.xwiki.extension.xar.internal.handler.WikiCopiedEventListenerTest.testCopyOneExtension | 1PASS | ||
0.64285713
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testOverwriteAllowedNamespacesorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testOverwriteAllowedNamespaces | 1PASS | ||
0.64285713
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiMacroBindingorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiMacroBinding | 1PASS | ||
0.64285713
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnMainWikiInPathModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnMainWikiInPathModeInReverseProxyMode | 1PASS | ||
0.64285713
|
com.xpn.xwiki.doc.XWikiDocumentTest.testRenamecom.xpn.xwiki.doc.XWikiDocumentTest.testRename | 1PASS | ||
0.64285713
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.64285713
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20 | 1PASS | ||
0.64285713
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInPathModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInPathModeInReverseProxyMode | 1PASS | ||
0.64285713
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevisioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevision | 1PASS | ||
0.64285713
|
org.xwiki.environment.internal.ServletEnvironmentTest.getPermanentDirectoryWhenSetWithSystemPropertyorg.xwiki.environment.internal.ServletEnvironmentTest.getPermanentDirectoryWhenSetWithSystemProperty | 1PASS | ||
0.64285713
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnMainWikiInPathModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnMainWikiInPathMode | 1PASS | ||
0.64285713
|
org.xwiki.environment.internal.StandardEnvironmentTest.testGetPermanentDirectoryWhenNotSetorg.xwiki.environment.internal.StandardEnvironmentTest.testGetPermanentDirectoryWhenNotSet | 1PASS | ||
0.64285713
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenShowViewActionFalseAndSpaceIsNamedAfterAnActioncom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenShowViewActionFalseAndSpaceIsNamedAfterAnAction | 1PASS | ||
0.64285713
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithoutauthorandcreatorcom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithoutauthorandcreator | 1PASS | ||
0.64285713
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnMainWikiInDomainModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnMainWikiInDomainModeInReverseProxyMode | 1PASS | ||
0.64285713
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.64285713
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacroorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacro | 1PASS | ||
0.64285713
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitlecom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitle | 1PASS | ||
0.64285713
|
com.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationWhenNoVersioncom.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationWhenNoVersion | 1PASS | ||
0.5714286
|
com.xpn.xwiki.internal.cache.rendering.DefaultRenderingCacheConfigurationTest.testIsCachedWhenDisabledWithNoConfigurationcom.xpn.xwiki.internal.cache.rendering.DefaultRenderingCacheConfigurationTest.testIsCachedWhenDisabledWithNoConfiguration | 1PASS | ||
0.5714286
|
org.xwiki.rendering.internal.transformation.linkchecker.LinkCheckerTransformationTest.transformWhenExistingLinkStateorg.xwiki.rendering.internal.transformation.linkchecker.LinkCheckerTransformationTest.transformWhenExistingLinkState | 1PASS | ||
0.5714286
|
org.xwiki.rendering.internal.transformation.linkchecker.LinkCheckerTransformationTest.transformWhenExistingLinkStateButAfterTimeoutHasExpiredorg.xwiki.rendering.internal.transformation.linkchecker.LinkCheckerTransformationTest.transformWhenExistingLinkStateButAfterTimeoutHasExpired | 1PASS | ||
0.5714286
|
org.xwiki.rendering.internal.transformation.linkchecker.LinkCheckerTransformationTest.transformWithLinkContextDataProviderorg.xwiki.rendering.internal.transformation.linkchecker.LinkCheckerTransformationTest.transformWithLinkContextDataProvider | 1PASS | ||
0.5714286
|
org.xwiki.rendering.internal.transformation.linkchecker.LinkCheckerTransformationTest.transformorg.xwiki.rendering.internal.transformation.linkchecker.LinkCheckerTransformationTest.transform | 1PASS | ||
0.5714286
|
org.xwiki.linkchecker.internal.XWikiLinkCheckerTransformationConfigurationTest.getExcludedReferencePatternsorg.xwiki.linkchecker.internal.XWikiLinkCheckerTransformationConfigurationTest.getExcludedReferencePatterns | 1PASS | ||
0.5714286
|
org.xwiki.rendering.internal.transformation.linkchecker.LinkCheckerTransformationTest.transformWithSourceMetaDataorg.xwiki.rendering.internal.transformation.linkchecker.LinkCheckerTransformationTest.transformWithSourceMetaData | 1PASS | ||
0.5714286
|
org.xwiki.rendering.internal.transformation.linkchecker.LinkCheckerTransformationTest.transformAndSendEventorg.xwiki.rendering.internal.transformation.linkchecker.LinkCheckerTransformationTest.transformAndSendEvent | 1PASS | ||
0.5714286
|
com.xpn.xwiki.internal.cache.rendering.DefaultRenderingCacheConfigurationTest.testIsCachedWithWrongReferencecom.xpn.xwiki.internal.cache.rendering.DefaultRenderingCacheConfigurationTest.testIsCachedWithWrongReference | 1PASS | ||
0.5714286
|
com.xpn.xwiki.internal.cache.rendering.DefaultRenderingCacheConfigurationTest.testIsCachedWithWikiConfigurationcom.xpn.xwiki.internal.cache.rendering.DefaultRenderingCacheConfigurationTest.testIsCachedWithWikiConfiguration | 1PASS |
1 | /* | ||||||
2 | * See the NOTICE file distributed with this work for additional | ||||||
3 | * information regarding copyright ownership. | ||||||
4 | * | ||||||
5 | * This is free software; you can redistribute it and/or modify it | ||||||
6 | * under the terms of the GNU Lesser General Public License as | ||||||
7 | * published by the Free Software Foundation; either version 2.1 of | ||||||
8 | * the License, or (at your option) any later version. | ||||||
9 | * | ||||||
10 | * This software is distributed in the hope that it will be useful, | ||||||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||||||
13 | * Lesser General Public License for more details. | ||||||
14 | * | ||||||
15 | * You should have received a copy of the GNU Lesser General Public | ||||||
16 | * License along with this software; if not, write to the Free | ||||||
17 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | ||||||
18 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. | ||||||
19 | */ | ||||||
20 | package org.xwiki.configuration.internal; | ||||||
21 | |||||||
22 | import java.util.Collections; | ||||||
23 | import java.util.List; | ||||||
24 | import java.util.Properties; | ||||||
25 | |||||||
26 | import org.xwiki.configuration.ConfigurationSource; | ||||||
27 | |||||||
28 | /** | ||||||
29 | * Base class to use to implement {@link ConfigurationSource}. | ||||||
30 | * | ||||||
31 | * @version $Id: 441b8a77c7a5ccdf86707c7ad30342614864d9e7 $ | ||||||
32 | * @since 3.5M1 | ||||||
33 | */ | ||||||
|
|||||||
34 | public abstract class AbstractConfigurationSource implements ConfigurationSource | ||||||
35 | { | ||||||
36 | /** | ||||||
37 | * @param valueClass the class of the property | ||||||
38 | * @param <T> the type of the property | ||||||
39 | * @return the default value of a property for the provided class | ||||||
40 | */ | ||||||
|
|||||||
41 | 571897 | protected <T> T getDefault(Class<T> valueClass)... | |||||
42 | { | ||||||
43 | 571894 | T result = null; | |||||
44 | |||||||
45 | 571879 | if (valueClass != null) { | |||||
46 | 571865 | if (List.class.getName().equals(valueClass.getName())) { | |||||
47 | 71 | result = valueClass.cast(Collections.emptyList()); | |||||
48 | 571792 | } else if (Properties.class.getName().equals(valueClass.getName())) { | |||||
49 | 1708 | result = valueClass.cast(new Properties()); | |||||
50 | } | ||||||
51 | } | ||||||
52 | |||||||
53 | 571858 | return result; | |||||
54 | } | ||||||
55 | } |