Class | Line # | Actions | |||||
---|---|---|---|---|---|---|---|
CurrentEntityReferenceProvider | 56 | 18 | 0% | 8 | 1 | 0.96969797% |
Class CurrentEntityReferenceProvider |
Line # 56 |
18 |
0% |
8 |
1 |
0.96969797% |
---|---|---|---|---|---|---|
getDefaultReference(EntityType) : EntityReference getDefaultReference(EntityType) : EntityReference | 6262 | 18.018 | 0.00% | 8.08 | 1.01 | 0.96875 0.9687596.9% |
0.93939394
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplaycom.xpn.xwiki.doc.XWikiDocumentTest.testDisplay | 1PASS | ||
0.93939394
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRoot | 1PASS | ||
0.93939394
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020 | 1PASS | ||
0.93939394
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testGuestRightsOnEmptyWikiorg.xwiki.security.authorization.internal.XWikiRightServiceTest.testGuestRightsOnEmptyWiki | 1PASS | ||
0.93939394
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceWithoutProgrammingRigths | 1PASS | ||
0.93939394
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWiki | 1PASS | ||
0.93939394
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRoot | 1PASS | ||
0.93939394
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWiki | 1PASS | ||
0.93939394
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRoot | 1PASS | ||
0.93939394
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentWithSourceSyntaxcom.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentWithSourceSyntax | 1PASS | ||
0.93939394
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiAndRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiAndRoot | 1PASS | ||
0.93939394
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnWiki | 1PASS | ||
0.93939394
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnWikiWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnWikiWithoutAdminRights | 1PASS | ||
0.93939394
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootAndWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootAndWiki | 1PASS | ||
0.93939394
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnRootWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnRootWithoutAdminRights | 1PASS | ||
0.93939394
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAuthororg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAuthor | 1PASS | ||
0.93939394
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20 | 1PASS | ||
0.93939394
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.93939394
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallFromRootorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallFromRoot | 1PASS | ||
0.93939394
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallMandatoryorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallMandatory | 1PASS | ||
0.93939394
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallFromWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallFromWiki | 1PASS | ||
0.93939394
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnRootWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnRootWithoutProgrammingRigths | 1PASS | ||
0.93939394
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithOnlyPageAsReferencecom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithOnlyPageAsReference | 1PASS | ||
0.93939394
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespace | 1PASS | ||
0.93939394
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnRoot | 1PASS | ||
0.93939394
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespace | 1PASS | ||
0.93939394
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAdminRights | 1PASS | ||
0.93939394
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootWithoutProgrammingRigths | 1PASS | ||
0.93939394
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootWithoutAdminRights | 1PASS | ||
0.93939394
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceWithoutProgrammingRigths | 1PASS | ||
0.93939394
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnUnsupportedNamespaceorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnUnsupportedNamespace | 1PASS | ||
0.93939394
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextRightscom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextRights | 1PASS | ||
0.93939394
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testOverwriteAllowedNamespacesorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testOverwriteAllowedNamespaces | 1PASS | ||
0.93939394
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWiki | 1PASS | ||
0.93939394
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRoot | 1PASS | ||
0.93939394
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testDowngradeOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testDowngradeOnWiki | 1PASS | ||
0.90909094
|
com.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolverTest.testResolveAttachmentReferencecom.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolverTest.testResolveAttachmentReference | 1PASS | ||
0.8181818
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenNotMatchingTitleHeaderDepthcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenNotMatchingTitleHeaderDepth | 1PASS | ||
0.8181818
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testRelativeDocumentReferenceorg.xwiki.security.authorization.internal.XWikiRightServiceTest.testRelativeDocumentReference | 1PASS | ||
0.8181818
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceHTMLContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceHTMLContentLength | 1PASS | ||
0.8181818
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleNoTitleAndContentcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleNoTitleAndContent | 1PASS | ||
0.8181818
|
com.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolverTest.testResolveDocumentReferenceWhenContextDocumentcom.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolverTest.testResolveDocumentReferenceWhenContextDocument | 1PASS | ||
0.8181818
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceConsistencycom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceConsistency | 1PASS | ||
0.8181818
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithTitlecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithTitle | 1PASS | ||
0.8181818
|
com.xpn.xwiki.internal.model.reference.CompactStringEntityReferenceSerializerTest.testSerializeAttachmentReferenceWhenContextDocumentcom.xpn.xwiki.internal.model.reference.CompactStringEntityReferenceSerializerTest.testSerializeAttachmentReferenceWhenContextDocument | 1PASS | ||
0.8181818
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextWithSourceSyntaxcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextWithSourceSyntax | 1PASS | ||
0.8181818
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitlePLAINcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitlePLAIN | 1PASS | ||
0.8181818
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceXMLContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceXMLContentLength | 1PASS | ||
0.8181818
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testCurrentDocumentVariableIsInjectedBeforeRenderingcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testCurrentDocumentVariableIsInjectedBeforeRendering | 1PASS | ||
0.8181818
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenMatchingTitleHeaderDepthcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenMatchingTitleHeaderDepth | 1PASS | ||
0.8181818
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourcePolymorphismcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourcePolymorphism | 1PASS | ||
0.8181818
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleRecursivecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleRecursive | 1PASS | ||
0.8181818
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourcePlainContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourcePlainContentLength | 1PASS | ||
0.8181818
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetUniqueLinkedPagescom.xpn.xwiki.doc.XWikiDocumentTest.testGetUniqueLinkedPages | 1PASS | ||
0.8181818
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContent | 1PASS | ||
0.8181818
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentCleansVelocityMacroCachecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentCleansVelocityMacroCache | 1PASS | ||
0.8181818
|
com.xpn.xwiki.internal.model.reference.CurrentReferenceEntityReferenceResolverTest.testResolveAttachmentReferenceWhenMissingParentsAndContextDocumentcom.xpn.xwiki.internal.model.reference.CurrentReferenceEntityReferenceResolverTest.testResolveAttachmentReferenceWhenMissingParentsAndContextDocument | 1PASS | ||
0.8181818
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetUniqueLinkedPages10com.xpn.xwiki.doc.XWikiDocumentTest.testGetUniqueLinkedPages10 | 1PASS | ||
0.8181818
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceAccessRightscom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceAccessRights | 1PASS | ||
0.8181818
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentRightscom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentRights | 1PASS | ||
0.8181818
|
com.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolverTest.testResolveAttachmentReferenceWhenMissingParentsAndContextDocumentcom.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolverTest.testResolveAttachmentReferenceWhenMissingParentsAndContextDocument | 1PASS | ||
0.8181818
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTMLcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTML | 1PASS | ||
0.8181818
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceContentTypecom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceContentType | 1PASS | ||
0.75757575
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallbackOnResourcecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallbackOnResource | 1PASS | ||
0.75757575
|
com.xpn.xwiki.plugin.mailsender.MailSenderApiTest.testSendMailcom.xpn.xwiki.plugin.mailsender.MailSenderApiTest.testSendMail | 1PASS | ||
0.75757575
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiRequiringPRAfterDropPermissionorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiRequiringPRAfterDropPermission | 1PASS | ||
0.75757575
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithGuestUsercom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithGuestUser | 1PASS | ||
0.75757575
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallackOnParentLocalecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallackOnParentLocale | 1PASS | ||
0.75757575
|
com.xpn.xwiki.internal.model.reference.CurrentReferenceEntityReferenceResolverTest.testResolveAttachmentReferenceWhenMissingParentsAndNoContextDocumentcom.xpn.xwiki.internal.model.reference.CurrentReferenceEntityReferenceResolverTest.testResolveAttachmentReferenceWhenMissingParentsAndNoContextDocument | 1PASS | ||
0.75757575
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testProgrammingRightsWhenNoContextDocumentIsSetcom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testProgrammingRightsWhenNoContextDocumentIsSet | 1PASS | ||
0.75757575
|
com.xpn.xwiki.XWikiTest.testAuthorAfterDocumentCopycom.xpn.xwiki.XWikiTest.testAuthorAfterDocumentCopy | 1PASS | ||
0.75757575
|
com.xpn.xwiki.XWikiTest.testCreatorAfterDocumentCopycom.xpn.xwiki.XWikiTest.testCreatorAfterDocumentCopy | 1PASS | ||
0.75757575
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testAdminAccessLevelscom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testAdminAccessLevels | 1PASS | ||
0.75757575
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testUserFromAnotherWiki2org.xwiki.security.authorization.internal.XWikiRightServiceTest.testUserFromAnotherWiki2 | 1PASS | ||
0.75757575
|
com.xpn.xwiki.doc.XWikiDocumentArchiveTest.testUpdateArchiveWhenSpaceInUsernamecom.xpn.xwiki.doc.XWikiDocumentArchiveTest.testUpdateArchiveWhenSpaceInUsername | 1PASS | ||
0.75757575
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenDocumentModifiedAfterItIsInCachecom.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenDocumentModifiedAfterItIsInCache | 1PASS | ||
0.75757575
|
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testGetFileListcom.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testGetFileList | 1PASS | ||
0.75757575
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenWithUTF8Translationcom.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenWithUTF8Translation | 1PASS | ||
0.75757575
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeysorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeys | 1PASS | ||
0.75757575
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.75757575
|
com.xpn.xwiki.api.UserTest.testIsUserInGroupDoesNotThrowNPEcom.xpn.xwiki.api.UserTest.testIsUserInGroupDoesNotThrowNPE | 1PASS | ||
0.75757575
|
com.xpn.xwiki.doc.XWikiDocumentTest.testUpdateDocumentSectioncom.xpn.xwiki.doc.XWikiDocumentTest.testUpdateDocumentSection | 1PASS | ||
0.75757575
|
com.xpn.xwiki.XWikiTest.testSaveDocumentSendsObservationEventscom.xpn.xwiki.XWikiTest.testSaveDocumentSendsObservationEvents | 1PASS | ||
0.75757575
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testGetorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testGet | 1PASS | ||
0.75757575
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testGlobalGroupInLocalGrouporg.xwiki.security.authorization.internal.XWikiRightServiceTest.testGlobalGroupInLocalGroup | 1PASS | ||
0.75757575
|
com.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationForcecom.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationForce | 1PASS | ||
0.75757575
|
com.xpn.xwiki.doc.XWikiDocumentTest.testConvertSyntaxcom.xpn.xwiki.doc.XWikiDocumentTest.testConvertSyntax | 1PASS | ||
0.75757575
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithattachmentwithoutdatecom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithattachmentwithoutdate | 1PASS | ||
0.75757575
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelOnEmptyWikicom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelOnEmptyWiki | 1PASS | ||
0.75757575
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testProgrammingRightsWhenNoContextDocumentIsSetorg.xwiki.security.authorization.internal.XWikiRightServiceTest.testProgrammingRightsWhenNoContextDocumentIsSet | 1PASS | ||
0.75757575
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelForDeleteRightWhenUserIsDocumentCreatorcom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelForDeleteRightWhenUserIsDocumentCreator | 1PASS | ||
0.75757575
|
com.xpn.xwiki.plugin.image.ImagePluginTest.testCacheOfScaledAttachmentcom.xpn.xwiki.plugin.image.ImagePluginTest.testCacheOfScaledAttachment | 1PASS | ||
0.75757575
|
com.xpn.xwiki.api.XWikiTest.testAuthorIsntChangedAfterDocumentCopycom.xpn.xwiki.api.XWikiTest.testAuthorIsntChangedAfterDocumentCopy | 1PASS | ||
0.75757575
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectField | 1PASS | ||
0.75757575
|
com.xpn.xwiki.internal.filter.output.UserInstanceOutputFilterStreamTest.testImportUserWithoutWikicom.xpn.xwiki.internal.filter.output.UserInstanceOutputFilterStreamTest.testImportUserWithoutWiki | 1PASS | ||
0.75757575
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testUserFromAnotherWiki1org.xwiki.security.authorization.internal.XWikiRightServiceTest.testUserFromAnotherWiki1 | 1PASS | ||
0.75757575
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenInXWikiPreferencescom.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenInXWikiPreferences | 1PASS | ||
0.75757575
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getInvalidTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getInvalidTranslation | 1PASS | ||
0.75757575
|
com.xpn.xwiki.XWikiTest.testGetPrefsClasscom.xpn.xwiki.XWikiTest.testGetPrefsClass | 1PASS | ||
0.75757575
|
com.xpn.xwiki.XWikiTest.testGetDocumentWithEntityReferencecom.xpn.xwiki.XWikiTest.testGetDocumentWithEntityReference | 1PASS | ||
0.75757575
|
com.xpn.xwiki.XWikiTest.testValidationKeyStoragecom.xpn.xwiki.XWikiTest.testValidationKeyStorage | 1PASS | ||
0.75757575
|
com.xpn.xwiki.internal.filter.output.UserInstanceOutputFilterStreamTest.testImportUsersAndGroupsPreserveVersioncom.xpn.xwiki.internal.filter.output.UserInstanceOutputFilterStreamTest.testImportUsersAndGroupsPreserveVersion | 1PASS | ||
0.75757575
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelAdminOnDocumentcom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelAdminOnDocument | 1PASS | ||
0.75757575
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testCheckRightcom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testCheckRight | 1PASS | ||
0.75757575
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersAttachmentcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersAttachment | 1PASS | ||
0.75757575
|
com.xpn.xwiki.plugin.packaging.PackageTest.testImportWithHeterogeneousEncodingInFilescom.xpn.xwiki.plugin.packaging.PackageTest.testImportWithHeterogeneousEncodingInFiles | 1PASS | ||
0.75757575
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentcom.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContent | 1PASS | ||
0.75757575
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getEmptyWikiTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getEmptyWikiTranslation | 1PASS | ||
0.75757575
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetSectionscom.xpn.xwiki.doc.XWikiDocumentTest.testGetSections | 1PASS | ||
0.75757575
|
com.xpn.xwiki.plugin.mailsender.MailSenderApiTest.testSendRawMessagecom.xpn.xwiki.plugin.mailsender.MailSenderApiTest.testSendRawMessage | 1PASS | ||
0.75757575
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetIncludedPagescom.xpn.xwiki.doc.XWikiDocumentTest.testGetIncludedPages | 1PASS | ||
0.75757575
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroFactoryTest.testCreateWikiMacroWithoutNameorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroFactoryTest.testCreateWikiMacroWithoutName | 1PASS | ||
0.75757575
|
com.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolverTest.testResolveAttachmentReferenceWhenMissingParentsAndNoContextDocumentcom.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolverTest.testResolveAttachmentReferenceWhenMissingParentsAndNoContextDocument | 1PASS | ||
0.75757575
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testEditRightsOnWebPreferencesDocumentscom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testEditRightsOnWebPreferencesDocuments | 1PASS | ||
0.75757575
|
com.xpn.xwiki.doc.XWikiDocumentTest.testRenamecom.xpn.xwiki.doc.XWikiDocumentTest.testRename | 1PASS | ||
0.75757575
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenInXWikiConfigurationFilecom.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenInXWikiConfigurationFile | 1PASS | ||
0.75757575
|
com.xpn.xwiki.api.XWikiTest.testCreatorIsntChangedAfterDocumentCopycom.xpn.xwiki.api.XWikiTest.testCreatorIsntChangedAfterDocumentCopy | 1PASS | ||
0.75757575
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldBeforeAttachmentcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldBeforeAttachment | 1PASS | ||
0.75757575
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testGlobalUserInLocalGrouporg.xwiki.security.authorization.internal.XWikiRightServiceTest.testGlobalUserInLocalGroup | 1PASS | ||
0.75757575
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitlecom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitle | 1PASS | ||
0.75757575
|
com.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationWhenNoVersioncom.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationWhenNoVersion | 1PASS | ||
0.75757575
|
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeONDemandorg.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeONDemand | 1PASS | ||
0.75757575
|
com.xpn.xwiki.plugin.mailsender.MailSenderApiTest.testSendMailWithCustomConfigurationcom.xpn.xwiki.plugin.mailsender.MailSenderApiTest.testSendMailWithCustomConfiguration | 1PASS | ||
0.75757575
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithnumberversioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithnumberversion | 1PASS | ||
0.75757575
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testProgrammingRightsAfterDropPermissionsForRenderingCyclecom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testProgrammingRightsAfterDropPermissionsForRenderingCycle | 1PASS | ||
0.75757575
|
com.xpn.xwiki.plugin.packaging.PackageTest.testImportWithHeterogeneousEncodingInFilesUsingCommonsCompresscom.xpn.xwiki.plugin.packaging.PackageTest.testImportWithHeterogeneousEncodingInFilesUsingCommonsCompress | 1PASS | ||
0.75757575
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getResourceTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getResourceTranslation | 1PASS | ||
0.75757575
|
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachmentcom.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachment | 1PASS | ||
0.75757575
|
com.xpn.xwiki.XWikiTest.testCreationDateAfterDocumentCopycom.xpn.xwiki.XWikiTest.testCreationDateAfterDocumentCopy | 1PASS | ||
0.75757575
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testGroupFromAnotherWiki1org.xwiki.security.authorization.internal.XWikiRightServiceTest.testGroupFromAnotherWiki1 | 1PASS | ||
0.75757575
|
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWikiFromOtherWikiorg.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWikiFromOtherWiki | 1PASS | ||
0.75757575
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslationWithParameterscom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslationWithParameters | 1PASS | ||
0.75757575
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitleNonUtf8PlatformEncodingcom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitleNonUtf8PlatformEncoding | 1PASS | ||
0.75757575
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentcom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocument | 1PASS | ||
0.75757575
|
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWikiorg.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWiki | 1PASS | ||
0.75757575
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportTranslationsOverwritecom.xpn.xwiki.plugin.packaging.ImportTest.testImportTranslationsOverwrite | 1PASS | ||
0.75757575
|
com.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationOrderAndIgnorecom.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationOrderAndIgnore | 1PASS | ||
0.75757575
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiPreferencesCachecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiPreferencesCache | 1PASS | ||
0.75757575
|
com.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.75757575
|
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testGetFileLinkcom.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testGetFileLink | 1PASS | ||
0.75757575
|
com.xpn.xwiki.doc.XWikiDocumentTest.testBackupRestoreContextUpdatesVContextcom.xpn.xwiki.doc.XWikiDocumentTest.testBackupRestoreContextUpdatesVContext | 1PASS | ||
0.75757575
|
com.xpn.xwiki.web.ExportURLFactoryTest.testCreateAttachmentURLcom.xpn.xwiki.web.ExportURLFactoryTest.testCreateAttachmentURL | 1PASS | ||
0.75757575
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenWithTranslationcom.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenWithTranslation | 1PASS | ||
0.75757575
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetDocumentBundlesWhenDocumentDoesNotExistcom.xpn.xwiki.web.XWikiMessageToolTest.testGetDocumentBundlesWhenDocumentDoesNotExist | 1PASS | ||
0.75757575
|
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachmentWhenURLIsNotZipFilecom.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachmentWhenURLIsNotZipFile | 1PASS | ||
0.75757575
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportOverwriteDocumentcom.xpn.xwiki.plugin.packaging.ImportTest.testImportOverwriteDocument | 1PASS | ||
0.75757575
|
com.xpn.xwiki.XWikiTest.testLanguageSelectioncom.xpn.xwiki.XWikiTest.testLanguageSelection | 1PASS | ||
0.75757575
|
com.xpn.xwiki.doc.XWikiDocumentArchiveTest.testUpdateLoadcom.xpn.xwiki.doc.XWikiDocumentArchiveTest.testUpdateLoad | 1PASS | ||
0.75757575
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithUserFromAnotherWikicom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithUserFromAnotherWiki | 1PASS | ||
0.75757575
|
com.xpn.xwiki.doc.XWikiDocumentTest.testRename10com.xpn.xwiki.doc.XWikiDocumentTest.testRename10 | 1PASS | ||
0.75757575
|
com.xpn.xwiki.store.VoidAttachmentVersioningStoreTest.testHistorycom.xpn.xwiki.store.VoidAttachmentVersioningStoreTest.testHistory | 1PASS | ||
0.75757575
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiTranslationCachecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiTranslationCache | 1PASS | ||
0.75757575
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetContentOfSectioncom.xpn.xwiki.doc.XWikiDocumentTest.testGetContentOfSection | 1PASS | ||
0.75757575
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetReturnsFromCacheWhenCalledTwicecom.xpn.xwiki.web.XWikiMessageToolTest.testGetReturnsFromCacheWhenCalledTwice | 1PASS | ||
0.75757575
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentXarCreatedByCommonsCompresscom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentXarCreatedByCommonsCompress | 1PASS | ||
0.75757575
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectpropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectproperty | 1PASS | ||
0.75757575
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetDocumentSectioncom.xpn.xwiki.doc.XWikiDocumentTest.testGetDocumentSection | 1PASS | ||
0.75757575
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testProgrammingRightsAfterDropPermissionscom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testProgrammingRightsAfterDropPermissions | 1PASS | ||
0.75757575
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclasspropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclassproperty | 1PASS | ||
0.75757575
|
com.xpn.xwiki.XWikiTest.testGetCurrentContentSyntaxIdcom.xpn.xwiki.XWikiTest.testGetCurrentContentSyntaxId | 1PASS | ||
0.75757575
|
org.xwiki.security.authorization.internal.AuthorizationManagerTest.testRightOnUserAndDeleteorg.xwiki.security.authorization.internal.AuthorizationManagerTest.testRightOnUserAndDelete | 1PASS | ||
0.75757575
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testProgrammingRightsWhenCustomSecureDocIsSetorg.xwiki.security.authorization.internal.XWikiRightServiceTest.testProgrammingRightsWhenCustomSecureDocIsSet | 1PASS | ||
0.75757575
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportExtensioncom.xpn.xwiki.plugin.packaging.ImportTest.testImportExtension | 1PASS | ||
0.75757575
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetWithParameterscom.xpn.xwiki.web.XWikiMessageToolTest.testGetWithParameters | 1PASS | ||
0.75757575
|
com.xpn.xwiki.doc.XWikiDocumentArchiveTest.testRemoveVersionscom.xpn.xwiki.doc.XWikiDocumentArchiveTest.testRemoveVersions | 1PASS | ||
0.75757575
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testWikiOwnerFromAnotherWikiorg.xwiki.security.authorization.internal.XWikiRightServiceTest.testWikiOwnerFromAnotherWiki | 1PASS | ||
0.75757575
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslatedWikiTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslatedWikiTranslation | 1PASS | ||
0.75757575
|
com.xpn.xwiki.XWikiTest.testDeleteDocumentSendsObservationEventscom.xpn.xwiki.XWikiTest.testDeleteDocumentSendsObservationEvents | 1PASS | ||
0.75757575
|
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testGetFileTreeListcom.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testGetFileTreeList | 1PASS | ||
0.75757575
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getWikiTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getWikiTranslation | 1PASS | ||
0.75757575
|
com.xpn.xwiki.store.VoidAttachmentVersioningStoreTest.testStorecom.xpn.xwiki.store.VoidAttachmentVersioningStoreTest.testStore | 1PASS | ||
0.75757575
|
com.xpn.xwiki.XWikiTest.testIsMultilingualDefaultFalsecom.xpn.xwiki.XWikiTest.testIsMultilingualDefaultFalse | 1PASS | ||
0.75757575
|
com.xpn.xwiki.doc.XWikiDocumentArchiveTest.testVerifyDiffAndFullRevisionAlgorithmcom.xpn.xwiki.doc.XWikiDocumentArchiveTest.testVerifyDiffAndFullRevisionAlgorithm | 1PASS | ||
0.75757575
|
com.xpn.xwiki.stats.impl.StatsUtilTest.testGetFilteredUserscom.xpn.xwiki.stats.impl.StatsUtilTest.testGetFilteredUsers | 1PASS | ||
0.75757575
|
com.xpn.xwiki.api.XWikiTest.testCreationDateAfterDocumentCopycom.xpn.xwiki.api.XWikiTest.testCreationDateAfterDocumentCopy | 1PASS | ||
0.75757575
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiMacroBindingorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiMacroBinding | 1PASS | ||
0.75757575
|
com.xpn.xwiki.doc.XWikiDocumentArchiveTest.testVerifyCreationDateWhenLoadingDocumentFromArchivecom.xpn.xwiki.doc.XWikiDocumentArchiveTest.testVerifyCreationDateWhenLoadingDocumentFromArchive | 1PASS | ||
0.75757575
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testDeniesAccessLevelForCreateIfDocumentDeniesEditcom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testDeniesAccessLevelForCreateIfDocumentDeniesEdit | 1PASS | ||
0.75757575
|
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachmentWhenURLIsZipButNotPointingInsideZipcom.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachmentWhenURLIsZipButNotPointingInsideZip | 1PASS | ||
0.75757575
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevisioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevision | 1PASS | ||
0.75757575
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetDocumentSectionWhenSectionInGroupscom.xpn.xwiki.doc.XWikiDocumentTest.testGetDocumentSectionWhenSectionInGroups | 1PASS | ||
0.75757575
|
com.xpn.xwiki.api.XWikiTest.testGetAvailableRendererSyntaxcom.xpn.xwiki.api.XWikiTest.testGetAvailableRendererSyntax | 1PASS | ||
0.75757575
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithoutauthorandcreatorcom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithoutauthorandcreator | 1PASS | ||
0.75757575
|
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachmentWithInvalidZipURLcom.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachmentWithInvalidZipURL | 1PASS | ||
0.75757575
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacroorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacro | 1PASS | ||
0.75757575
|
com.xpn.xwiki.api.UserTest.testGetEmailcom.xpn.xwiki.api.UserTest.testGetEmail | 1PASS | ||
0.75757575
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroFactoryTest.testCreateWikiMacroorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroFactoryTest.testCreateWikiMacro | 1PASS | ||
0.72727275
|
com.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolverTest.testResolveDocumentReferenceWhenNoContextDocumentcom.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolverTest.testResolveDocumentReferenceWhenNoContextDocument | 1PASS | ||
0.72727275
|
com.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolverTest.testResolveDocumentReferenceWhenNoContextWikicom.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolverTest.testResolveDocumentReferenceWhenNoContextWiki | 1PASS | ||
0.57575756
|
com.xpn.xwiki.internal.model.reference.CompactStringEntityReferenceSerializerTest.testSerializeNestedSpaceFromContextcom.xpn.xwiki.internal.model.reference.CompactStringEntityReferenceSerializerTest.testSerializeNestedSpaceFromContext | 1PASS | ||
0.57575756
|
com.xpn.xwiki.internal.model.reference.CurrentMixedStringDocumentReferenceResolverTest.testResolveDocumentReferenceWhenContextDocumentcom.xpn.xwiki.internal.model.reference.CurrentMixedStringDocumentReferenceResolverTest.testResolveDocumentReferenceWhenContextDocument | 1PASS | ||
0.57575756
|
com.xpn.xwiki.internal.model.reference.CompactStringEntityReferenceSerializerTest.testSerializeDocumentReferenceWhenContextDocumentcom.xpn.xwiki.internal.model.reference.CompactStringEntityReferenceSerializerTest.testSerializeDocumentReferenceWhenContextDocument | 1PASS | ||
0.57575756
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCreationDateAfterDocumentCopycom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCreationDateAfterDocumentCopy | 1PASS | ||
0.57575756
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testAuthorAfterDocumentCopycom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testAuthorAfterDocumentCopy | 1PASS | ||
0.57575756
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCopyDocumentcom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCopyDocument | 1PASS | ||
0.57575756
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCreatorAfterDocumentCopycom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCreatorAfterDocumentCopy | 1PASS | ||
0.57575756
|
com.xpn.xwiki.internal.model.reference.CurrentMixedReferenceEntityReferenceResolverTest.testResolveAttachmentReferenceWhenMissingParentsAndContextDocumentcom.xpn.xwiki.internal.model.reference.CurrentMixedReferenceEntityReferenceResolverTest.testResolveAttachmentReferenceWhenMissingParentsAndContextDocument | 1PASS | ||
0.57575756
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testObjectGuidsAfterDocumentCopycom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testObjectGuidsAfterDocumentCopy | 1PASS | ||
0.57575756
|
com.xpn.xwiki.internal.model.reference.CompactStringEntityReferenceSerializerTest.testSerializeSpaceReferenceWhenHasChildrencom.xpn.xwiki.internal.model.reference.CompactStringEntityReferenceSerializerTest.testSerializeSpaceReferenceWhenHasChildren | 1PASS | ||
0.36363637
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInDomainModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInDomainMode | 1PASS | ||
0.36363637
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInDomainModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInDomainModeInReverseProxyMode | 1PASS | ||
0.36363637
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInDomainModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInDomainModeInReverseProxyMode | 1PASS | ||
0.36363637
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInDomainModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInDomainMode | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.newDocumentButNonTerminalFromURLcom.xpn.xwiki.web.CreateActionTest.newDocumentButNonTerminalFromURL | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.newDocumentWebHomeFromURLTemplateProviderSpecifiedButNotAllowedcom.xpn.xwiki.web.CreateActionTest.newDocumentWebHomeFromURLTemplateProviderSpecifiedButNotAllowed | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.newDocumentWebHomeTopLevelFromURLcom.xpn.xwiki.web.CreateActionTest.newDocumentWebHomeTopLevelFromURL | 1PASS | ||
0.33333334
|
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImplTest.testLoginWithWikiPrefixcom.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImplTest.testLoginWithWikiPrefix | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.newDocumentFromURLWhenNoTypecom.xpn.xwiki.web.CreateActionTest.newDocumentFromURLWhenNoType | 1PASS | ||
0.33333334
|
com.xpn.xwiki.internal.filter.XWikiDocumentFilterUtilsTest.class1com.xpn.xwiki.internal.filter.XWikiDocumentFilterUtilsTest.class1 | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenWikiDotHomeParameterFromVirtualWikicom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenWikiDotHomeParameterFromVirtualWiki | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITopLevelDocumentcom.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITopLevelDocument | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderSpecifiedButNotAllowedcom.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderSpecifiedButNotAllowed | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentFromUIDeprecatedCheckEscapingcom.xpn.xwiki.web.CreateActionTest.existingDocumentFromUIDeprecatedCheckEscaping | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.newDocumentFromURLTemplateProviderSpecifiedNonTerminalcom.xpn.xwiki.web.CreateActionTest.newDocumentFromURLTemplateProviderSpecifiedNonTerminal | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderExistingButNoneSelectedcom.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderExistingButNoneSelected | 1PASS | ||
0.33333334
|
com.xpn.xwiki.objects.BaseObjectTest.testSetNamecom.xpn.xwiki.objects.BaseObjectTest.testSetName | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.newDocumentWebHomeFromURLcom.xpn.xwiki.web.CreateActionTest.newDocumentWebHomeFromURL | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.newDocumentWebHomeTopLevelSpaceButTerminalFromURLcom.xpn.xwiki.web.CreateActionTest.newDocumentWebHomeTopLevelSpaceButTerminalFromURL | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInPathModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInPathMode | 1PASS | ||
0.33333334
|
org.xwiki.help.HelpTest.verifySubHeadingVelocityVariableCorrectlyEvaluatedWhenUsedInSectionorg.xwiki.help.HelpTest.verifySubHeadingVelocityVariableCorrectlyEvaluatedWhenUsedInSection | 3FAIL | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.newDocumentWebHomeFromURLTemplateProviderSpecifiedTerminalOverriddenFromUIToNonTerminalcom.xpn.xwiki.web.CreateActionTest.newDocumentWebHomeFromURLTemplateProviderSpecifiedTerminalOverriddenFromUIToNonTerminal | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentTerminalFromUIcom.xpn.xwiki.web.CreateActionTest.existingDocumentTerminalFromUI | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.newDocumentWebHomeButTerminalFromURLcom.xpn.xwiki.web.CreateActionTest.newDocumentWebHomeButTerminalFromURL | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikicom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWiki | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentFromUIDeprecatedcom.xpn.xwiki.web.CreateActionTest.existingDocumentFromUIDeprecated | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderSpecifiedTerminalcom.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderSpecifiedTerminal | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderSpecifiedNonTerminalcom.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderSpecifiedNonTerminal | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentTerminalFromUICheckEscapingcom.xpn.xwiki.web.CreateActionTest.existingDocumentTerminalFromUICheckEscaping | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderSpecifiedTerminalOverridenFromUIToNonTerminalcom.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderSpecifiedTerminalOverridenFromUIToNonTerminal | 1PASS | ||
0.33333334
|
com.xpn.xwiki.internal.model.reference.CompactWikiStringEntityReferenceSerializerTest.testSerializeWhenInSameWikicom.xpn.xwiki.internal.model.reference.CompactWikiStringEntityReferenceSerializerTest.testSerializeWhenInSameWiki | 1PASS | ||
0.33333334
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.tofromXMLDocumentcom.xpn.xwiki.doc.XWikiDocumentMockitoTest.tofromXMLDocument | 1PASS | ||
0.33333334
|
com.xpn.xwiki.objects.classes.BaseClassTest.setNameSetWikicom.xpn.xwiki.objects.classes.BaseClassTest.setNameSetWiki | 1PASS | ||
0.33333334
|
com.xpn.xwiki.internal.model.reference.CurrentMixedStringDocumentReferenceResolverTest.testResolveDocumentReferenceForDefaultWikiWhenNoContextDocumentcom.xpn.xwiki.internal.model.reference.CurrentMixedStringDocumentReferenceResolverTest.testResolveDocumentReferenceForDefaultWikiWhenNoContextDocument | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentFromUIcom.xpn.xwiki.web.CreateActionTest.existingDocumentFromUI | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.newDocumentFromURLTemplateProviderSpecifiedButNotAllowedcom.xpn.xwiki.web.CreateActionTest.newDocumentFromURLTemplateProviderSpecifiedButNotAllowed | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentNonTerminalFromUIDeprecatedcom.xpn.xwiki.web.CreateActionTest.existingDocumentNonTerminalFromUIDeprecated | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.newDocumentWebHomeFromURLTemplateProviderSpecifiedButOldPageTypeButOverriddenFromUIToNonTerminalcom.xpn.xwiki.web.CreateActionTest.newDocumentWebHomeFromURLTemplateProviderSpecifiedButOldPageTypeButOverriddenFromUIToNonTerminal | 1PASS | ||
0.33333334
|
com.xpn.xwiki.internal.model.reference.CompactStringEntityReferenceSerializerTest.testSerializeEntityReferenceWithExplicitcom.xpn.xwiki.internal.model.reference.CompactStringEntityReferenceSerializerTest.testSerializeEntityReferenceWithExplicit | 1PASS | ||
0.33333334
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testObjectNumbersAfterXMLRoundripcom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testObjectNumbersAfterXMLRoundrip | 1PASS | ||
0.33333334
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testDeprecatedConstructorscom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testDeprecatedConstructors | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.newDocumentWebHomeFromURLTemplateProviderSpecifiedTerminalcom.xpn.xwiki.web.CreateActionTest.newDocumentWebHomeFromURLTemplateProviderSpecifiedTerminal | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentTerminalFromUIButAlreadyExistingcom.xpn.xwiki.web.CreateActionTest.existingDocumentTerminalFromUIButAlreadyExisting | 1PASS | ||
0.33333334
|
com.xpn.xwiki.internal.model.reference.CompactStringEntityReferenceSerializerTest.testSerializeWhenNoContextDocumentcom.xpn.xwiki.internal.model.reference.CompactStringEntityReferenceSerializerTest.testSerializeWhenNoContextDocument | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderSpecifiedcom.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderSpecified | 1PASS | ||
0.33333334
|
org.xwiki.security.authorization.internal.DefaultContextualAuthorizationManagerTest.checkAccessorg.xwiki.security.authorization.internal.DefaultContextualAuthorizationManagerTest.checkAccess | 1PASS | ||
0.33333334
|
org.xwiki.security.authorization.internal.DefaultContextualAuthorizationManagerTest.hasAccessorg.xwiki.security.authorization.internal.DefaultContextualAuthorizationManagerTest.hasAccess | 1PASS | ||
0.33333334
|
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImplTest.testLogintoVirtualXwikiWithWikiPrefixUsernamecom.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImplTest.testLogintoVirtualXwikiWithWikiPrefixUsername | 1PASS | ||
0.33333334
|
com.xpn.xwiki.user.impl.xwiki.XWikiGroupServiceImplTest.testListMemberForGroupcom.xpn.xwiki.user.impl.xwiki.XWikiGroupServiceImplTest.testListMemberForGroup | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentFromUICheckEscapingcom.xpn.xwiki.web.CreateActionTest.existingDocumentFromUICheckEscaping | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderSpecifiedRestrictionExistsOnParentSpacecom.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderSpecifiedRestrictionExistsOnParentSpace | 1PASS | ||
0.33333334
|
com.xpn.xwiki.objects.classes.BaseClassTest.setNameAloneWithChangingContextcom.xpn.xwiki.objects.classes.BaseClassTest.setNameAloneWithChangingContext | 1PASS | ||
0.33333334
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testAddObjectcom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testAddObject | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInPathModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInPathMode | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.newDocumentFromURLcom.xpn.xwiki.web.CreateActionTest.newDocumentFromURL | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createAttachmentURLWhenViewRevAndRevSpecifiedAndIsContextDocAndAttachmentDoesntExistcom.xpn.xwiki.web.XWikiServletURLFactoryTest.createAttachmentURLWhenViewRevAndRevSpecifiedAndIsContextDocAndAttachmentDoesntExist | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateSpecifiedcom.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateSpecified | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderSpecifiedButOldSpaceTypeButOverridenFromUIToTerminalcom.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderSpecifiedButOldSpaceTypeButOverridenFromUIToTerminal | 1PASS | ||
0.33333334
|
org.xwiki.activitystream.WebRssTest.webRssDisplayorg.xwiki.activitystream.WebRssTest.webRssDisplay | 3FAIL | ||
0.33333334
|
com.xpn.xwiki.internal.model.reference.CompactWikiStringEntityReferenceSerializerTest.testSerializeWhenNotInSameWikicom.xpn.xwiki.internal.model.reference.CompactWikiStringEntityReferenceSerializerTest.testSerializeWhenNotInSameWiki | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentFromUINoNamecom.xpn.xwiki.web.CreateActionTest.existingDocumentFromUINoName | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualMode | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInPathModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInPathModeInReverseProxyMode | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentNonTerminalFromUIDeprecatedCheckEscapingcom.xpn.xwiki.web.CreateActionTest.existingDocumentNonTerminalFromUIDeprecatedCheckEscaping | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.newDocumentFromURLTemplateProviderSpecifiedNonTerminalButOverriddenFromUITerminalcom.xpn.xwiki.web.CreateActionTest.newDocumentFromURLTemplateProviderSpecifiedNonTerminalButOverriddenFromUITerminal | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderSpecifiedRestrictionExistscom.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderSpecifiedRestrictionExists | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.newDocumentWebHomeFromURLTemplateProviderSpecifiedButOldPageTypecom.xpn.xwiki.web.CreateActionTest.newDocumentWebHomeFromURLTemplateProviderSpecifiedButOldPageType | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentNonTerminalFromUIDeprecatedIgnoringPagecom.xpn.xwiki.web.CreateActionTest.existingDocumentNonTerminalFromUIDeprecatedIgnoringPage | 1PASS | ||
0.33333334
|
com.xpn.xwiki.objects.BaseObjectTest.testSetNameAloneWithChangingContextcom.xpn.xwiki.objects.BaseObjectTest.testSetNameAloneWithChangingContext | 1PASS | ||
0.33333334
|
com.xpn.xwiki.objects.classes.NumberClassTest.testFromStringcom.xpn.xwiki.objects.classes.NumberClassTest.testFromString | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInPathModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInPathModeInReverseProxyMode | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderSpecifiedButOldSpaceTypecom.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderSpecifiedButOldSpaceType | 1PASS | ||
0.33333334
|
com.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderSpecifiedNonTerminalOverridenFromUIToTerminalcom.xpn.xwiki.web.CreateActionTest.existingDocumentFromUITemplateProviderSpecifiedNonTerminalOverridenFromUIToTerminal | 1PASS | ||
0.33333334
|
com.xpn.xwiki.internal.cache.rendering.DefaultRenderingCacheConfigurationTest.testIsCachedWithWikiConfigurationcom.xpn.xwiki.internal.cache.rendering.DefaultRenderingCacheConfigurationTest.testIsCachedWithWikiConfiguration | 1PASS | ||
0.33333334
|
com.xpn.xwiki.internal.model.reference.CompactStringEntityReferenceSerializerTest.testSerializeWhenNoContextcom.xpn.xwiki.internal.model.reference.CompactStringEntityReferenceSerializerTest.testSerializeWhenNoContext | 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 com.xpn.xwiki.internal.model.reference; | ||||||
21 | |||||||
22 | import javax.inject.Inject; | ||||||
23 | import javax.inject.Named; | ||||||
24 | import javax.inject.Provider; | ||||||
25 | import javax.inject.Singleton; | ||||||
26 | |||||||
27 | import org.xwiki.component.annotation.Component; | ||||||
28 | import org.xwiki.model.EntityType; | ||||||
29 | import org.xwiki.model.internal.reference.DefaultEntityReferenceProvider; | ||||||
30 | import org.xwiki.model.reference.DocumentReference; | ||||||
31 | import org.xwiki.model.reference.EntityReference; | ||||||
32 | import org.xwiki.model.reference.SpaceReference; | ||||||
33 | |||||||
34 | import com.xpn.xwiki.XWikiContext; | ||||||
35 | import com.xpn.xwiki.doc.XWikiDocument; | ||||||
36 | |||||||
37 | /** | ||||||
38 | * The behavior is the following: | ||||||
39 | * <ul> | ||||||
40 | * <li>The wiki value used is the current wiki if no wiki was specified in the passed reference (or if it was empty). | ||||||
41 | * Note that this is different from using the current document's wiki value.</li> | ||||||
42 | * <li>The space value used is the space from the current document reference if no space was specified in the passed | ||||||
43 | * reference (or if it was empty). If the current document reference is not defined then the default space value is used | ||||||
44 | * instead.</li> | ||||||
45 | * <li>The page value used is the page from the current document reference if no page was specified in the passed | ||||||
46 | * reference (or if it was empty). If the current document reference is not defined then the default page value is used | ||||||
47 | * instead.</li> | ||||||
48 | * </ul> | ||||||
49 | * | ||||||
50 | * @version $Id: 012b544283f6823dd739ad09fcc2a29a2da3050e $ | ||||||
51 | * @since 7.2M1 | ||||||
52 | */ | ||||||
53 | @Component | ||||||
54 | @Named("current") | ||||||
55 | @Singleton | ||||||
|
|||||||
56 | public class CurrentEntityReferenceProvider extends DefaultEntityReferenceProvider | ||||||
57 | { | ||||||
58 | @Inject | ||||||
59 | @Named("readonly") | ||||||
60 | private Provider<XWikiContext> xcontextProvider; | ||||||
61 | |||||||
|
|||||||
62 | 15256552 | @Override... | |||||
63 | public EntityReference getDefaultReference(EntityType type) | ||||||
64 | { | ||||||
65 | 15256594 | EntityReference result = null; | |||||
66 | |||||||
67 | 15256612 | XWikiContext xcontext = this.xcontextProvider.get(); | |||||
68 | 15258180 | if (xcontext != null) { | |||||
69 | 15258410 | if (type == EntityType.WIKI) { | |||||
70 | 6277305 | result = xcontext.getWikiReference(); | |||||
71 | 8981138 | } else if (type == EntityType.SPACE) { | |||||
72 | 6095048 | XWikiDocument currentDoc = xcontext.getDoc(); | |||||
73 | 6095045 | if (currentDoc != null) { | |||||
74 | 5207753 | SpaceReference spaceReference = currentDoc.getDocumentReference().getLastSpaceReference(); | |||||
75 | // Keep only the spaces part | ||||||
76 | 5207699 | result = spaceReference.removeParent(spaceReference.getWikiReference()); | |||||
77 | } | ||||||
78 | 2886090 | } else if (type == EntityType.DOCUMENT) { | |||||
79 | 2886091 | XWikiDocument currentDoc = xcontext.getDoc(); | |||||
80 | 2886083 | if (currentDoc != null) { | |||||
81 | 2443154 | DocumentReference documentReference = currentDoc.getDocumentReference(); | |||||
82 | // Keep only the document part | ||||||
83 | 2443141 | result = documentReference.removeParent(documentReference.getLastSpaceReference()); | |||||
84 | } | ||||||
85 | } | ||||||
86 | } | ||||||
87 | |||||||
88 | 15256856 | if (result == null) { | |||||
89 | 1359132 | result = super.getDefaultReference(type); | |||||
90 | } | ||||||
91 | |||||||
92 | 15256609 | return result; | |||||
93 | } | ||||||
94 | } |