Class | Line # | Actions | |||||
---|---|---|---|---|---|---|---|
WikiComponentManager | 45 | 6 | 0% | 6 | 1 | 0.928571492.9% |
Class WikiComponentManager |
Line # 45 |
6 |
0% |
6 |
1 |
0.928571492.9% |
---|---|---|---|---|---|---|
getCurrentWiki() : String getCurrentWiki() : String | 6868 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
getCurrentReference() : EntityReference getCurrentReference() : EntityReference | 7373 | 2.02 | 0.00% | 2.02 | 0.00 | 1.0 1.0100% |
getKey() : String getKey() : String | 8989 | 2.02 | 0.00% | 2.02 | 1.01 | 0.75 0.7575% |
initialize() : void initialize() : void | 9797 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
0.85714287
|
org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testDefaultParameterValuesorg.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testDefaultParameterValues | 1PASS | ||
0.85714287
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testRelativeDocumentReferenceorg.xwiki.security.authorization.internal.XWikiRightServiceTest.testRelativeDocumentReference | 1PASS | ||
0.85714287
|
org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteWhenInnerMacroorg.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteWhenInnerMacro | 1PASS | ||
0.85714287
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testGuestRightsOnEmptyWikiorg.xwiki.security.authorization.internal.XWikiRightServiceTest.testGuestRightsOnEmptyWiki | 1PASS | ||
0.85714287
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testUserFromAnotherWiki2org.xwiki.security.authorization.internal.XWikiRightServiceTest.testUserFromAnotherWiki2 | 1PASS | ||
0.85714287
|
com.xpn.xwiki.doc.XWikiDocumentArchiveTest.testUpdateArchiveWhenSpaceInUsernamecom.xpn.xwiki.doc.XWikiDocumentArchiveTest.testUpdateArchiveWhenSpaceInUsername | 1PASS | ||
0.85714287
|
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testGetFileListcom.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testGetFileList | 1PASS | ||
0.85714287
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenDocumentModifiedAfterItIsInCachecom.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenDocumentModifiedAfterItIsInCache | 1PASS | ||
0.85714287
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenWithUTF8Translationcom.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenWithUTF8Translation | 1PASS | ||
0.85714287
|
com.xpn.xwiki.api.UserTest.testIsUserInGroupDoesNotThrowNPEcom.xpn.xwiki.api.UserTest.testIsUserInGroupDoesNotThrowNPE | 1PASS | ||
0.85714287
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testGlobalGroupInLocalGrouporg.xwiki.security.authorization.internal.XWikiRightServiceTest.testGlobalGroupInLocalGroup | 1PASS | ||
0.85714287
|
org.xwiki.component.internal.ContextComponentManagerTest.testRegisterComponentInDocumentComponentManagerorg.xwiki.component.internal.ContextComponentManagerTest.testRegisterComponentInDocumentComponentManager | 1PASS | ||
0.85714287
|
com.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationForcecom.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationForce | 1PASS | ||
0.85714287
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testProgrammingRightsWhenNoContextDocumentIsSetorg.xwiki.security.authorization.internal.XWikiRightServiceTest.testProgrammingRightsWhenNoContextDocumentIsSet | 1PASS | ||
0.85714287
|
org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteWhenWikiMacroDirectlyProvideTheResultorg.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteWhenWikiMacroDirectlyProvideTheResult | 1PASS | ||
0.85714287
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testUserFromAnotherWiki1org.xwiki.security.authorization.internal.XWikiRightServiceTest.testUserFromAnotherWiki1 | 1PASS | ||
0.85714287
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenInXWikiPreferencescom.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenInXWikiPreferences | 1PASS | ||
0.85714287
|
org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteWhenWithDifferentMacroSyntaxorg.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteWhenWithDifferentMacroSyntax | 1PASS | ||
0.85714287
|
com.xpn.xwiki.plugin.packaging.PackageTest.testImportWithHeterogeneousEncodingInFilescom.xpn.xwiki.plugin.packaging.PackageTest.testImportWithHeterogeneousEncodingInFiles | 1PASS | ||
0.85714287
|
org.xwiki.component.internal.ContextComponentManagerTest.testRegisterComponentInWikiComponentManagerorg.xwiki.component.internal.ContextComponentManagerTest.testRegisterComponentInWikiComponentManager | 1PASS | ||
0.85714287
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenInXWikiConfigurationFilecom.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenInXWikiConfigurationFile | 1PASS | ||
0.85714287
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testGlobalUserInLocalGrouporg.xwiki.security.authorization.internal.XWikiRightServiceTest.testGlobalUserInLocalGroup | 1PASS | ||
0.85714287
|
com.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationWhenNoVersioncom.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationWhenNoVersion | 1PASS | ||
0.85714287
|
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeONDemandorg.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeONDemand | 1PASS | ||
0.85714287
|
com.xpn.xwiki.plugin.packaging.PackageTest.testImportWithHeterogeneousEncodingInFilesUsingCommonsCompresscom.xpn.xwiki.plugin.packaging.PackageTest.testImportWithHeterogeneousEncodingInFilesUsingCommonsCompress | 1PASS | ||
0.85714287
|
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachmentcom.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachment | 1PASS | ||
0.85714287
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testGroupFromAnotherWiki1org.xwiki.security.authorization.internal.XWikiRightServiceTest.testGroupFromAnotherWiki1 | 1PASS | ||
0.85714287
|
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWikiFromOtherWikiorg.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWikiFromOtherWiki | 1PASS | ||
0.85714287
|
org.xwiki.component.internal.ContextComponentManagerTest.testDeleteWikiorg.xwiki.component.internal.ContextComponentManagerTest.testDeleteWiki | 1PASS | ||
0.85714287
|
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWikiorg.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWiki | 1PASS | ||
0.85714287
|
com.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationOrderAndIgnorecom.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationOrderAndIgnore | 1PASS | ||
0.85714287
|
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testGetFileLinkcom.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testGetFileLink | 1PASS | ||
0.85714287
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenWithTranslationcom.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenWithTranslation | 1PASS | ||
0.85714287
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetDocumentBundlesWhenDocumentDoesNotExistcom.xpn.xwiki.web.XWikiMessageToolTest.testGetDocumentBundlesWhenDocumentDoesNotExist | 1PASS | ||
0.85714287
|
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachmentWhenURLIsNotZipFilecom.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachmentWhenURLIsNotZipFile | 1PASS | ||
0.85714287
|
com.xpn.xwiki.doc.XWikiDocumentArchiveTest.testUpdateLoadcom.xpn.xwiki.doc.XWikiDocumentArchiveTest.testUpdateLoad | 1PASS | ||
0.85714287
|
org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testGetCurrentMacroBlockorg.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testGetCurrentMacroBlock | 1PASS | ||
0.85714287
|
com.xpn.xwiki.store.VoidAttachmentVersioningStoreTest.testHistorycom.xpn.xwiki.store.VoidAttachmentVersioningStoreTest.testHistory | 1PASS | ||
0.85714287
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetReturnsFromCacheWhenCalledTwicecom.xpn.xwiki.web.XWikiMessageToolTest.testGetReturnsFromCacheWhenCalledTwice | 1PASS | ||
0.85714287
|
org.xwiki.component.internal.ContextComponentManagerTest.testRegisterComponentInRootComponentManagerorg.xwiki.component.internal.ContextComponentManagerTest.testRegisterComponentInRootComponentManager | 1PASS | ||
0.85714287
|
org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteorg.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecute | 1PASS | ||
0.85714287
|
org.xwiki.component.internal.ContextComponentManagerTest.testRegisterComponentInSpaceComponentManagerorg.xwiki.component.internal.ContextComponentManagerTest.testRegisterComponentInSpaceComponentManager | 1PASS | ||
0.85714287
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testProgrammingRightsWhenCustomSecureDocIsSetorg.xwiki.security.authorization.internal.XWikiRightServiceTest.testProgrammingRightsWhenCustomSecureDocIsSet | 1PASS | ||
0.85714287
|
org.xwiki.security.authorization.internal.AuthorizationManagerTest.testRightOnUserAndDeleteorg.xwiki.security.authorization.internal.AuthorizationManagerTest.testRightOnUserAndDelete | 1PASS | ||
0.85714287
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetWithParameterscom.xpn.xwiki.web.XWikiMessageToolTest.testGetWithParameters | 1PASS | ||
0.85714287
|
com.xpn.xwiki.doc.XWikiDocumentArchiveTest.testRemoveVersionscom.xpn.xwiki.doc.XWikiDocumentArchiveTest.testRemoveVersions | 1PASS | ||
0.85714287
|
org.xwiki.component.internal.ContextComponentManagerTest.testRegisterComponentInUserComponentManagerorg.xwiki.component.internal.ContextComponentManagerTest.testRegisterComponentInUserComponentManager | 1PASS | ||
0.85714287
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testWikiOwnerFromAnotherWikiorg.xwiki.security.authorization.internal.XWikiRightServiceTest.testWikiOwnerFromAnotherWiki | 1PASS | ||
0.85714287
|
org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteWhenInlineAndWithMacroorg.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteWhenInlineAndWithMacro | 1PASS | ||
0.85714287
|
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testGetFileTreeListcom.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testGetFileTreeList | 1PASS | ||
0.85714287
|
com.xpn.xwiki.store.VoidAttachmentVersioningStoreTest.testStorecom.xpn.xwiki.store.VoidAttachmentVersioningStoreTest.testStore | 1PASS | ||
0.85714287
|
com.xpn.xwiki.doc.XWikiDocumentArchiveTest.testVerifyDiffAndFullRevisionAlgorithmcom.xpn.xwiki.doc.XWikiDocumentArchiveTest.testVerifyDiffAndFullRevisionAlgorithm | 1PASS | ||
0.85714287
|
com.xpn.xwiki.stats.impl.StatsUtilTest.testGetFilteredUserscom.xpn.xwiki.stats.impl.StatsUtilTest.testGetFilteredUsers | 1PASS | ||
0.85714287
|
com.xpn.xwiki.doc.XWikiDocumentArchiveTest.testVerifyCreationDateWhenLoadingDocumentFromArchivecom.xpn.xwiki.doc.XWikiDocumentArchiveTest.testVerifyCreationDateWhenLoadingDocumentFromArchive | 1PASS | ||
0.85714287
|
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachmentWhenURLIsZipButNotPointingInsideZipcom.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachmentWhenURLIsZipButNotPointingInsideZip | 1PASS | ||
0.85714287
|
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachmentWithInvalidZipURLcom.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachmentWithInvalidZipURL | 1PASS | ||
0.85714287
|
com.xpn.xwiki.api.UserTest.testGetEmailcom.xpn.xwiki.api.UserTest.testGetEmail | 1PASS | ||
0.71428573
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplaycom.xpn.xwiki.doc.XWikiDocumentTest.testDisplay | 1PASS | ||
0.71428573
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRoot | 1PASS | ||
0.71428573
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithGuestUsercom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithGuestUser | 1PASS | ||
0.71428573
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testProgrammingRightsWhenNoContextDocumentIsSetcom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testProgrammingRightsWhenNoContextDocumentIsSet | 1PASS | ||
0.71428573
|
com.xpn.xwiki.XWikiTest.testAuthorAfterDocumentCopycom.xpn.xwiki.XWikiTest.testAuthorAfterDocumentCopy | 1PASS | ||
0.71428573
|
com.xpn.xwiki.XWikiTest.testCreatorAfterDocumentCopycom.xpn.xwiki.XWikiTest.testCreatorAfterDocumentCopy | 1PASS | ||
0.71428573
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceHTMLContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceHTMLContentLength | 1PASS | ||
0.71428573
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testAdminAccessLevelscom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testAdminAccessLevels | 1PASS | ||
0.71428573
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020 | 1PASS | ||
0.71428573
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceWithoutProgrammingRigths | 1PASS | ||
0.71428573
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithTitlecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithTitle | 1PASS | ||
0.71428573
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceConsistencycom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceConsistency | 1PASS | ||
0.71428573
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWiki | 1PASS | ||
0.71428573
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeysorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeys | 1PASS | ||
0.71428573
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRoot | 1PASS | ||
0.71428573
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.71428573
|
com.xpn.xwiki.XWikiTest.testSaveDocumentSendsObservationEventscom.xpn.xwiki.XWikiTest.testSaveDocumentSendsObservationEvents | 1PASS | ||
0.71428573
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithattachmentwithoutdatecom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithattachmentwithoutdate | 1PASS | ||
0.71428573
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelOnEmptyWikicom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelOnEmptyWiki | 1PASS | ||
0.71428573
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelForDeleteRightWhenUserIsDocumentCreatorcom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelForDeleteRightWhenUserIsDocumentCreator | 1PASS | ||
0.71428573
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectField | 1PASS | ||
0.71428573
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWiki | 1PASS | ||
0.71428573
|
com.xpn.xwiki.internal.filter.output.UserInstanceOutputFilterStreamTest.testImportUserWithoutWikicom.xpn.xwiki.internal.filter.output.UserInstanceOutputFilterStreamTest.testImportUserWithoutWiki | 1PASS | ||
0.71428573
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRoot | 1PASS | ||
0.71428573
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceXMLContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceXMLContentLength | 1PASS | ||
0.71428573
|
com.xpn.xwiki.XWikiTest.testGetPrefsClasscom.xpn.xwiki.XWikiTest.testGetPrefsClass | 1PASS | ||
0.71428573
|
com.xpn.xwiki.XWikiTest.testGetDocumentWithEntityReferencecom.xpn.xwiki.XWikiTest.testGetDocumentWithEntityReference | 1PASS | ||
0.71428573
|
com.xpn.xwiki.XWikiTest.testValidationKeyStoragecom.xpn.xwiki.XWikiTest.testValidationKeyStorage | 1PASS | ||
0.71428573
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentWithSourceSyntaxcom.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentWithSourceSyntax | 1PASS | ||
0.71428573
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiAndRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiAndRoot | 1PASS | ||
0.71428573
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnWiki | 1PASS | ||
0.71428573
|
com.xpn.xwiki.internal.filter.output.UserInstanceOutputFilterStreamTest.testImportUsersAndGroupsPreserveVersioncom.xpn.xwiki.internal.filter.output.UserInstanceOutputFilterStreamTest.testImportUsersAndGroupsPreserveVersion | 1PASS | ||
0.71428573
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelAdminOnDocumentcom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelAdminOnDocument | 1PASS | ||
0.71428573
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersAttachmentcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersAttachment | 1PASS | ||
0.71428573
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnWikiWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnWikiWithoutAdminRights | 1PASS | ||
0.71428573
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootAndWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootAndWiki | 1PASS | ||
0.71428573
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnRootWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnRootWithoutAdminRights | 1PASS | ||
0.71428573
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAuthororg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAuthor | 1PASS | ||
0.71428573
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testEditRightsOnWebPreferencesDocumentscom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testEditRightsOnWebPreferencesDocuments | 1PASS | ||
0.71428573
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20 | 1PASS | ||
0.71428573
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.71428573
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldBeforeAttachmentcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldBeforeAttachment | 1PASS | ||
0.71428573
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitlecom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitle | 1PASS | ||
0.71428573
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithnumberversioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithnumberversion | 1PASS | ||
0.71428573
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallFromRootorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallFromRoot | 1PASS | ||
0.71428573
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testProgrammingRightsAfterDropPermissionsForRenderingCyclecom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testProgrammingRightsAfterDropPermissionsForRenderingCycle | 1PASS | ||
0.71428573
|
com.xpn.xwiki.XWikiTest.testCreationDateAfterDocumentCopycom.xpn.xwiki.XWikiTest.testCreationDateAfterDocumentCopy | 1PASS | ||
0.71428573
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitleNonUtf8PlatformEncodingcom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitleNonUtf8PlatformEncoding | 1PASS | ||
0.71428573
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentcom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocument | 1PASS | ||
0.71428573
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallMandatoryorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallMandatory | 1PASS | ||
0.71428573
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallFromWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallFromWiki | 1PASS | ||
0.71428573
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnRootWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnRootWithoutProgrammingRigths | 1PASS | ||
0.71428573
|
com.xpn.xwiki.doc.XWikiDocumentTest.testBackupRestoreContextUpdatesVContextcom.xpn.xwiki.doc.XWikiDocumentTest.testBackupRestoreContextUpdatesVContext | 1PASS | ||
0.71428573
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourcePolymorphismcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourcePolymorphism | 1PASS | ||
0.71428573
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithOnlyPageAsReferencecom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithOnlyPageAsReference | 1PASS | ||
0.71428573
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourcePlainContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourcePlainContentLength | 1PASS | ||
0.71428573
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetUniqueLinkedPagescom.xpn.xwiki.doc.XWikiDocumentTest.testGetUniqueLinkedPages | 1PASS | ||
0.71428573
|
com.xpn.xwiki.XWikiTest.testLanguageSelectioncom.xpn.xwiki.XWikiTest.testLanguageSelection | 1PASS | ||
0.71428573
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespace | 1PASS | ||
0.71428573
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnRoot | 1PASS | ||
0.71428573
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespace | 1PASS | ||
0.71428573
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentCleansVelocityMacroCachecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentCleansVelocityMacroCache | 1PASS | ||
0.71428573
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithUserFromAnotherWikicom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithUserFromAnotherWiki | 1PASS | ||
0.71428573
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAdminRights | 1PASS | ||
0.71428573
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentXarCreatedByCommonsCompresscom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentXarCreatedByCommonsCompress | 1PASS | ||
0.71428573
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectpropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectproperty | 1PASS | ||
0.71428573
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootWithoutProgrammingRigths | 1PASS | ||
0.71428573
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetUniqueLinkedPages10com.xpn.xwiki.doc.XWikiDocumentTest.testGetUniqueLinkedPages10 | 1PASS | ||
0.71428573
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootWithoutAdminRights | 1PASS | ||
0.71428573
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclasspropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclassproperty | 1PASS | ||
0.71428573
|
com.xpn.xwiki.XWikiTest.testGetCurrentContentSyntaxIdcom.xpn.xwiki.XWikiTest.testGetCurrentContentSyntaxId | 1PASS | ||
0.71428573
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportExtensioncom.xpn.xwiki.plugin.packaging.ImportTest.testImportExtension | 1PASS | ||
0.71428573
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceWithoutProgrammingRigths | 1PASS | ||
0.71428573
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnUnsupportedNamespaceorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnUnsupportedNamespace | 1PASS | ||
0.71428573
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceAccessRightscom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceAccessRights | 1PASS | ||
0.71428573
|
com.xpn.xwiki.XWikiTest.testDeleteDocumentSendsObservationEventscom.xpn.xwiki.XWikiTest.testDeleteDocumentSendsObservationEvents | 1PASS | ||
0.71428573
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextRightscom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextRights | 1PASS | ||
0.71428573
|
com.xpn.xwiki.XWikiTest.testIsMultilingualDefaultFalsecom.xpn.xwiki.XWikiTest.testIsMultilingualDefaultFalse | 1PASS | ||
0.71428573
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testOverwriteAllowedNamespacesorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testOverwriteAllowedNamespaces | 1PASS | ||
0.71428573
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testDeniesAccessLevelForCreateIfDocumentDeniesEditcom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testDeniesAccessLevelForCreateIfDocumentDeniesEdit | 1PASS | ||
0.71428573
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevisioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevision | 1PASS | ||
0.71428573
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWiki | 1PASS | ||
0.71428573
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceContentTypecom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceContentType | 1PASS | ||
0.71428573
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRoot | 1PASS | ||
0.71428573
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithoutauthorandcreatorcom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithoutauthorandcreator | 1PASS | ||
0.71428573
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacroorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacro | 1PASS | ||
0.71428573
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testDowngradeOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testDowngradeOnWiki | 1PASS | ||
0.42857143
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallbackOnResourcecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallbackOnResource | 1PASS | ||
0.42857143
|
com.xpn.xwiki.plugin.mailsender.MailSenderApiTest.testSendMailcom.xpn.xwiki.plugin.mailsender.MailSenderApiTest.testSendMail | 1PASS | ||
0.42857143
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenNotMatchingTitleHeaderDepthcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenNotMatchingTitleHeaderDepth | 1PASS | ||
0.42857143
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiRequiringPRAfterDropPermissionorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiRequiringPRAfterDropPermission | 1PASS | ||
0.42857143
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallackOnParentLocalecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallackOnParentLocale | 1PASS | ||
0.42857143
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleNoTitleAndContentcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleNoTitleAndContent | 1PASS | ||
0.42857143
|
com.xpn.xwiki.doc.XWikiDocumentTest.testUpdateDocumentSectioncom.xpn.xwiki.doc.XWikiDocumentTest.testUpdateDocumentSection | 1PASS | ||
0.42857143
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testGetorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testGet | 1PASS | ||
0.42857143
|
com.xpn.xwiki.doc.XWikiDocumentTest.testConvertSyntaxcom.xpn.xwiki.doc.XWikiDocumentTest.testConvertSyntax | 1PASS | ||
0.42857143
|
com.xpn.xwiki.plugin.image.ImagePluginTest.testCacheOfScaledAttachmentcom.xpn.xwiki.plugin.image.ImagePluginTest.testCacheOfScaledAttachment | 1PASS | ||
0.42857143
|
com.xpn.xwiki.api.XWikiTest.testAuthorIsntChangedAfterDocumentCopycom.xpn.xwiki.api.XWikiTest.testAuthorIsntChangedAfterDocumentCopy | 1PASS | ||
0.42857143
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextWithSourceSyntaxcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextWithSourceSyntax | 1PASS | ||
0.42857143
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitlePLAINcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitlePLAIN | 1PASS | ||
0.42857143
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getInvalidTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getInvalidTranslation | 1PASS | ||
0.42857143
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testCheckRightcom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testCheckRight | 1PASS | ||
0.42857143
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testCurrentDocumentVariableIsInjectedBeforeRenderingcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testCurrentDocumentVariableIsInjectedBeforeRendering | 1PASS | ||
0.42857143
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentcom.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContent | 1PASS | ||
0.42857143
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getEmptyWikiTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getEmptyWikiTranslation | 1PASS | ||
0.42857143
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetSectionscom.xpn.xwiki.doc.XWikiDocumentTest.testGetSections | 1PASS | ||
0.42857143
|
com.xpn.xwiki.plugin.mailsender.MailSenderApiTest.testSendRawMessagecom.xpn.xwiki.plugin.mailsender.MailSenderApiTest.testSendRawMessage | 1PASS | ||
0.42857143
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenMatchingTitleHeaderDepthcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenMatchingTitleHeaderDepth | 1PASS | ||
0.42857143
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetIncludedPagescom.xpn.xwiki.doc.XWikiDocumentTest.testGetIncludedPages | 1PASS | ||
0.42857143
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroFactoryTest.testCreateWikiMacroWithoutNameorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroFactoryTest.testCreateWikiMacroWithoutName | 1PASS | ||
0.42857143
|
com.xpn.xwiki.doc.XWikiDocumentTest.testRenamecom.xpn.xwiki.doc.XWikiDocumentTest.testRename | 1PASS | ||
0.42857143
|
com.xpn.xwiki.api.XWikiTest.testCreatorIsntChangedAfterDocumentCopycom.xpn.xwiki.api.XWikiTest.testCreatorIsntChangedAfterDocumentCopy | 1PASS | ||
0.42857143
|
com.xpn.xwiki.plugin.mailsender.MailSenderApiTest.testSendMailWithCustomConfigurationcom.xpn.xwiki.plugin.mailsender.MailSenderApiTest.testSendMailWithCustomConfiguration | 1PASS | ||
0.42857143
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getResourceTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getResourceTranslation | 1PASS | ||
0.42857143
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslationWithParameterscom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslationWithParameters | 1PASS | ||
0.42857143
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportTranslationsOverwritecom.xpn.xwiki.plugin.packaging.ImportTest.testImportTranslationsOverwrite | 1PASS | ||
0.42857143
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiPreferencesCachecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiPreferencesCache | 1PASS | ||
0.42857143
|
com.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.42857143
|
com.xpn.xwiki.web.ExportURLFactoryTest.testCreateAttachmentURLcom.xpn.xwiki.web.ExportURLFactoryTest.testCreateAttachmentURL | 1PASS | ||
0.42857143
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleRecursivecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleRecursive | 1PASS | ||
0.42857143
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportOverwriteDocumentcom.xpn.xwiki.plugin.packaging.ImportTest.testImportOverwriteDocument | 1PASS | ||
0.42857143
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContent | 1PASS | ||
0.42857143
|
com.xpn.xwiki.doc.XWikiDocumentTest.testRename10com.xpn.xwiki.doc.XWikiDocumentTest.testRename10 | 1PASS | ||
0.42857143
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiTranslationCachecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiTranslationCache | 1PASS | ||
0.42857143
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetContentOfSectioncom.xpn.xwiki.doc.XWikiDocumentTest.testGetContentOfSection | 1PASS | ||
0.42857143
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetDocumentSectioncom.xpn.xwiki.doc.XWikiDocumentTest.testGetDocumentSection | 1PASS | ||
0.42857143
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testProgrammingRightsAfterDropPermissionscom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testProgrammingRightsAfterDropPermissions | 1PASS | ||
0.42857143
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentRightscom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentRights | 1PASS | ||
0.42857143
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslatedWikiTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslatedWikiTranslation | 1PASS | ||
0.42857143
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getWikiTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getWikiTranslation | 1PASS | ||
0.42857143
|
com.xpn.xwiki.api.XWikiTest.testCreationDateAfterDocumentCopycom.xpn.xwiki.api.XWikiTest.testCreationDateAfterDocumentCopy | 1PASS | ||
0.42857143
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiMacroBindingorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiMacroBinding | 1PASS | ||
0.42857143
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTMLcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTML | 1PASS | ||
0.42857143
|
com.xpn.xwiki.api.XWikiTest.testGetAvailableRendererSyntaxcom.xpn.xwiki.api.XWikiTest.testGetAvailableRendererSyntax | 1PASS | ||
0.42857143
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetDocumentSectionWhenSectionInGroupscom.xpn.xwiki.doc.XWikiDocumentTest.testGetDocumentSectionWhenSectionInGroups | 1PASS | ||
0.42857143
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroFactoryTest.testCreateWikiMacroorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroFactoryTest.testCreateWikiMacro | 1PASS | ||
0.14285715
|
org.xwiki.component.internal.ContextComponentManagerTest.testSetParentorg.xwiki.component.internal.ContextComponentManagerTest.testSetParent | 1PASS | ||
0.14285715
|
org.xwiki.component.internal.ContextComponentManagerTest.testRegisterComponentInContextComponentManagerThrowsExceptionorg.xwiki.component.internal.ContextComponentManagerTest.testRegisterComponentInContextComponentManagerThrowsException | 1PASS | ||
0.14285715
|
org.xwiki.component.internal.ContextComponentManagerTest.testRegisterComponentDesciptororg.xwiki.component.internal.ContextComponentManagerTest.testRegisterComponentDesciptor | 1PASS | ||
0.14285715
|
org.xwiki.component.internal.ContextComponentManagerTest.testDeleteDocumentorg.xwiki.component.internal.ContextComponentManagerTest.testDeleteDocument | 1PASS | ||
0.14285715
|
org.xwiki.component.internal.ContextComponentManagerTest.testSetComponentEventManagerorg.xwiki.component.internal.ContextComponentManagerTest.testSetComponentEventManager | 1PASS | ||
0.14285715
|
org.xwiki.component.internal.ContextComponentManagerTest.testRegisterComponentInstanceorg.xwiki.component.internal.ContextComponentManagerTest.testRegisterComponentInstance | 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.component.internal; | ||||||
21 | |||||||
22 | import javax.inject.Inject; | ||||||
23 | import javax.inject.Named; | ||||||
24 | import javax.inject.Singleton; | ||||||
25 | |||||||
26 | import org.xwiki.component.annotation.Component; | ||||||
27 | import org.xwiki.component.manager.ComponentManager; | ||||||
28 | import org.xwiki.component.phase.Initializable; | ||||||
29 | import org.xwiki.component.phase.InitializationException; | ||||||
30 | import org.xwiki.model.reference.EntityReference; | ||||||
31 | import org.xwiki.model.reference.WikiReference; | ||||||
32 | import org.xwiki.wiki.descriptor.WikiDescriptorManager; | ||||||
33 | |||||||
34 | /** | ||||||
35 | * Proxy Component Manager that creates and queries individual Component Managers specific to the current wiki in the | ||||||
36 | * Execution Context. These Component Managers are created on the fly the first time a component is registered for the | ||||||
37 | * current wiki. | ||||||
38 | * | ||||||
39 | * @version $Id: 6d9e261406c61057ce92e2158cb7c17ed8e4be95 $ | ||||||
40 | * @since 2.1RC1 | ||||||
41 | */ | ||||||
42 | @Component | ||||||
43 | @Named(WikiComponentManager.ID) | ||||||
44 | @Singleton | ||||||
|
|||||||
45 | public class WikiComponentManager extends AbstractEntityComponentManager implements Initializable | ||||||
46 | { | ||||||
47 | /** | ||||||
48 | * The identifier of this {@link ComponentManager}. | ||||||
49 | */ | ||||||
50 | public static final String ID = "wiki"; | ||||||
51 | |||||||
52 | /** | ||||||
53 | * The prefix of wiki namespace. | ||||||
54 | * | ||||||
55 | * @since 8.4RC1 | ||||||
56 | */ | ||||||
57 | public static final String NAMESPACE_PREFIX = ID + ':'; | ||||||
58 | |||||||
59 | @Inject | ||||||
60 | private WikiDescriptorManager wikis; | ||||||
61 | |||||||
62 | /** | ||||||
63 | * The Component Manager to be used as parent when a component is not found in the current Component Manager. | ||||||
64 | */ | ||||||
65 | @Inject | ||||||
66 | private ComponentManager rootComponentManager; | ||||||
67 | |||||||
|
|||||||
68 | 2859537 | private String getCurrentWiki()... | |||||
69 | { | ||||||
70 | 2859540 | return this.wikis.getCurrentWikiId(); | |||||
71 | } | ||||||
72 | |||||||
|
|||||||
73 | 2823203 | @Override... | |||||
74 | protected EntityReference getCurrentReference() | ||||||
75 | { | ||||||
76 | 2823208 | String currentWikiId = getCurrentWiki(); | |||||
77 | |||||||
78 | 2823200 | return currentWikiId != null ? new WikiReference(currentWikiId) : null; | |||||
79 | } | ||||||
80 | |||||||
81 | /** | ||||||
82 | * {@inheritDoc} | ||||||
83 | * <p> | ||||||
84 | * Override default implementation with one much better for performances. | ||||||
85 | * </p> | ||||||
86 | * | ||||||
87 | * @see org.xwiki.component.internal.AbstractEntityComponentManager#getKey() | ||||||
88 | */ | ||||||
|
|||||||
89 | 36349 | @Override... | |||||
90 | protected String getKey() | ||||||
91 | { | ||||||
92 | 36352 | String wiki = getCurrentWiki(); | |||||
93 | |||||||
94 | 36365 | return wiki != null ? NAMESPACE_PREFIX + wiki : null; | |||||
95 | } | ||||||
96 | |||||||
|
|||||||
97 | 271 | @Override... | |||||
98 | public void initialize() throws InitializationException | ||||||
99 | { | ||||||
100 | // Set the parent to the Root Component Manager since if a component isn't found for a particular wiki | ||||||
101 | // we want to check if it's available in the Root Component Manager. | ||||||
102 | 271 | setInternalParent(this.rootComponentManager); | |||||
103 | } | ||||||
104 | } |