Class | Line # | Actions | |||||
---|---|---|---|---|---|---|---|
DefaultModelConfiguration | 50 | 14 | 0% | 3 | 0 | 1.0100% |
Class DefaultModelConfiguration |
Line # 50 |
14 |
0% |
3 |
0 |
1.0100% |
---|---|---|---|---|---|---|
<init>, line 62() <init>, line 62() | 6262 | 7.07 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
getDefaultReferenceValue(EntityType) : String getDefaultReferenceValue(EntityType) : String | 8686 | 7.07 | 0.00% | 2.02 | 0.00 | 1.0 1.0100% |
0.9375
|
org.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testOwnerAccessorg.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testOwnerAccess | 1PASS | ||
0.875
|
org.xwiki.model.internal.DefaultModelConfigurationTest.testGetDefaultReferenceNameWhenDefinedInConfigurationorg.xwiki.model.internal.DefaultModelConfigurationTest.testGetDefaultReferenceNameWhenDefinedInConfiguration | 1PASS | ||
0.875
|
org.xwiki.activitystream.WebRssTest.webRssDisplayorg.xwiki.activitystream.WebRssTest.webRssDisplay | 3FAIL | ||
0.5
|
org.xwiki.help.HelpTest.verifySubHeadingVelocityVariableCorrectlyEvaluatedWhenUsedInSectionorg.xwiki.help.HelpTest.verifySubHeadingVelocityVariableCorrectlyEvaluatedWhenUsedInSection | 3FAIL | ||
0.5
|
com.xpn.xwiki.doc.XWikiDocumentMergeTest.testApplyWithUnmodifiedObjectcom.xpn.xwiki.doc.XWikiDocumentMergeTest.testApplyWithUnmodifiedObject | 1PASS | ||
0.5
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.5
|
org.xwiki.security.authorization.internal.DefaultContextualAuthorizationManagerTest.hasAccessorg.xwiki.security.authorization.internal.DefaultContextualAuthorizationManagerTest.hasAccess | 1PASS | ||
0.5
|
org.xwiki.sheet.internal.DefaultSheetManagerTest.testExecutionContextSheetorg.xwiki.sheet.internal.DefaultSheetManagerTest.testExecutionContextSheet | 1PASS | ||
0.4375
|
org.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testLoadUserAfterUserDocorg.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testLoadUserAfterUserDoc | 1PASS | ||
0.4375
|
org.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testInheritancePolicyForLocalWikiAccessorg.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testInheritancePolicyForLocalWikiAccess | 1PASS | ||
0.4375
|
org.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testDocumentCreatororg.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testDocumentCreator | 1PASS | ||
0.4375
|
org.xwiki.mail.test.ui.MailTest.testMailorg.xwiki.mail.test.ui.MailTest.testMail | 3FAIL | ||
0.4375
|
org.xwiki.messagestream.test.ui.MessageStreamTest.verifyGlobalAndSpaceAdministrationSectionsorg.xwiki.messagestream.test.ui.MessageStreamTest.verifyGlobalAndSpaceAdministrationSections | 1PASS | ||
0.4375
|
org.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testInheritancePolicyForNoAdminFarmAccessorg.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testInheritancePolicyForNoAdminFarmAccess | 1PASS | ||
0.4375
|
org.xwiki.panels.test.ui.PanelWizardTest.verifyPanelWizardPresentInAdministrationorg.xwiki.panels.test.ui.PanelWizardTest.verifyPanelWizardPresentInAdministration | 1PASS | ||
0.4375
|
org.xwiki.administration.test.ui.AdministrationTest.verifyGlobalAndSpaceSectionsorg.xwiki.administration.test.ui.AdministrationTest.verifyGlobalAndSpaceSections | 1PASS | ||
0.4375
|
org.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testInheritancePolicyForNoAdminWikiAccessorg.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testInheritancePolicyForNoAdminWikiAccess | 1PASS | ||
0.4375
|
org.xwiki.flamingo.test.ui.RenamePageTest.convertNestedPageToTerminalPageorg.xwiki.flamingo.test.ui.RenamePageTest.convertNestedPageToTerminalPage | 1PASS | ||
0.4375
|
org.xwiki.security.authorization.testwikis.internal.parser.TestDefinitionParserTest.testDefinitionTestParserorg.xwiki.security.authorization.testwikis.internal.parser.TestDefinitionParserTest.testDefinitionTestParser | 1PASS | ||
0.4375
|
org.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testInheritancePolicyForGlobalFullWikiAccessorg.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testInheritancePolicyForGlobalFullWikiAccess | 1PASS | ||
0.4375
|
org.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testGroupAccessorg.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testGroupAccess | 1PASS | ||
0.4375
|
org.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testGroupCacheLoadingUserAfterGroupDocorg.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testGroupCacheLoadingUserAfterGroupDoc | 1PASS | ||
0.4375
|
org.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testTieResolutionPolicyorg.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testTieResolutionPolicy | 1PASS | ||
0.4375
|
org.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testLoadUserInAnotherWikiAfterUserDocorg.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testLoadUserInAnotherWikiAfterUserDoc | 1PASS | ||
0.4375
|
org.xwiki.administration.test.ui.CreatePageTest.createPagesFromTemplateorg.xwiki.administration.test.ui.CreatePageTest.createPagesFromTemplate | 1PASS | ||
0.4375
|
org.xwiki.administration.test.ui.CreatePageTest.createExistingPageAndSpaceorg.xwiki.administration.test.ui.CreatePageTest.createExistingPageAndSpace | 1PASS | ||
0.4375
|
org.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testInheritancePolicyForFullFarmAccessorg.xwiki.security.authorization.DefaultAuthorizationManagerIntegrationTest.testInheritancePolicyForFullFarmAccess | 1PASS | ||
0.4375
|
org.xwiki.flamingo.test.ui.RenamePageTest.renamePageCheckConfirmationPreserveChildrenUpdateLinksSetAutoRedirectorg.xwiki.flamingo.test.ui.RenamePageTest.renamePageCheckConfirmationPreserveChildrenUpdateLinksSetAutoRedirect | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplaycom.xpn.xwiki.doc.XWikiDocumentTest.testDisplay | 1PASS | ||
0.375
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRoot | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallbackOnResourcecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallbackOnResource | 1PASS | ||
0.375
|
com.xpn.xwiki.plugin.mailsender.MailSenderApiTest.testSendMailcom.xpn.xwiki.plugin.mailsender.MailSenderApiTest.testSendMail | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenNotMatchingTitleHeaderDepthcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenNotMatchingTitleHeaderDepth | 1PASS | ||
0.375
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testRelativeDocumentReferenceorg.xwiki.security.authorization.internal.XWikiRightServiceTest.testRelativeDocumentReference | 1PASS | ||
0.375
|
org.xwiki.annotation.io.internal.DefaultIOTargetServiceTest.testGettersWhenTargetIsEmptyStringorg.xwiki.annotation.io.internal.DefaultIOTargetServiceTest.testGettersWhenTargetIsEmptyString | 1PASS | ||
0.375
|
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImplTest.testLoginWithWikiPrefixcom.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImplTest.testLoginWithWikiPrefix | 1PASS | ||
0.375
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiRequiringPRAfterDropPermissionorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiRequiringPRAfterDropPermission | 1PASS | ||
0.375
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithGuestUsercom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithGuestUser | 1PASS | ||
0.375
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testProgrammingRightsWhenNoContextDocumentIsSetcom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testProgrammingRightsWhenNoContextDocumentIsSet | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallackOnParentLocalecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallackOnParentLocale | 1PASS | ||
0.375
|
com.xpn.xwiki.internal.model.reference.CurrentReferenceEntityReferenceResolverTest.testResolveAttachmentReferenceWhenMissingParentsAndNoContextDocumentcom.xpn.xwiki.internal.model.reference.CurrentReferenceEntityReferenceResolverTest.testResolveAttachmentReferenceWhenMissingParentsAndNoContextDocument | 1PASS | ||
0.375
|
com.xpn.xwiki.XWikiTest.testAuthorAfterDocumentCopycom.xpn.xwiki.XWikiTest.testAuthorAfterDocumentCopy | 1PASS | ||
0.375
|
com.xpn.xwiki.XWikiTest.testCreatorAfterDocumentCopycom.xpn.xwiki.XWikiTest.testCreatorAfterDocumentCopy | 1PASS | ||
0.375
|
org.xwiki.model.internal.DefaultModelConfigurationTest.testGetDefaultReferenceNameWhenNotDefinedInConfigurationorg.xwiki.model.internal.DefaultModelConfigurationTest.testGetDefaultReferenceNameWhenNotDefinedInConfiguration | 1PASS | ||
0.375
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testAdminAccessLevelscom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testAdminAccessLevels | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleNoTitleAndContentcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleNoTitleAndContent | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenWikiDotHomeParameterFromVirtualWikicom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenWikiDotHomeParameterFromVirtualWiki | 1PASS | ||
0.375
|
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImplTest.testAuthenticateWithSuperAdminWithDifferentCasecom.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImplTest.testAuthenticateWithSuperAdminWithDifferentCase | 1PASS | ||
0.375
|
org.xwiki.annotation.io.internal.DefaultIOTargetServiceTest.testGettersWhenTargetIsTypedRelativeDocumentorg.xwiki.annotation.io.internal.DefaultIOTargetServiceTest.testGettersWhenTargetIsTypedRelativeDocument | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020 | 1PASS | ||
0.375
|
com.xpn.xwiki.api.DocumentTest.testToStringReturnsFullNamecom.xpn.xwiki.api.DocumentTest.testToStringReturnsFullName | 1PASS | ||
0.375
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testGuestRightsOnEmptyWikiorg.xwiki.security.authorization.internal.XWikiRightServiceTest.testGuestRightsOnEmptyWiki | 1PASS | ||
0.375
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testUserFromAnotherWiki2org.xwiki.security.authorization.internal.XWikiRightServiceTest.testUserFromAnotherWiki2 | 1PASS | ||
0.375
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceWithoutProgrammingRigths | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentArchiveTest.testUpdateArchiveWhenSpaceInUsernamecom.xpn.xwiki.doc.XWikiDocumentArchiveTest.testUpdateArchiveWhenSpaceInUsername | 1PASS | ||
0.375
|
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testGetFileListcom.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testGetFileList | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenDocumentModifiedAfterItIsInCachecom.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenDocumentModifiedAfterItIsInCache | 1PASS | ||
0.375
|
com.xpn.xwiki.internal.model.reference.CurrentMixedStringDocumentReferenceResolverTest.testResolveDocumentReferenceWhenContextDocumentcom.xpn.xwiki.internal.model.reference.CurrentMixedStringDocumentReferenceResolverTest.testResolveDocumentReferenceWhenContextDocument | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenWithUTF8Translationcom.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenWithUTF8Translation | 1PASS | ||
0.375
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWiki | 1PASS | ||
0.375
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeysorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeys | 1PASS | ||
0.375
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRoot | 1PASS | ||
0.375
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentTest.testUpdateDocumentSectioncom.xpn.xwiki.doc.XWikiDocumentTest.testUpdateDocumentSection | 1PASS | ||
0.375
|
com.xpn.xwiki.api.UserTest.testIsUserInGroupDoesNotThrowNPEcom.xpn.xwiki.api.UserTest.testIsUserInGroupDoesNotThrowNPE | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInDomainModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInDomainMode | 1PASS | ||
0.375
|
com.xpn.xwiki.XWikiTest.testSaveDocumentSendsObservationEventscom.xpn.xwiki.XWikiTest.testSaveDocumentSendsObservationEvents | 1PASS | ||
0.375
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testGetorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testGet | 1PASS | ||
0.375
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testGlobalGroupInLocalGrouporg.xwiki.security.authorization.internal.XWikiRightServiceTest.testGlobalGroupInLocalGroup | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInPathModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInPathMode | 1PASS | ||
0.375
|
com.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationForcecom.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationForce | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentTest.testConvertSyntaxcom.xpn.xwiki.doc.XWikiDocumentTest.testConvertSyntax | 1PASS | ||
0.375
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithattachmentwithoutdatecom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithattachmentwithoutdate | 1PASS | ||
0.375
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelOnEmptyWikicom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelOnEmptyWiki | 1PASS | ||
0.375
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testProgrammingRightsWhenNoContextDocumentIsSetorg.xwiki.security.authorization.internal.XWikiRightServiceTest.testProgrammingRightsWhenNoContextDocumentIsSet | 1PASS | ||
0.375
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelForDeleteRightWhenUserIsDocumentCreatorcom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelForDeleteRightWhenUserIsDocumentCreator | 1PASS | ||
0.375
|
com.xpn.xwiki.plugin.image.ImagePluginTest.testCacheOfScaledAttachmentcom.xpn.xwiki.plugin.image.ImagePluginTest.testCacheOfScaledAttachment | 1PASS | ||
0.375
|
com.xpn.xwiki.api.XWikiTest.testAuthorIsntChangedAfterDocumentCopycom.xpn.xwiki.api.XWikiTest.testAuthorIsntChangedAfterDocumentCopy | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikicom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWiki | 1PASS | ||
0.375
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectField | 1PASS | ||
0.375
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWiki | 1PASS | ||
0.375
|
com.xpn.xwiki.internal.filter.output.UserInstanceOutputFilterStreamTest.testImportUserWithoutWikicom.xpn.xwiki.internal.filter.output.UserInstanceOutputFilterStreamTest.testImportUserWithoutWiki | 1PASS | ||
0.375
|
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImplTest.testAuthenticateWithSuperAdminPrefixedWithXWikiWhenSuperAdminPasswordIsTurnedOffcom.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImplTest.testAuthenticateWithSuperAdminPrefixedWithXWikiWhenSuperAdminPasswordIsTurnedOff | 1PASS | ||
0.375
|
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImplTest.testAuthenticateWithSuperAdminWhenSuperAdminPasswordIsTurnedOffcom.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImplTest.testAuthenticateWithSuperAdminWhenSuperAdminPasswordIsTurnedOff | 1PASS | ||
0.375
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testUserFromAnotherWiki1org.xwiki.security.authorization.internal.XWikiRightServiceTest.testUserFromAnotherWiki1 | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenInXWikiPreferencescom.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenInXWikiPreferences | 1PASS | ||
0.375
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRoot | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitlePLAINcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitlePLAIN | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getInvalidTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getInvalidTranslation | 1PASS | ||
0.375
|
com.xpn.xwiki.XWikiTest.testGetDocumentWithEntityReferencecom.xpn.xwiki.XWikiTest.testGetDocumentWithEntityReference | 1PASS | ||
0.375
|
com.xpn.xwiki.XWikiTest.testGetPrefsClasscom.xpn.xwiki.XWikiTest.testGetPrefsClass | 1PASS | ||
0.375
|
com.xpn.xwiki.XWikiTest.testValidationKeyStoragecom.xpn.xwiki.XWikiTest.testValidationKeyStorage | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentWithSourceSyntaxcom.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentWithSourceSyntax | 1PASS | ||
0.375
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiAndRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiAndRoot | 1PASS | ||
0.375
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnWiki | 1PASS | ||
0.375
|
com.xpn.xwiki.internal.filter.output.UserInstanceOutputFilterStreamTest.testImportUsersAndGroupsPreserveVersioncom.xpn.xwiki.internal.filter.output.UserInstanceOutputFilterStreamTest.testImportUsersAndGroupsPreserveVersion | 1PASS | ||
0.375
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelAdminOnDocumentcom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelAdminOnDocument | 1PASS | ||
0.375
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testCheckRightcom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testCheckRight | 1PASS | ||
0.375
|
com.xpn.xwiki.internal.XWikiStubContextInitializerTest.testWithAndWithoutXWikiContextcom.xpn.xwiki.internal.XWikiStubContextInitializerTest.testWithAndWithoutXWikiContext | 1PASS | ||
0.375
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersAttachmentcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersAttachment | 1PASS | ||
0.375
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnWikiWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnWikiWithoutAdminRights | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentcom.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContent | 1PASS | ||
0.375
|
com.xpn.xwiki.plugin.packaging.PackageTest.testImportWithHeterogeneousEncodingInFilescom.xpn.xwiki.plugin.packaging.PackageTest.testImportWithHeterogeneousEncodingInFiles | 1PASS | ||
0.375
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootAndWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootAndWiki | 1PASS | ||
0.375
|
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImplTest.testAuthenticateWithSuperAdminWithWhiteSpacesWhenSuperAdminPasswordIsTurnedOffcom.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImplTest.testAuthenticateWithSuperAdminWithWhiteSpacesWhenSuperAdminPasswordIsTurnedOff | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCreationDateAfterDocumentCopycom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCreationDateAfterDocumentCopy | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getEmptyWikiTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getEmptyWikiTranslation | 1PASS | ||
0.375
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnRootWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnRootWithoutAdminRights | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetSectionscom.xpn.xwiki.doc.XWikiDocumentTest.testGetSections | 1PASS | ||
0.375
|
com.xpn.xwiki.plugin.mailsender.MailSenderApiTest.testSendRawMessagecom.xpn.xwiki.plugin.mailsender.MailSenderApiTest.testSendRawMessage | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testAuthorAfterDocumentCopycom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testAuthorAfterDocumentCopy | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetIncludedPagescom.xpn.xwiki.doc.XWikiDocumentTest.testGetIncludedPages | 1PASS | ||
0.375
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAuthororg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAuthor | 1PASS | ||
0.375
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroFactoryTest.testCreateWikiMacroWithoutNameorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroFactoryTest.testCreateWikiMacroWithoutName | 1PASS | ||
0.375
|
com.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolverTest.testResolveAttachmentReferenceWhenMissingParentsAndNoContextDocumentcom.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolverTest.testResolveAttachmentReferenceWhenMissingParentsAndNoContextDocument | 1PASS | ||
0.375
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testEditRightsOnWebPreferencesDocumentscom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testEditRightsOnWebPreferencesDocuments | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentTest.testRenamecom.xpn.xwiki.doc.XWikiDocumentTest.testRename | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20 | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testDeprecatedConstructorscom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testDeprecatedConstructors | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCopyDocumentcom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCopyDocument | 1PASS | ||
0.375
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenInXWikiConfigurationFilecom.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenInXWikiConfigurationFile | 1PASS | ||
0.375
|
com.xpn.xwiki.api.XWikiTest.testCreatorIsntChangedAfterDocumentCopycom.xpn.xwiki.api.XWikiTest.testCreatorIsntChangedAfterDocumentCopy | 1PASS | ||
0.375
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldBeforeAttachmentcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldBeforeAttachment | 1PASS | ||
0.375
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testGlobalUserInLocalGrouporg.xwiki.security.authorization.internal.XWikiRightServiceTest.testGlobalUserInLocalGroup | 1PASS | ||
0.375
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitlecom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitle | 1PASS | ||
0.375
|
com.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationWhenNoVersioncom.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationWhenNoVersion | 1PASS | ||
0.375
|
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeONDemandorg.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeONDemand | 1PASS | ||
0.375
|
com.xpn.xwiki.plugin.mailsender.MailSenderApiTest.testSendMailWithCustomConfigurationcom.xpn.xwiki.plugin.mailsender.MailSenderApiTest.testSendMailWithCustomConfiguration | 1PASS | ||
0.375
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithnumberversioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithnumberversion | 1PASS | ||
0.375
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallFromRootorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallFromRoot | 1PASS | ||
0.375
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testProgrammingRightsAfterDropPermissionsForRenderingCyclecom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testProgrammingRightsAfterDropPermissionsForRenderingCycle | 1PASS | ||
0.375
|
com.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolverTest.testResolveAttachmentReferencecom.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolverTest.testResolveAttachmentReference | 1PASS | ||
0.375
|
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImplTest.testLogintoVirtualXwikiWithWikiPrefixUsernamecom.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImplTest.testLogintoVirtualXwikiWithWikiPrefixUsername | 1PASS | ||
0.375
|
com.xpn.xwiki.user.impl.xwiki.XWikiGroupServiceImplTest.testListMemberForGroupcom.xpn.xwiki.user.impl.xwiki.XWikiGroupServiceImplTest.testListMemberForGroup | 1PASS | ||
0.375
|
org.xwiki.annotation.io.internal.DefaultIOTargetServiceTest.testGetterWhenTargetIsTypedObjectPropertyInRelativeDocumentorg.xwiki.annotation.io.internal.DefaultIOTargetServiceTest.testGetterWhenTargetIsTypedObjectPropertyInRelativeDocument | 1PASS | ||
0.375
|
com.xpn.xwiki.plugin.packaging.PackageTest.testImportWithHeterogeneousEncodingInFilesUsingCommonsCompresscom.xpn.xwiki.plugin.packaging.PackageTest.testImportWithHeterogeneousEncodingInFilesUsingCommonsCompress | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInDomainModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInDomainModeInReverseProxyMode | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getResourceTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getResourceTranslation | 1PASS | ||
0.375
|
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachmentcom.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachment | 1PASS | ||
0.375
|
org.xwiki.annotation.io.internal.DefaultIOTargetServiceTest.testGettersWhenTargetIsNonTypedRelativeDocumentorg.xwiki.annotation.io.internal.DefaultIOTargetServiceTest.testGettersWhenTargetIsNonTypedRelativeDocument | 1PASS | ||
0.375
|
com.xpn.xwiki.XWikiTest.testCreationDateAfterDocumentCopycom.xpn.xwiki.XWikiTest.testCreationDateAfterDocumentCopy | 1PASS | ||
0.375
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testGroupFromAnotherWiki1org.xwiki.security.authorization.internal.XWikiRightServiceTest.testGroupFromAnotherWiki1 | 1PASS | ||
0.375
|
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWikiFromOtherWikiorg.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWikiFromOtherWiki | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslationWithParameterscom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslationWithParameters | 1PASS | ||
0.375
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitleNonUtf8PlatformEncodingcom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitleNonUtf8PlatformEncoding | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testRelativeObjectReferencesAfterDocumentCopycom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testRelativeObjectReferencesAfterDocumentCopy | 1PASS | ||
0.375
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentcom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocument | 1PASS | ||
0.375
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallMandatoryorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallMandatory | 1PASS | ||
0.375
|
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWikiorg.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWiki | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInPathModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInPathMode | 1PASS | ||
0.375
|
org.xwiki.annotation.io.internal.DefaultIOTargetServiceTest.testGetterWhenTargetIsTypedIndexedRelativeObjectPropertyorg.xwiki.annotation.io.internal.DefaultIOTargetServiceTest.testGetterWhenTargetIsTypedIndexedRelativeObjectProperty | 1PASS | ||
0.375
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportTranslationsOverwritecom.xpn.xwiki.plugin.packaging.ImportTest.testImportTranslationsOverwrite | 1PASS | ||
0.375
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallFromWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallFromWiki | 1PASS | ||
0.375
|
com.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationOrderAndIgnorecom.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationOrderAndIgnore | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiPreferencesCachecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiPreferencesCache | 1PASS | ||
0.375
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnRootWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnRootWithoutProgrammingRigths | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testSetMetadataDirtyWhenAttachmenListChangescom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testSetMetadataDirtyWhenAttachmenListChanges | 1PASS | ||
0.375
|
com.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.375
|
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testGetFileLinkcom.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testGetFileLink | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentTest.testBackupRestoreContextUpdatesVContextcom.xpn.xwiki.doc.XWikiDocumentTest.testBackupRestoreContextUpdatesVContext | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCreatorAfterDocumentCopycom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCreatorAfterDocumentCopy | 1PASS | ||
0.375
|
com.xpn.xwiki.web.ExportURLFactoryTest.testCreateAttachmentURLcom.xpn.xwiki.web.ExportURLFactoryTest.testCreateAttachmentURL | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createAttachmentURLWhenViewRevAndRevSpecifiedAndIsContextDocAndAttachmentDoesntExistcom.xpn.xwiki.web.XWikiServletURLFactoryTest.createAttachmentURLWhenViewRevAndRevSpecifiedAndIsContextDocAndAttachmentDoesntExist | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleRecursivecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleRecursive | 1PASS | ||
0.375
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithOnlyPageAsReferencecom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithOnlyPageAsReference | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenWithTranslationcom.xpn.xwiki.web.XWikiMessageToolTest.testGetWhenWithTranslation | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testToStringReturnsFullNamecom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testToStringReturnsFullName | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetDocumentBundlesWhenDocumentDoesNotExistcom.xpn.xwiki.web.XWikiMessageToolTest.testGetDocumentBundlesWhenDocumentDoesNotExist | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetUniqueLinkedPagescom.xpn.xwiki.doc.XWikiDocumentTest.testGetUniqueLinkedPages | 1PASS | ||
0.375
|
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachmentWhenURLIsNotZipFilecom.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachmentWhenURLIsNotZipFile | 1PASS | ||
0.375
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportOverwriteDocumentcom.xpn.xwiki.plugin.packaging.ImportTest.testImportOverwriteDocument | 1PASS | ||
0.375
|
com.xpn.xwiki.XWikiTest.testLanguageSelectioncom.xpn.xwiki.XWikiTest.testLanguageSelection | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentArchiveTest.testUpdateLoadcom.xpn.xwiki.doc.XWikiDocumentArchiveTest.testUpdateLoad | 1PASS | ||
0.375
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespace | 1PASS | ||
0.375
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnRoot | 1PASS | ||
0.375
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespace | 1PASS | ||
0.375
|
com.xpn.xwiki.internal.model.reference.CurrentMixedReferenceEntityReferenceResolverTest.testResolveAttachmentReferenceWhenMissingParentsAndContextDocumentcom.xpn.xwiki.internal.model.reference.CurrentMixedReferenceEntityReferenceResolverTest.testResolveAttachmentReferenceWhenMissingParentsAndContextDocument | 1PASS | ||
0.375
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithUserFromAnotherWikicom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithUserFromAnotherWiki | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentTest.testRename10com.xpn.xwiki.doc.XWikiDocumentTest.testRename10 | 1PASS | ||
0.375
|
com.xpn.xwiki.store.VoidAttachmentVersioningStoreTest.testHistorycom.xpn.xwiki.store.VoidAttachmentVersioningStoreTest.testHistory | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiTranslationCachecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiTranslationCache | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetContentOfSectioncom.xpn.xwiki.doc.XWikiDocumentTest.testGetContentOfSection | 1PASS | ||
0.375
|
com.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolverTest.testResolveDocumentReferenceWhenNoContextDocumentcom.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolverTest.testResolveDocumentReferenceWhenNoContextDocument | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetReturnsFromCacheWhenCalledTwicecom.xpn.xwiki.web.XWikiMessageToolTest.testGetReturnsFromCacheWhenCalledTwice | 1PASS | ||
0.375
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAdminRights | 1PASS | ||
0.375
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentXarCreatedByCommonsCompresscom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentXarCreatedByCommonsCompress | 1PASS | ||
0.375
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectpropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectproperty | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testObjectGuidsAfterDocumentCopycom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testObjectGuidsAfterDocumentCopy | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetDocumentSectioncom.xpn.xwiki.doc.XWikiDocumentTest.testGetDocumentSection | 1PASS | ||
0.375
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootWithoutProgrammingRigths | 1PASS | ||
0.375
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testProgrammingRightsAfterDropPermissionscom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testProgrammingRightsAfterDropPermissions | 1PASS | ||
0.375
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootWithoutAdminRights | 1PASS | ||
0.375
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclasspropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclassproperty | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualMode | 1PASS | ||
0.375
|
com.xpn.xwiki.XWikiTest.testGetCurrentContentSyntaxIdcom.xpn.xwiki.XWikiTest.testGetCurrentContentSyntaxId | 1PASS | ||
0.375
|
org.xwiki.security.authorization.internal.AuthorizationManagerTest.testRightOnUserAndDeleteorg.xwiki.security.authorization.internal.AuthorizationManagerTest.testRightOnUserAndDelete | 1PASS | ||
0.375
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testProgrammingRightsWhenCustomSecureDocIsSetorg.xwiki.security.authorization.internal.XWikiRightServiceTest.testProgrammingRightsWhenCustomSecureDocIsSet | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInPathModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInPathModeInReverseProxyMode | 1PASS | ||
0.375
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportExtensioncom.xpn.xwiki.plugin.packaging.ImportTest.testImportExtension | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiMessageToolTest.testGetWithParameterscom.xpn.xwiki.web.XWikiMessageToolTest.testGetWithParameters | 1PASS | ||
0.375
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceWithoutProgrammingRigths | 1PASS | ||
0.375
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnUnsupportedNamespaceorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnUnsupportedNamespace | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentArchiveTest.testRemoveVersionscom.xpn.xwiki.doc.XWikiDocumentArchiveTest.testRemoveVersions | 1PASS | ||
0.375
|
org.xwiki.security.authorization.internal.XWikiRightServiceTest.testWikiOwnerFromAnotherWikiorg.xwiki.security.authorization.internal.XWikiRightServiceTest.testWikiOwnerFromAnotherWiki | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslatedWikiTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslatedWikiTranslation | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextRightscom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextRights | 1PASS | ||
0.375
|
com.xpn.xwiki.XWikiTest.testDeleteDocumentSendsObservationEventscom.xpn.xwiki.XWikiTest.testDeleteDocumentSendsObservationEvents | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInDomainModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInDomainModeInReverseProxyMode | 1PASS | ||
0.375
|
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testGetFileTreeListcom.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testGetFileTreeList | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getWikiTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getWikiTranslation | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCustomMappingAfterDocumentCopycom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCustomMappingAfterDocumentCopy | 1PASS | ||
0.375
|
com.xpn.xwiki.store.VoidAttachmentVersioningStoreTest.testStorecom.xpn.xwiki.store.VoidAttachmentVersioningStoreTest.testStore | 1PASS | ||
0.375
|
com.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolverTest.testResolveDocumentReferenceWhenNoContextWikicom.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolverTest.testResolveDocumentReferenceWhenNoContextWiki | 1PASS | ||
0.375
|
com.xpn.xwiki.XWikiTest.testIsMultilingualDefaultFalsecom.xpn.xwiki.XWikiTest.testIsMultilingualDefaultFalse | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentArchiveTest.testVerifyDiffAndFullRevisionAlgorithmcom.xpn.xwiki.doc.XWikiDocumentArchiveTest.testVerifyDiffAndFullRevisionAlgorithm | 1PASS | ||
0.375
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testOverwriteAllowedNamespacesorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testOverwriteAllowedNamespaces | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInDomainModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInDomainMode | 1PASS | ||
0.375
|
com.xpn.xwiki.stats.impl.StatsUtilTest.testGetFilteredUserscom.xpn.xwiki.stats.impl.StatsUtilTest.testGetFilteredUsers | 1PASS | ||
0.375
|
com.xpn.xwiki.api.XWikiTest.testCreationDateAfterDocumentCopycom.xpn.xwiki.api.XWikiTest.testCreationDateAfterDocumentCopy | 1PASS | ||
0.375
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiMacroBindingorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiMacroBinding | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentArchiveTest.testVerifyCreationDateWhenLoadingDocumentFromArchivecom.xpn.xwiki.doc.XWikiDocumentArchiveTest.testVerifyCreationDateWhenLoadingDocumentFromArchive | 1PASS | ||
0.375
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testDeniesAccessLevelForCreateIfDocumentDeniesEditcom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testDeniesAccessLevelForCreateIfDocumentDeniesEdit | 1PASS | ||
0.375
|
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachmentWhenURLIsZipButNotPointingInsideZipcom.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachmentWhenURLIsZipButNotPointingInsideZip | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTMLcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTML | 1PASS | ||
0.375
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInPathModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInPathModeInReverseProxyMode | 1PASS | ||
0.375
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevisioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevision | 1PASS | ||
0.375
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWiki | 1PASS | ||
0.375
|
com.xpn.xwiki.api.XWikiTest.testGetAvailableRendererSyntaxcom.xpn.xwiki.api.XWikiTest.testGetAvailableRendererSyntax | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetDocumentSectionWhenSectionInGroupscom.xpn.xwiki.doc.XWikiDocumentTest.testGetDocumentSectionWhenSectionInGroups | 1PASS | ||
0.375
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRoot | 1PASS | ||
0.375
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithoutauthorandcreatorcom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithoutauthorandcreator | 1PASS | ||
0.375
|
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachmentWithInvalidZipURLcom.xpn.xwiki.plugin.zipexplorer.ZipExplorerTest.testDownloadAttachmentWithInvalidZipURL | 1PASS | ||
0.375
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCopyDocumentSetsTitleToNewDocNameIfPreviouslySetToDocNamecom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCopyDocumentSetsTitleToNewDocNameIfPreviouslySetToDocName | 1PASS | ||
0.375
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacroorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacro | 1PASS | ||
0.375
|
com.xpn.xwiki.api.UserTest.testGetEmailcom.xpn.xwiki.api.UserTest.testGetEmail | 1PASS | ||
0.375
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testDowngradeOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testDowngradeOnWiki | 1PASS | ||
0.375
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroFactoryTest.testCreateWikiMacroorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroFactoryTest.testCreateWikiMacro | 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.model.internal; | ||||||
21 | |||||||
22 | import java.util.HashMap; | ||||||
23 | import java.util.Map; | ||||||
24 | |||||||
25 | import javax.inject.Inject; | ||||||
26 | import javax.inject.Singleton; | ||||||
27 | |||||||
28 | import org.slf4j.Logger; | ||||||
29 | import org.xwiki.component.annotation.Component; | ||||||
30 | import org.xwiki.component.manager.ComponentLookupException; | ||||||
31 | import org.xwiki.component.manager.ComponentManager; | ||||||
32 | import org.xwiki.configuration.ConfigurationSource; | ||||||
33 | import org.xwiki.model.EntityType; | ||||||
34 | import org.xwiki.model.ModelConfiguration; | ||||||
35 | |||||||
36 | /** | ||||||
37 | * Get configuration data from the XWiki configuration using a {@link ConfigurationSource}. If no | ||||||
38 | * {@link ConfigurationSource} component is found in the system then default to default values: | ||||||
39 | * <ul> | ||||||
40 | * <li>"xwiki" for the default wiki value</li> | ||||||
41 | * <li>"Main" for the default space value</li> | ||||||
42 | * <li>"WebHome" for the default page value</li> | ||||||
43 | * </ul> | ||||||
44 | * | ||||||
45 | * @version $Id: cf114a4b05dd19f86a743124ad1c324e3de426bb $ | ||||||
46 | * @since 2.2M1 | ||||||
47 | */ | ||||||
48 | @Component | ||||||
49 | @Singleton | ||||||
|
|||||||
50 | public class DefaultModelConfiguration implements ModelConfiguration | ||||||
51 | { | ||||||
52 | /** | ||||||
53 | * Prefix for configuration keys for the Model module. | ||||||
54 | */ | ||||||
55 | private static final String PREFIX = "model."; | ||||||
56 | |||||||
57 | /** | ||||||
58 | * Default values for all the Entity types, see {@link #getDefaultReferenceValue(org.xwiki.model.EntityType)}. | ||||||
59 | */ | ||||||
60 | private static final Map<EntityType, String> DEFAULT_VALUES = new HashMap<EntityType, String>() | ||||||
61 | { | ||||||
|
|||||||
62 | 96 | {... | |||||
63 | 96 | put(EntityType.WIKI, "xwiki"); | |||||
64 | 96 | put(EntityType.SPACE, "Main"); | |||||
65 | 96 | put(EntityType.DOCUMENT, "WebHome"); | |||||
66 | 96 | put(EntityType.ATTACHMENT, "filename"); | |||||
67 | 96 | put(EntityType.OBJECT, "object"); | |||||
68 | 96 | put(EntityType.OBJECT_PROPERTY, "property"); | |||||
69 | 96 | put(EntityType.CLASS_PROPERTY, get(EntityType.OBJECT_PROPERTY)); | |||||
70 | } | ||||||
71 | }; | ||||||
72 | |||||||
73 | /** | ||||||
74 | * We want to make sure this component can be loaded and used even if there's no ConfigurationSource available | ||||||
75 | * in the system. This is why we lazy load the ConfigurationSource component. | ||||||
76 | */ | ||||||
77 | @Inject | ||||||
78 | private ComponentManager componentManager; | ||||||
79 | |||||||
80 | /** | ||||||
81 | * The logger to log. | ||||||
82 | */ | ||||||
83 | @Inject | ||||||
84 | private Logger logger; | ||||||
85 | |||||||
|
|||||||
86 | 1425656 | @Override... | |||||
87 | public String getDefaultReferenceValue(EntityType type) | ||||||
88 | { | ||||||
89 | 1425654 | String name; | |||||
90 | 1425644 | try { | |||||
91 | // TODO: For the moment we only look in the XWiki properties file since otherwise looking into | ||||||
92 | // Wiki, Space and User preferences cause some cyclic dependencies (we'll be able to do that when all | ||||||
93 | // code has been migrated to use References instead of Strings). | ||||||
94 | 1425646 | ConfigurationSource configuration = | |||||
95 | this.componentManager.getInstance(ConfigurationSource.class, "xwikiproperties"); | ||||||
96 | 1425581 | name = configuration.getProperty(PREFIX + "reference.default." + type.toString().toLowerCase(), | |||||
97 | DEFAULT_VALUES.get(type)); | ||||||
98 | } catch (ComponentLookupException e) { | ||||||
99 | // Failed to load the component, use default values | ||||||
100 | 95 | this.logger.debug("Failed to load [" + ConfigurationSource.class.getName() | |||||
101 | + "]. Using default Model values", e); | ||||||
102 | 95 | name = DEFAULT_VALUES.get(type); | |||||
103 | } | ||||||
104 | |||||||
105 | 1425736 | return name; | |||||
106 | } | ||||||
107 | } |