Class | Line # | Actions | |||||
---|---|---|---|---|---|---|---|
RelativeStringEntityReferenceResolver | 47 | 2 | 0% | 3 | 0 | 1.0100% |
Class RelativeStringEntityReferenceResolver |
Line # 47 |
2 |
0% |
3 |
0 |
1.0100% |
---|---|---|---|---|---|---|
RelativeStringEntityReferenceResolver() RelativeStringEntityReferenceResolver() | 5252 | 0.00 | -1.0 - | 1.01 | 0.00 | -1.0 -1.0 - |
RelativeStringEntityReferenceResolver(SymbolScheme) RelativeStringEntityReferenceResolver(SymbolScheme) | 6363 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
getDefaultReference(EntityType,Object) : EntityReference getDefaultReference(EntityType,Object) : EntityReference | 6969 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
1.0
|
org.xwiki.filter.test.integration.FilterTest.executeorg.xwiki.filter.test.integration.FilterTest.execute | 1PASS | ||
0.8
|
org.xwiki.xar.XarPackageTest.readDescriptororg.xwiki.xar.XarPackageTest.readDescriptor | 1PASS | ||
0.8
|
org.xwiki.test.jmeter.HTTPPerformanceTest.guestorg.xwiki.test.jmeter.HTTPPerformanceTest.guest | 3FAIL | ||
0.6
|
org.xwiki.model.reference.EntityReferenceSetTest.excludePartialorg.xwiki.model.reference.EntityReferenceSetTest.excludePartial | 1PASS | ||
0.6
|
org.xwiki.model.internal.reference.converter.EntityReferenceConverterTest.convertSpaceFromStringorg.xwiki.model.internal.reference.converter.EntityReferenceConverterTest.convertSpaceFromString | 1PASS | ||
0.6
|
org.xwiki.filter.test.integration.FilterTest.executeorg.xwiki.filter.test.integration.FilterTest.execute | 1PASS | ||
0.6
|
org.xwiki.filter.test.integration.FilterTest.executeorg.xwiki.filter.test.integration.FilterTest.execute | 1PASS | ||
0.6
|
com.xpn.xwiki.plugin.packaging.PackageTest.testImportWithHeterogeneousEncodingInFilesUsingCommonsCompresscom.xpn.xwiki.plugin.packaging.PackageTest.testImportWithHeterogeneousEncodingInFilesUsingCommonsCompress | 1PASS | ||
0.6
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitleNonUtf8PlatformEncodingcom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitleNonUtf8PlatformEncoding | 1PASS | ||
0.6
|
org.xwiki.filter.xar.XARInputFilterStreamTest.testSkipFirstDocumentorg.xwiki.filter.xar.XARInputFilterStreamTest.testSkipFirstDocument | 1PASS | ||
0.6
|
org.xwiki.filter.test.integration.FilterTest.executeorg.xwiki.filter.test.integration.FilterTest.execute | 1PASS | ||
0.6
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentcom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocument | 1PASS | ||
0.6
|
org.xwiki.filter.test.integration.FilterTest.executeorg.xwiki.filter.test.integration.FilterTest.execute | 1PASS | ||
0.6
|
com.xpn.xwiki.objects.classes.BaseClassTest.setNameAloneWithChangingContextcom.xpn.xwiki.objects.classes.BaseClassTest.setNameAloneWithChangingContext | 1PASS | ||
0.6
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportTranslationsOverwritecom.xpn.xwiki.plugin.packaging.ImportTest.testImportTranslationsOverwrite | 1PASS | ||
0.6
|
org.xwiki.model.reference.EntityReferenceSetTest.includePartialOnlySpaceorg.xwiki.model.reference.EntityReferenceSetTest.includePartialOnlySpace | 1PASS | ||
0.6
|
com.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.6
|
org.xwiki.filter.test.integration.FilterTest.executeorg.xwiki.filter.test.integration.FilterTest.execute | 1PASS | ||
0.6
|
org.xwiki.filter.test.integration.FilterTest.executeorg.xwiki.filter.test.integration.FilterTest.execute | 1PASS | ||
0.6
|
com.xpn.xwiki.doc.XWikiDocumentArchiveTest.testUpdateArchiveWhenSpaceInUsernamecom.xpn.xwiki.doc.XWikiDocumentArchiveTest.testUpdateArchiveWhenSpaceInUsername | 1PASS | ||
0.6
|
org.xwiki.filter.test.integration.FilterTest.executeorg.xwiki.filter.test.integration.FilterTest.execute | 1PASS | ||
0.6
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetUniqueLinkedPagescom.xpn.xwiki.doc.XWikiDocumentTest.testGetUniqueLinkedPages | 1PASS | ||
0.6
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportOverwriteDocumentcom.xpn.xwiki.plugin.packaging.ImportTest.testImportOverwriteDocument | 1PASS | ||
0.6
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.6
|
org.xwiki.filter.test.integration.FilterTest.executeorg.xwiki.filter.test.integration.FilterTest.execute | 1PASS | ||
0.6
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentXarCreatedByCommonsCompresscom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentXarCreatedByCommonsCompress | 1PASS | ||
0.6
|
org.xwiki.filter.test.integration.FilterTest.executeorg.xwiki.filter.test.integration.FilterTest.execute | 1PASS | ||
0.6
|
com.xpn.xwiki.internal.filter.output.UserInstanceOutputFilterStreamTest.testImportUserWithoutWikicom.xpn.xwiki.internal.filter.output.UserInstanceOutputFilterStreamTest.testImportUserWithoutWiki | 1PASS | ||
0.6
|
org.xwiki.filter.test.integration.FilterTest.executeorg.xwiki.filter.test.integration.FilterTest.execute | 1PASS | ||
0.6
|
org.xwiki.filter.xar.XARInputFilterStreamTest.testSkipLastSpaceorg.xwiki.filter.xar.XARInputFilterStreamTest.testSkipLastSpace | 1PASS | ||
0.6
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testGetParentReferencecom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testGetParentReference | 1PASS | ||
0.6
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.tofromXMLDocumentcom.xpn.xwiki.doc.XWikiDocumentMockitoTest.tofromXMLDocument | 1PASS | ||
0.6
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportExtensioncom.xpn.xwiki.plugin.packaging.ImportTest.testImportExtension | 1PASS | ||
0.6
|
com.xpn.xwiki.doc.XWikiDocumentArchiveTest.testRemoveVersionscom.xpn.xwiki.doc.XWikiDocumentArchiveTest.testRemoveVersions | 1PASS | ||
0.6
|
com.xpn.xwiki.internal.filter.output.UserInstanceOutputFilterStreamTest.testImportUsersAndGroupsPreserveVersioncom.xpn.xwiki.internal.filter.output.UserInstanceOutputFilterStreamTest.testImportUsersAndGroupsPreserveVersion | 1PASS | ||
0.6
|
org.xwiki.rendering.internal.resolver.DefaultResourceReferenceEntityReferenceResolverTest.resolveUntypeDocumentorg.xwiki.rendering.internal.resolver.DefaultResourceReferenceEntityReferenceResolverTest.resolveUntypeDocument | 1PASS | ||
0.6
|
com.xpn.xwiki.plugin.packaging.PackageTest.testImportWithHeterogeneousEncodingInFilescom.xpn.xwiki.plugin.packaging.PackageTest.testImportWithHeterogeneousEncodingInFiles | 1PASS | ||
0.6
|
org.xwiki.filter.test.integration.FilterTest.executeorg.xwiki.filter.test.integration.FilterTest.execute | 1PASS | ||
0.6
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testGetParentcom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testGetParent | 1PASS | ||
0.6
|
org.xwiki.filter.test.integration.FilterTest.executeorg.xwiki.filter.test.integration.FilterTest.execute | 1PASS | ||
0.6
|
com.xpn.xwiki.objects.BaseObjectTest.testSetNameAloneWithChangingContextcom.xpn.xwiki.objects.BaseObjectTest.testSetNameAloneWithChangingContext | 1PASS | ||
0.6
|
com.xpn.xwiki.doc.XWikiDocumentArchiveTest.testVerifyCreationDateWhenLoadingDocumentFromArchivecom.xpn.xwiki.doc.XWikiDocumentArchiveTest.testVerifyCreationDateWhenLoadingDocumentFromArchive | 1PASS | ||
0.6
|
org.xwiki.filter.test.integration.FilterTest.executeorg.xwiki.filter.test.integration.FilterTest.execute | 1PASS | ||
0.6
|
com.xpn.xwiki.doc.XWikiDocumentTest.testRenamecom.xpn.xwiki.doc.XWikiDocumentTest.testRename | 1PASS | ||
0.6
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testObjectNumbersAfterXMLRoundripcom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testObjectNumbersAfterXMLRoundrip | 1PASS | ||
0.6
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTMLcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTML | 1PASS | ||
0.6
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevisioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevision | 1PASS | ||
0.6
|
org.xwiki.model.internal.reference.converter.EntityReferenceConverterTest.convertDocumentFromStringorg.xwiki.model.internal.reference.converter.EntityReferenceConverterTest.convertDocumentFromString | 1PASS | ||
0.6
|
org.xwiki.rendering.internal.resolver.DefaultResourceReferenceEntityReferenceResolverTest.resolveTypeAttachmentorg.xwiki.rendering.internal.resolver.DefaultResourceReferenceEntityReferenceResolverTest.resolveTypeAttachment | 1PASS | ||
0.6
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitlecom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitle | 1PASS | ||
0.6
|
org.xwiki.rendering.internal.resolver.DefaultResourceReferenceEntityReferenceResolverTest.resolveUntypeDocumentWhenCurrentPageIsSpaceorg.xwiki.rendering.internal.resolver.DefaultResourceReferenceEntityReferenceResolverTest.resolveUntypeDocumentWhenCurrentPageIsSpace | 1PASS | ||
0.4
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRoot | 1PASS | ||
0.4
|
org.xwiki.test.rest.WikisResourceTest.testSolrSearchorg.xwiki.test.rest.WikisResourceTest.testSolrSearch | 1PASS | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInDomainModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInDomainModeInReverseProxyMode | 1PASS | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenCharactersNeedToBeEncodedcom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenCharactersNeedToBeEncoded | 1PASS | ||
0.4
|
org.xwiki.test.ui.extension.ExtensionTest.testUpgradeorg.xwiki.test.ui.extension.ExtensionTest.testUpgrade | 1PASS | ||
0.4
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithGuestUsercom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithGuestUser | 1PASS | ||
0.4
|
org.xwiki.test.ui.PreviewTest.previewWithSheetorg.xwiki.test.ui.PreviewTest.previewWithSheet | 1PASS | ||
0.4
|
org.xwiki.model.internal.reference.RelativeStringEntityReferenceResolverTest.resolveDocumentReferenceWithBaseReferenceorg.xwiki.model.internal.reference.RelativeStringEntityReferenceResolverTest.resolveDocumentReferenceWithBaseReference | 1PASS | ||
0.4
|
org.xwiki.test.rest.WikisResourceTest.testSearchWikisorg.xwiki.test.rest.WikisResourceTest.testSearchWikis | 1PASS | ||
0.4
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceHTMLContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceHTMLContentLength | 1PASS | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenShowViewActionFalsecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenShowViewActionFalse | 1PASS | ||
0.4
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testAdminAccessLevelscom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testAdminAccessLevels | 1PASS | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenWikiDotHomeParameterFromVirtualWikicom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenWikiDotHomeParameterFromVirtualWiki | 1PASS | ||
0.4
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallMandatoryorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallMandatory | 1PASS | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInPathModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInPathMode | 1PASS | ||
0.4
|
org.xwiki.test.rest.WikisResourceTest.testHQLQuerySearchorg.xwiki.test.rest.WikisResourceTest.testHQLQuerySearch | 1PASS | ||
0.4
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallFromWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallFromWiki | 1PASS | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnMainWikiInDomainModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnMainWikiInDomainMode | 1PASS | ||
0.4
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnRootorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnRoot | 1PASS | ||
0.4
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourcePolymorphismcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourcePolymorphism | 1PASS | ||
0.4
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairInvalidOnRootorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairInvalidOnRoot | 1PASS | ||
0.4
|
com.xpn.xwiki.web.ExportURLFactoryTest.testCreateAttachmentURLcom.xpn.xwiki.web.ExportURLFactoryTest.testCreateAttachmentURL | 1PASS | ||
0.4
|
org.xwiki.activitystream.WebRssTest.webRssFiltersHiddenDocumentsorg.xwiki.activitystream.WebRssTest.webRssFiltersHiddenDocuments | 3FAIL | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createAttachmentURLWhenViewRevAndRevSpecifiedAndIsContextDocAndAttachmentDoesntExistcom.xpn.xwiki.web.XWikiServletURLFactoryTest.createAttachmentURLWhenViewRevAndRevSpecifiedAndIsContextDocAndAttachmentDoesntExist | 1PASS | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenXWikiDotHomeParameterNonVirtualModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenXWikiDotHomeParameterNonVirtualMode | 1PASS | ||
0.4
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourcePlainContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourcePlainContentLength | 1PASS | ||
0.4
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithOnlyPageAsReferencecom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithOnlyPageAsReference | 1PASS | ||
0.4
|
org.xwiki.test.ui.CopyPageTest.testCopyOverwritePageorg.xwiki.test.ui.CopyPageTest.testCopyOverwritePage | 1PASS | ||
0.4
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceConsistencycom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceConsistency | 1PASS | ||
0.4
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWiki | 1PASS | ||
0.4
|
org.xwiki.test.ui.extension.ExtensionTest.testInstallScriptServiceorg.xwiki.test.ui.extension.ExtensionTest.testInstallScriptService | 1PASS | ||
0.4
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRoot | 1PASS | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInDomainModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInDomainMode | 1PASS | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInPathModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInPathMode | 1PASS | ||
0.4
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnRoot | 1PASS | ||
0.4
|
org.xwiki.help.HelpTest.verifySubHeadingVelocityVariableCorrectlyEvaluatedWhenUsedInSectionorg.xwiki.help.HelpTest.verifySubHeadingVelocityVariableCorrectlyEvaluatedWhenUsedInSection | 3FAIL | ||
0.4
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithUserFromAnotherWikicom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithUserFromAnotherWiki | 1PASS | ||
0.4
|
org.xwiki.xar.internal.XarUtilsTest.getReferenceorg.xwiki.xar.internal.XarUtilsTest.getReference | 1PASS | ||
0.4
|
org.xwiki.test.ui.SectionTest.testSectionSaveDoesNotOverwriteTheTitleorg.xwiki.test.ui.SectionTest.testSectionSaveDoesNotOverwriteTheTitle | 1PASS | ||
0.4
|
org.xwiki.test.ui.extension.ExtensionTest.testUninstallorg.xwiki.test.ui.extension.ExtensionTest.testUninstall | 1PASS | ||
0.4
|
org.xwiki.model.internal.reference.RelativeStringEntityReferenceResolverTest.resolveDocumentReferenceorg.xwiki.model.internal.reference.RelativeStringEntityReferenceResolverTest.resolveDocumentReference | 1PASS | ||
0.4
|
org.xwiki.activitystream.WebRssTest.webRssDisplayorg.xwiki.activitystream.WebRssTest.webRssDisplay | 3FAIL | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikicom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWiki | 1PASS | ||
0.4
|
org.xwiki.test.cluster.DocumentCacheTest.testDocumentModifiedCacheSyncorg.xwiki.test.cluster.DocumentCacheTest.testDocumentModifiedCacheSync | 1PASS | ||
0.4
|
org.xwiki.test.ui.extension.ExtensionTest.testShowDetailsorg.xwiki.test.ui.extension.ExtensionTest.testShowDetails | 1PASS | ||
0.4
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWiki | 1PASS | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createAttachmentURLWhenViewRevAndRevSpecifiedAndIsNotContextDoccom.xpn.xwiki.web.XWikiServletURLFactoryTest.createAttachmentURLWhenViewRevAndRevSpecifiedAndIsNotContextDoc | 1PASS | ||
0.4
|
org.xwiki.test.cluster.DocumentCacheTest.testDocumentCacheSyncForAttachmentsorg.xwiki.test.cluster.DocumentCacheTest.testDocumentCacheSyncForAttachments | 1PASS | ||
0.4
|
org.xwiki.test.rest.WikisResourceTest.testAttachmentsorg.xwiki.test.rest.WikisResourceTest.testAttachments | 1PASS | ||
0.4
|
org.xwiki.test.ui.extension.ExtensionTest.testFilterRecommendedorg.xwiki.test.ui.extension.ExtensionTest.testFilterRecommended | 1PASS | ||
0.4
|
org.xwiki.test.rest.SpacesResourceTest.testAttachmentsorg.xwiki.test.rest.SpacesResourceTest.testAttachments | 1PASS | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualMode | 1PASS | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnMainWikicom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnMainWiki | 1PASS | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInPathModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInPathModeInReverseProxyMode | 1PASS | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWithNestedSpacescom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWithNestedSpaces | 1PASS | ||
0.4
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceXMLContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceXMLContentLength | 1PASS | ||
0.4
|
com.xpn.xwiki.XWikiTest.testGetPrefsClasscom.xpn.xwiki.XWikiTest.testGetPrefsClass | 1PASS | ||
0.4
|
com.xpn.xwiki.XWikiTest.testValidationKeyStoragecom.xpn.xwiki.XWikiTest.testValidationKeyStorage | 1PASS | ||
0.4
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiAndRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiAndRoot | 1PASS | ||
0.4
|
org.xwiki.vfs.test.ui.VfsTest.testVfsMacroorg.xwiki.vfs.test.ui.VfsTest.testVfsMacro | 1PASS | ||
0.4
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceAccessRightscom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceAccessRights | 1PASS | ||
0.4
|
org.xwiki.xar.XarPackageTest.readDescriptorWithEmptyIdorg.xwiki.xar.XarPackageTest.readDescriptorWithEmptyId | 1PASS | ||
0.4
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnWiki | 1PASS | ||
0.4
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelAdminOnDocumentcom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelAdminOnDocument | 1PASS | ||
0.4
|
org.xwiki.test.ui.extension.ExtensionTest.testRepositorySelectororg.xwiki.test.ui.extension.ExtensionTest.testRepositorySelector | 1PASS | ||
0.4
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnWikiorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnWiki | 1PASS | ||
0.4
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnWikiWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnWikiWithoutAdminRights | 1PASS | ||
0.4
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootAndWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootAndWiki | 1PASS | ||
0.4
|
org.xwiki.administration.test.ui.CreatePageTest.createPagesFromTemplateorg.xwiki.administration.test.ui.CreatePageTest.createPagesFromTemplate | 1PASS | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInDomainModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInDomainModeInReverseProxyMode | 1PASS | ||
0.4
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnRootWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnRootWithoutAdminRights | 1PASS | ||
0.4
|
org.xwiki.administration.test.ui.CreatePageTest.createExistingPageAndSpaceorg.xwiki.administration.test.ui.CreatePageTest.createExistingPageAndSpace | 1PASS | ||
0.4
|
org.xwiki.administration.test.ui.CreatePageTest.createPageWithSaveAndEditTemplateorg.xwiki.administration.test.ui.CreatePageTest.createPageWithSaveAndEditTemplate | 1PASS | ||
0.4
|
org.xwiki.test.ui.extension.ExtensionTest.testDependenciesorg.xwiki.test.ui.extension.ExtensionTest.testDependencies | 1PASS | ||
0.4
|
org.xwiki.test.cluster.DocumentCacheTest.testDocumentDeletedCacheSyncorg.xwiki.test.cluster.DocumentCacheTest.testDocumentDeletedCacheSync | 1PASS | ||
0.4
|
org.xwiki.test.ui.extension.ExtensionTest.testInstallorg.xwiki.test.ui.extension.ExtensionTest.testInstall | 1PASS | ||
0.4
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAuthororg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAuthor | 1PASS | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInDomainModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInDomainMode | 1PASS | ||
0.4
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testDeniesAccessLevelForCreateIfDocumentDeniesEditcom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testDeniesAccessLevelForCreateIfDocumentDeniesEdit | 1PASS | ||
0.4
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testEditRightsOnWebPreferencesDocumentscom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testEditRightsOnWebPreferencesDocuments | 1PASS | ||
0.4
|
org.xwiki.test.rest.SpacesResourceTest.testSearchorg.xwiki.test.rest.SpacesResourceTest.testSearch | 1PASS | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnMainWikiInPathModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnMainWikiInPathModeInReverseProxyMode | 1PASS | ||
0.4
|
org.xwiki.test.ui.extension.ExtensionTest.testInstallAndUninstallWithoutReloadorg.xwiki.test.ui.extension.ExtensionTest.testInstallAndUninstallWithoutReload | 1PASS | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInPathModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInPathModeInReverseProxyMode | 1PASS | ||
0.4
|
org.xwiki.test.rest.WikisResourceTest.testPagesorg.xwiki.test.rest.WikisResourceTest.testPages | 1PASS | ||
0.4
|
org.xwiki.test.ui.extension.ExtensionTest.testDowngradeorg.xwiki.test.ui.extension.ExtensionTest.testDowngrade | 1PASS | ||
0.4
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWiki | 1PASS | ||
0.4
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceContentTypecom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceContentType | 1PASS | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnMainWikiInPathModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnMainWikiInPathMode | 1PASS | ||
0.4
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.4
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRoot | 1PASS | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenShowViewActionFalseAndSpaceIsNamedAfterAnActioncom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLWhenShowViewActionFalseAndSpaceIsNamedAfterAnAction | 1PASS | ||
0.4
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnMainWikiInDomainModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnMainWikiInDomainModeInReverseProxyMode | 1PASS | ||
0.4
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testDowngradeOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testDowngradeOnWiki | 1PASS | ||
0.4
|
org.xwiki.test.rest.WikisResourceTest.testGlobalSearchorg.xwiki.test.rest.WikisResourceTest.testGlobalSearch | 1PASS | ||
0.4
|
org.xwiki.test.ui.extension.ExtensionTest.testUpgradeWithMergeConflictorg.xwiki.test.ui.extension.ExtensionTest.testUpgradeWithMergeConflict | 1PASS | ||
0.2
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplaycom.xpn.xwiki.doc.XWikiDocumentTest.testDisplay | 1PASS | ||
0.2
|
org.xwiki.model.reference.EntityReferenceSetTest.excludeSpaceorg.xwiki.model.reference.EntityReferenceSetTest.excludeSpace | 1PASS | ||
0.2
|
org.xwiki.model.internal.reference.converter.EntityReferenceConverterTest.convertToStringorg.xwiki.model.internal.reference.converter.EntityReferenceConverterTest.convertToString | 1PASS | ||
0.2
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithnumberversioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithnumberversion | 1PASS | ||
0.2
|
org.xwiki.model.reference.EntityReferenceSetTest.excludeWikiorg.xwiki.model.reference.EntityReferenceSetTest.excludeWiki | 1PASS | ||
0.2
|
org.xwiki.model.reference.EntityReferenceSetTest.includeDocumentInNestedSpaceorg.xwiki.model.reference.EntityReferenceSetTest.includeDocumentInNestedSpace | 1PASS | ||
0.2
|
org.xwiki.model.reference.EntityReferenceSetTest.includeDocumentsInNestedSpacesWithShortAfterLongorg.xwiki.model.reference.EntityReferenceSetTest.includeDocumentsInNestedSpacesWithShortAfterLong | 1PASS | ||
0.2
|
org.xwiki.filter.test.integration.FilterTest.executeorg.xwiki.filter.test.integration.FilterTest.execute | 1PASS | ||
0.2
|
com.xpn.xwiki.internal.filter.XWikiDocumentFilterUtilsTest.class1com.xpn.xwiki.internal.filter.XWikiDocumentFilterUtilsTest.class1 | 1PASS | ||
0.2
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiRequiringPRAfterDropPermissionorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiRequiringPRAfterDropPermission | 1PASS | ||
0.2
|
org.xwiki.model.reference.EntityReferenceSetTest.includeDocumentsInNestedSpacesWithLongAfterShortorg.xwiki.model.reference.EntityReferenceSetTest.includeDocumentsInNestedSpacesWithLongAfterShort | 1PASS | ||
0.2
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020 | 1PASS | ||
0.2
|
org.xwiki.model.reference.EntityReferenceSetTest.excludeNestedSpaceorg.xwiki.model.reference.EntityReferenceSetTest.excludeNestedSpace | 1PASS | ||
0.2
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeysorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeys | 1PASS | ||
0.2
|
org.xwiki.model.reference.EntityReferenceSetTest.includeNestedSpaceorg.xwiki.model.reference.EntityReferenceSetTest.includeNestedSpace | 1PASS | ||
0.2
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithattachmentwithoutdatecom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithattachmentwithoutdate | 1PASS | ||
0.2
|
org.xwiki.model.reference.EntityReferenceSetTest.includeWikiorg.xwiki.model.reference.EntityReferenceSetTest.includeWiki | 1PASS | ||
0.2
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectpropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectproperty | 1PASS | ||
0.2
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclasspropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclassproperty | 1PASS | ||
0.2
|
org.xwiki.filter.test.integration.FilterTest.executeorg.xwiki.filter.test.integration.FilterTest.execute | 1PASS | ||
0.2
|
org.xwiki.model.reference.EntityReferenceSetTest.includeDocumentorg.xwiki.model.reference.EntityReferenceSetTest.includeDocument | 1PASS | ||
0.2
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentWithSourceSyntaxcom.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentWithSourceSyntax | 1PASS | ||
0.2
|
org.xwiki.model.internal.reference.converter.EntityReferenceConverterTest.convertFromNullorg.xwiki.model.internal.reference.converter.EntityReferenceConverterTest.convertFromNull | 1PASS | ||
0.2
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentcom.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContent | 1PASS | ||
0.2
|
org.xwiki.model.reference.EntityReferenceSetTest.includeSpaceorg.xwiki.model.reference.EntityReferenceSetTest.includeSpace | 1PASS | ||
0.2
|
org.xwiki.rendering.internal.resolver.DefaultResourceReferenceEntityReferenceResolverTest.resolveTypeDocumentorg.xwiki.rendering.internal.resolver.DefaultResourceReferenceEntityReferenceResolverTest.resolveTypeDocument | 1PASS | ||
0.2
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiMacroBindingorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiMacroBinding | 1PASS | ||
0.2
|
org.xwiki.model.internal.reference.converter.EntityReferenceConverterTest.convertWikiFromStringorg.xwiki.model.internal.reference.converter.EntityReferenceConverterTest.convertWikiFromString | 1PASS | ||
0.2
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20 | 1PASS | ||
0.2
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithoutauthorandcreatorcom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithoutauthorandcreator | 1PASS | ||
0.2
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacroorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacro | 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.reference; | ||||||
21 | |||||||
22 | import javax.inject.Named; | ||||||
23 | import javax.inject.Singleton; | ||||||
24 | |||||||
25 | import org.xwiki.component.annotation.Component; | ||||||
26 | import org.xwiki.model.EntityType; | ||||||
27 | import org.xwiki.model.reference.EntityReference; | ||||||
28 | |||||||
29 | /** | ||||||
30 | * Resolve {@link org.xwiki.model.reference.EntityReference} objects from its string representations. This | ||||||
31 | * implementation doesn't generate absolute references; instead it stores the representation into an | ||||||
32 | * {@link EntityReference} object (ie if the representation is a Document reference and it has only a page name | ||||||
33 | * specified, then a single EntityReference of type DOCUMENT will be returned, with no Space and Wiki references). This | ||||||
34 | * is useful in cases when we need to store a reference relative to another reference (for example for storing Parent | ||||||
35 | * references in a Document, since we want these references to stay relative if the user has specified a relative | ||||||
36 | * reference, and absolute if the user has specified an absolute reference). | ||||||
37 | * <p> | ||||||
38 | * In other words, this implementation just transforms a String representation into a {@link EntityReference} | ||||||
39 | * representation without resolving any missing parts (space, wiki, etc). | ||||||
40 | * | ||||||
41 | * @version $Id: 2721c7825618e8f9a58d41fbfe666be70ac738a2 $ | ||||||
42 | * @since 2.2.3 | ||||||
43 | */ | ||||||
44 | @Component | ||||||
45 | @Named("relative") | ||||||
46 | @Singleton | ||||||
|
|||||||
47 | public class RelativeStringEntityReferenceResolver extends AbstractStringEntityReferenceResolver | ||||||
48 | { | ||||||
49 | /** | ||||||
50 | * Empty constructor, to be used by the Component Manager, which will also inject the Symbol Scheme. | ||||||
51 | */ | ||||||
|
|||||||
52 | 287 | public RelativeStringEntityReferenceResolver()... | |||||
53 | { | ||||||
54 | // Empty constructor, to be used by the Component Manager, which will also inject the Symbol Scheme | ||||||
55 | } | ||||||
56 | |||||||
57 | /** | ||||||
58 | * Constructor to be used when using this class as a POJO and not as a component. | ||||||
59 | * | ||||||
60 | * @param symbolScheme the scheme to use for serializing the passed references (i.e. defines the separators to use | ||||||
61 | * between the Entity types, and the characters to escape and how to escape them) | ||||||
62 | */ | ||||||
|
|||||||
63 | 8 | public RelativeStringEntityReferenceResolver(SymbolScheme symbolScheme)... | |||||
64 | { | ||||||
65 | 8 | super(symbolScheme); | |||||
66 | } | ||||||
67 | |||||||
68 | |||||||
|
|||||||
69 | 128208 | @Override... | |||||
70 | protected EntityReference getDefaultReference(EntityType type, Object... parameters) | ||||||
71 | { | ||||||
72 | // Return null to signify to the generic algorithm that we don't want to generate references with default | ||||||
73 | // values. | ||||||
74 | 128204 | return null; | |||||
75 | } | ||||||
76 | } |