Class | Line # | Actions | |||||
---|---|---|---|---|---|---|---|
AbstractConfigurationSourceProvider | 35 | 14 | 0% | 6 | 7 | 0.611111161.1% |
Class AbstractConfigurationSourceProvider |
Line # 35 |
14 |
0% |
6 |
7 |
0.611111161.1% |
---|---|---|---|---|---|---|
get(String) : ConfigurationSource get(String) : ConfigurationSource | 4848 | 9.09 | 0.00% | 4.04 | 1.01 | 0.90909094 0.9090909490.9% |
getVoidConfigurationSource() : ConfigurationSource getVoidConfigurationSource() : ConfigurationSource | 7272 | 5.05 | 0.00% | 2.02 | 5.05 | 0.0 0.00% |
0.6111111
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiRequiringPRAfterDropPermissionorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiRequiringPRAfterDropPermission | 1PASS | ||
0.6111111
|
org.xwiki.security.authorization.internal.AuthorizationManagerTest.testRightOnUserAndDeleteorg.xwiki.security.authorization.internal.AuthorizationManagerTest.testRightOnUserAndDelete | 1PASS | ||
0.6111111
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.6111111
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiMacroBindingorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiMacroBinding | 1PASS | ||
0.5
|
org.xwiki.extension.repository.aether.internal.SystemHTTPProxyTest.testProxyorg.xwiki.extension.repository.aether.internal.SystemHTTPProxyTest.testProxy | 1PASS | ||
0.5
|
org.xwiki.extension.repository.xwiki.internal.SystemHTTPProxyTest.testProxyorg.xwiki.extension.repository.xwiki.internal.SystemHTTPProxyTest.testProxy | 1PASS | ||
0.5
|
org.xwiki.environment.SystemTest.testInitializeWithNoParameterorg.xwiki.environment.SystemTest.testInitializeWithNoParameter | 1PASS | ||
0.5
|
org.xwiki.environment.internal.ServletEnvironmentTest.getPermanentDirectoryWhenNotSetorg.xwiki.environment.internal.ServletEnvironmentTest.getPermanentDirectoryWhenNotSet | 1PASS | ||
0.5
|
org.xwiki.environment.internal.ServletEnvironmentTest.getPermanentDirectoryWhenSetWithSystemPropertyorg.xwiki.environment.internal.ServletEnvironmentTest.getPermanentDirectoryWhenSetWithSystemProperty | 1PASS | ||
0.5
|
org.xwiki.environment.internal.StandardEnvironmentTest.testGetPermanentDirectoryWhenNotSetorg.xwiki.environment.internal.StandardEnvironmentTest.testGetPermanentDirectoryWhenNotSet | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallExtensionOnIncompatibleNamespaceorg.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallExtensionOnIncompatibleNamespace | 1PASS | ||
0.3888889
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplaycom.xpn.xwiki.doc.XWikiDocumentTest.testDisplay | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteOnNamespaceorg.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteOnNamespace | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRoot | 1PASS | ||
0.3888889
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithnumberversioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithnumberversion | 1PASS | ||
0.3888889
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallFromRootorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallFromRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testDownloadBundleorg.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testDownloadBundle | 1PASS | ||
0.3888889
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenNotMatchingTitleHeaderDepthcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenNotMatchingTitleHeaderDepth | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeOnDifferentIdorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeOnDifferentId | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithDependencyOnANamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithDependencyOnANamespace | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithLowerCoreDependencyFeatureorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithLowerCoreDependencyFeature | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionOnNamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionOnNamespace | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnRootorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithSimpleRemoteExtensionOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithSimpleRemoteExtensionOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallLowerVersionOfDependencyOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallLowerVersionOfDependencyOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveNotExistingExtensionorg.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveNotExistingExtension | 1PASS | ||
0.3888889
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitleNonUtf8PlatformEncodingcom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitleNonUtf8PlatformEncoding | 1PASS | ||
0.3888889
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentcom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocument | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallAllorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallAll | 1PASS | ||
0.3888889
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleNoTitleAndContentcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleNoTitleAndContent | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallMandatoryorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallMandatory | 1PASS | ||
0.3888889
|
com.xpn.xwiki.internal.template.TemplateManagerTest.testRenderVelocitycom.xpn.xwiki.internal.template.TemplateManagerTest.testRenderVelocity | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithInstalledDependencyOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithInstalledDependencyOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallEntensionAndUninstallDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallEntensionAndUninstallDependency | 1PASS | ||
0.3888889
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportTranslationsOverwritecom.xpn.xwiki.plugin.packaging.ImportTest.testImportTranslationsOverwrite | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallExtensionAndUninstallDependencyOnANamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallExtensionAndUninstallDependencyOnANamespace | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithDependency | 1PASS | ||
0.3888889
|
com.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationOrderAndIgnorecom.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationOrderAndIgnore | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallFromWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallFromWiki | 1PASS | ||
0.3888889
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnRootWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnRootWithoutProgrammingRigths | 1PASS | ||
0.3888889
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020 | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanWithDependencyOnRootorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanWithDependencyOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreExtensionorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreExtension | 1PASS | ||
0.3888889
|
org.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testDownloadSNAPSHOTorg.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testDownloadSNAPSHOT | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallDependencyInstallExtensionOnANamespaceAndUninstallDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallDependencyInstallExtensionOnANamespaceAndUninstallDependency | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnRootorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnRoot | 1PASS | ||
0.3888889
|
com.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairInvalidOnRootorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairInvalidOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceWithoutProgrammingRigths | 1PASS | ||
0.3888889
|
org.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveVersionsorg.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveVersions | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithOverwrittenManagedDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithOverwrittenManagedDependency | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testExtensionInstalledOnNamespaceAtInitorg.xwiki.extension.jar.JarExtensionHandlerTest.testExtensionInstalledOnNamespaceAtInit | 1PASS | ||
0.3888889
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleRecursivecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleRecursive | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallRemoteWithMissingDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallRemoteWithMissingDependency | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenMoveDependencyOnRootorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenMoveDependencyOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenOnRootWithLowerDependencyorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenOnRootWithLowerDependency | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallNameSpaceExtensionWithExistingRootExtensionorg.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallNameSpaceExtensionWithExistingRootExtension | 1PASS | ||
0.3888889
|
org.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveWithEmptyScmAndIssueManagementorg.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveWithEmptyScmAndIssueManagement | 1PASS | ||
0.3888889
|
org.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveWithVersionAsSystemPropertyorg.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveWithVersionAsSystemProperty | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallNameSpaceExtensionWithExistingRootExtensionorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallNameSpaceExtensionWithExistingRootExtension | 1PASS | ||
0.3888889
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithTitlecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithTitle | 1PASS | ||
0.3888889
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportOverwriteDocumentcom.xpn.xwiki.plugin.packaging.ImportTest.testImportOverwriteDocument | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithDowngradeOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithDowngradeOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithoutComponentsorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithoutComponents | 1PASS | ||
0.3888889
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeysorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeys | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWiki | 1PASS | ||
0.3888889
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallDependency | 1PASS | ||
0.3888889
|
org.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveSNAPSHOTorg.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveSNAPSHOT | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteOnNamespacesorg.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteOnNamespaces | 1PASS | ||
0.3888889
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContent | 1PASS | ||
0.3888889
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespace | 1PASS | ||
0.3888889
|
com.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationForcecom.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationForce | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespace | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallDependencyAllorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallDependencyAll | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallDependencyInstallExtensionOnANamespaceAndUninstallExtensionorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallDependencyInstallExtensionOnANamespaceAndUninstallExtension | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRootorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRoot | 1PASS | ||
0.3888889
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentCleansVelocityMacroCachecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentCleansVelocityMacroCache | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallWithBackwarDepencencyorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallWithBackwarDepencency | 1PASS | ||
0.3888889
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithattachmentwithoutdatecom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithattachmentwithoutdate | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceWithGlobalDependencyAndUninstallDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceWithGlobalDependencyAndUninstallDependency | 1PASS | ||
0.3888889
|
org.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveVersionRangeorg.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveVersionRange | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanWithDependencyOnNamespaceorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanWithDependencyOnNamespace | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithRemoteDependencyOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithRemoteDependencyOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveorg.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolve | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteWithMissingDependencyorg.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteWithMissingDependency | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreDependencyOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreDependencyOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveWithNotExistingVersionorg.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveWithNotExistingVersion | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallOnNamespaceThenUnpgradeOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallOnNamespaceThenUnpgradeOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnRootWithTargetDependencyExtensionorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnRootWithTargetDependencyExtension | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAdminRights | 1PASS | ||
0.3888889
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentXarCreatedByCommonsCompresscom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentXarCreatedByCommonsCompress | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWiki | 1PASS | ||
0.3888889
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectpropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectproperty | 1PASS | ||
0.3888889
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextWithSourceSyntaxcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextWithSourceSyntax | 1PASS | ||
0.3888889
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootWithoutProgrammingRigths | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallTwiceorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallTwice | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallorg.xwiki.extension.job.internal.UninstallJobTest.testUninstall | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnNamespaceWithExtensionOnRootorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnNamespaceWithExtensionOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testDownloadorg.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testDownload | 1PASS | ||
0.3888889
|
org.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveAetherDependencyRangeorg.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveAetherDependencyRange | 1PASS | ||
0.3888889
|
org.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveAetherDependencySNAPSHOTorg.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveAetherDependencySNAPSHOT | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUnsupportedTypeorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUnsupportedType | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testUpgradeAndDowngradeExtensionOnNamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testUpgradeAndDowngradeExtensionOnNamespace | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootWithoutAdminRights | 1PASS | ||
0.3888889
|
org.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveAetherDependencyRange2org.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveAetherDependencyRange2 | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithFeatureAsCoreExtensionorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithFeatureAsCoreExtension | 1PASS | ||
0.3888889
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclasspropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclassproperty | 1PASS | ||
0.3888889
|
org.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveWithExternalParentorg.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveWithExternalParent | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.3888889
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportExtensioncom.xpn.xwiki.plugin.packaging.ImportTest.testImportExtension | 1PASS | ||
0.3888889
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitlePLAINcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitlePLAIN | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceWithGlobalDependencyAndUninstallorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceWithGlobalDependencyAndUninstall | 1PASS | ||
0.3888889
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceWithoutProgrammingRigths | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallNameSpaceExtensionWithIncompatibleRootDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallNameSpaceExtensionWithIncompatibleRootDependency | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnUnsupportedNamespaceorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnUnsupportedNamespace | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromNamespaceWithBackwarDepencencyorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromNamespaceWithBackwarDepencency | 1PASS | ||
0.3888889
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentWithSourceSyntaxcom.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentWithSourceSyntax | 1PASS | ||
0.3888889
|
org.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveVersionClassifierorg.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveVersionClassifier | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiAndRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiAndRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnWiki | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeFeatureWithDifferentVersionorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeFeatureWithDifferentVersion | 1PASS | ||
0.3888889
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentRightscom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentRights | 1PASS | ||
0.3888889
|
com.xpn.xwiki.internal.XWikiStubContextInitializerTest.testWithAndWithoutXWikiContextcom.xpn.xwiki.internal.XWikiStubContextInitializerTest.testWithAndWithoutXWikiContext | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnWikiorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnWiki | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnWikiWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnWikiWithoutAdminRights | 1PASS | ||
0.3888889
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testCurrentDocumentVariableIsInjectedBeforeRenderingcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testCurrentDocumentVariableIsInjectedBeforeRendering | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithManagedDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithManagedDependency | 1PASS | ||
0.3888889
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentcom.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContent | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallJobTest.testReplaceDependencyWithFeatureorg.xwiki.extension.job.internal.InstallJobTest.testReplaceDependencyWithFeature | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromNamespaceorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromNamespace | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootAndWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootAndWiki | 1PASS | ||
0.3888889
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextRightscom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextRights | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallJobTest.testUpgradeFirstOnRootorg.xwiki.extension.job.internal.InstallJobTest.testUpgradeFirstOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveNotExistingExtensionVersionsorg.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveNotExistingExtensionVersions | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnRootWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnRootWithoutAdminRights | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testExtensionInstalledOnRootAtInitorg.xwiki.extension.jar.JarExtensionHandlerTest.testExtensionInstalledOnRootAtInit | 1PASS | ||
0.3888889
|
org.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testDownloadClassifierorg.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testDownloadClassifier | 1PASS | ||
0.3888889
|
com.xpn.xwiki.internal.template.TemplateManagerTest.testRenderClassloaderTemplatecom.xpn.xwiki.internal.template.TemplateManagerTest.testRenderClassloaderTemplate | 1PASS | ||
0.3888889
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenMatchingTitleHeaderDepthcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenMatchingTitleHeaderDepth | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtension | 1PASS | ||
0.3888889
|
com.xpn.xwiki.internal.template.TemplateManagerTest.testRenderWikicom.xpn.xwiki.internal.template.TemplateManagerTest.testRenderWiki | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAuthororg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAuthor | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithFeatureAsCoreExtensionFeatureorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithFeatureAsCoreExtensionFeature | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.handler.WikiCopiedEventListenerTest.testCopyOneExtensionorg.xwiki.extension.xar.internal.handler.WikiCopiedEventListenerTest.testCopyOneExtension | 1PASS | ||
0.3888889
|
org.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveOverriddenPropertiesorg.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveOverriddenProperties | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallWebjarExtensionorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallWebjarExtension | 1PASS | ||
0.3888889
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testOverwriteAllowedNamespacesorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testOverwriteAllowedNamespaces | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testReInstalledWithMissingDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testReInstalledWithMissingDependency | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallJobTest.testDowngradeFirstOnRootorg.xwiki.extension.job.internal.InstallJobTest.testDowngradeFirstOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromAllNamespacesorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromAllNamespaces | 1PASS | ||
0.3888889
|
org.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveAetherDependencyorg.xwiki.extension.repository.aether.internal.AetherDefaultRepositoryManagerTest.testResolveAetherDependency | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallNameSpaceExtensionWithDependencyAllowedOnRootOnlyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallNameSpaceExtensionWithDependencyAllowedOnRootOnly | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreExtensionFeatureorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreExtensionFeature | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithManagedTransitiveDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithManagedTransitiveDependency | 1PASS | ||
0.3888889
|
com.xpn.xwiki.doc.XWikiDocumentTest.testRenamecom.xpn.xwiki.doc.XWikiDocumentTest.testRename | 1PASS | ||
0.3888889
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTMLcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTML | 1PASS | ||
0.3888889
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20 | 1PASS | ||
0.3888889
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevisioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevision | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnRootorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWiki | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenUpgradeOnRootorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenUpgradeOnRoot | 1PASS | ||
0.3888889
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithoutauthorandcreatorcom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithoutauthorandcreator | 1PASS | ||
0.3888889
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacroorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacro | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testUninstallInvalidExtensionFromNamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testUninstallInvalidExtensionFromNamespace | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithHigherCoreDependencyFeatureorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithHigherCoreDependencyFeature | 1PASS | ||
0.3888889
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testDowngradeOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testDowngradeOnWiki | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testUninstallInvalidExtensionFromRootorg.xwiki.extension.jar.JarExtensionHandlerTest.testUninstallInvalidExtensionFromRoot | 1PASS | ||
0.3888889
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstall | 1PASS | ||
0.3888889
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitlecom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitle | 1PASS | ||
0.3888889
|
com.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationWhenNoVersioncom.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationWhenNoVersion | 1PASS | ||
0.3888889
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testUpgradeExtensionOnNamespaceWithDependencyAllowedOnRootOnlyorg.xwiki.extension.job.internal.InstallPlanJobTest.testUpgradeExtensionOnNamespaceWithDependencyAllowedOnRootOnly | 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 javax.inject.Inject; | ||||||
23 | import javax.inject.Provider; | ||||||
24 | |||||||
25 | import org.xwiki.component.manager.ComponentLookupException; | ||||||
26 | import org.xwiki.component.manager.ComponentManager; | ||||||
27 | import org.xwiki.configuration.ConfigurationSource; | ||||||
28 | |||||||
29 | /** | ||||||
30 | * Common code for Configuration Source Provider implementations. | ||||||
31 | * | ||||||
32 | * @version $Id: 0f8ae46f56960c820eafec3b44dd9cba06ab95d9 $ | ||||||
33 | * @since 4.1M2 | ||||||
34 | */ | ||||||
|
|||||||
35 | public abstract class AbstractConfigurationSourceProvider implements Provider<ConfigurationSource> | ||||||
36 | { | ||||||
37 | /** | ||||||
38 | * Used to lookup existing {@link org.xwiki.configuration.ConfigurationSource} components. | ||||||
39 | */ | ||||||
40 | @Inject | ||||||
41 | private ComponentManager componentManager; | ||||||
42 | |||||||
43 | /** | ||||||
44 | * @param hint the hint of the Configuration Source to lookup | ||||||
45 | * @return the Configuration Source implementation with the passed hint or if not found a Memory Configuration | ||||||
46 | * Source and if not found a Void Configuration Source | ||||||
47 | */ | ||||||
|
|||||||
48 | 135974 | protected ConfigurationSource get(String hint)... | |||||
49 | { | ||||||
50 | 135960 | ConfigurationSource configurationSource; | |||||
51 | |||||||
52 | 135961 | try { | |||||
53 | 135970 | if (hint == null) { | |||||
54 | 135829 | configurationSource = this.componentManager.getInstance(ConfigurationSource.class); | |||||
55 | } else { | ||||||
56 | 138 | configurationSource = this.componentManager.getInstance(ConfigurationSource.class, hint); | |||||
57 | } | ||||||
58 | } catch (ComponentLookupException e) { | ||||||
59 | 30 | try { | |||||
60 | 30 | configurationSource = this.componentManager.getInstance(ConfigurationSource.class, "memory"); | |||||
61 | } catch (ComponentLookupException e1) { | ||||||
62 | 0 | configurationSource = getVoidConfigurationSource(); | |||||
63 | } | ||||||
64 | } | ||||||
65 | |||||||
66 | 136014 | return configurationSource; | |||||
67 | } | ||||||
68 | |||||||
69 | /** | ||||||
70 | * @return an empty configuration source | ||||||
71 | */ | ||||||
|
|||||||
72 | 0 | private ConfigurationSource getVoidConfigurationSource()... | |||||
73 | { | ||||||
74 | 0 | ConfigurationSource configurationSource; | |||||
75 | |||||||
76 | 0 | try { | |||||
77 | 0 | configurationSource = this.componentManager.getInstance(ConfigurationSource.class, "void"); | |||||
78 | } catch (ComponentLookupException e) { | ||||||
79 | 0 | configurationSource = new VoidConfigurationSource(); | |||||
80 | } | ||||||
81 | |||||||
82 | 0 | return configurationSource; | |||||
83 | } | ||||||
84 | } |