Class | Line # | Actions | |||||
---|---|---|---|---|---|---|---|
LRUCacheConfiguration | 31 | 14 | 0% | 5 | 0 | 1.0100% |
Class LRUCacheConfiguration |
Line # 31 |
14 |
0% |
5 |
0 |
1.0100% |
---|---|---|---|---|---|---|
LRUCacheConfiguration() LRUCacheConfiguration() | 4242 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
LRUCacheConfiguration(String) LRUCacheConfiguration(String) | 5353 | 3.03 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
LRUCacheConfiguration(String,int) LRUCacheConfiguration(String,int) | 6767 | 4.04 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
LRUCacheConfiguration(String,int,int) LRUCacheConfiguration(String,int,int) | 8383 | 5.05 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
getLRUEvictionConfiguration() : LRUEvictionConfiguration getLRUEvictionConfiguration() : LRUEvictionConfiguration | 9797 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
0.57894737
|
org.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewANewVersionOfAnExistingOfficeAttachmentorg.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewANewVersionOfAnExistingOfficeAttachment | 1PASS | ||
0.57894737
|
org.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewPresentationorg.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewPresentation | 1PASS | ||
0.57894737
|
org.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewNonExistingOfficeAttachmentorg.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewNonExistingOfficeAttachment | 1PASS | ||
0.57894737
|
org.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewExistingOfficeAttachmentWithCacheHitorg.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewExistingOfficeAttachmentWithCacheHit | 1PASS | ||
0.57894737
|
org.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewExistingOfficeFileWithCacheHitorg.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewExistingOfficeFileWithCacheHit | 1PASS | ||
0.57894737
|
org.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewExistingOfficeAttachmentWithCacheMissorg.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewExistingOfficeAttachmentWithCacheMiss | 1PASS | ||
0.42105263
|
org.xwiki.cache.infinispan.InfinispanCacheTest.testCreateAndDestroyCacheLRUAllorg.xwiki.cache.infinispan.InfinispanCacheTest.testCreateAndDestroyCacheLRUAll | 1PASS | ||
0.36842105
|
org.xwiki.rendering.internal.macro.cache.CacheMacroTest.executeWithDifferentMaxEntriesorg.xwiki.rendering.internal.macro.cache.CacheMacroTest.executeWithDifferentMaxEntries | 1PASS | ||
0.36842105
|
org.xwiki.rendering.internal.macro.cache.CacheMacroTest.executeWithDifferentTimeToLiveorg.xwiki.rendering.internal.macro.cache.CacheMacroTest.executeWithDifferentTimeToLive | 1PASS | ||
0.31578946
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplaycom.xpn.xwiki.doc.XWikiDocumentTest.testDisplay | 1PASS | ||
0.31578946
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithnumberversioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithnumberversion | 1PASS | ||
0.31578946
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenNotMatchingTitleHeaderDepthcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenNotMatchingTitleHeaderDepth | 1PASS | ||
0.31578946
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceHTMLContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceHTMLContentLength | 1PASS | ||
0.31578946
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleNoTitleAndContentcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleNoTitleAndContent | 1PASS | ||
0.31578946
|
com.xpn.xwiki.internal.template.TemplateManagerTest.testRenderVelocitycom.xpn.xwiki.internal.template.TemplateManagerTest.testRenderVelocity | 1PASS | ||
0.31578946
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020 | 1PASS | ||
0.31578946
|
com.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.31578946
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourcePolymorphismcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourcePolymorphism | 1PASS | ||
0.31578946
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleRecursivecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleRecursive | 1PASS | ||
0.31578946
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourcePlainContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourcePlainContentLength | 1PASS | ||
0.31578946
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceConsistencycom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceConsistency | 1PASS | ||
0.31578946
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithTitlecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithTitle | 1PASS | ||
0.31578946
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.31578946
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContent | 1PASS | ||
0.31578946
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentCleansVelocityMacroCachecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentCleansVelocityMacroCache | 1PASS | ||
0.31578946
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithattachmentwithoutdatecom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithattachmentwithoutdate | 1PASS | ||
0.31578946
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectField | 1PASS | ||
0.31578946
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectpropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectproperty | 1PASS | ||
0.31578946
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextWithSourceSyntaxcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextWithSourceSyntax | 1PASS | ||
0.31578946
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclasspropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclassproperty | 1PASS | ||
0.31578946
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitlePLAINcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitlePLAIN | 1PASS | ||
0.31578946
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceXMLContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceXMLContentLength | 1PASS | ||
0.31578946
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentWithSourceSyntaxcom.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentWithSourceSyntax | 1PASS | ||
0.31578946
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceAccessRightscom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceAccessRights | 1PASS | ||
0.31578946
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentRightscom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentRights | 1PASS | ||
0.31578946
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersAttachmentcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersAttachment | 1PASS | ||
0.31578946
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testCurrentDocumentVariableIsInjectedBeforeRenderingcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testCurrentDocumentVariableIsInjectedBeforeRendering | 1PASS | ||
0.31578946
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentcom.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContent | 1PASS | ||
0.31578946
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextRightscom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextRights | 1PASS | ||
0.31578946
|
com.xpn.xwiki.internal.template.TemplateManagerTest.testRenderClassloaderTemplatecom.xpn.xwiki.internal.template.TemplateManagerTest.testRenderClassloaderTemplate | 1PASS | ||
0.31578946
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenMatchingTitleHeaderDepthcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenMatchingTitleHeaderDepth | 1PASS | ||
0.31578946
|
com.xpn.xwiki.internal.template.TemplateManagerTest.testRenderWikicom.xpn.xwiki.internal.template.TemplateManagerTest.testRenderWiki | 1PASS | ||
0.31578946
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTMLcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTML | 1PASS | ||
0.31578946
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20 | 1PASS | ||
0.31578946
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevisioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevision | 1PASS | ||
0.31578946
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceContentTypecom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceContentType | 1PASS | ||
0.31578946
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithoutauthorandcreatorcom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithoutauthorandcreator | 1PASS | ||
0.31578946
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldBeforeAttachmentcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldBeforeAttachment | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallExtensionOnIncompatibleNamespaceorg.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallExtensionOnIncompatibleNamespace | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteOnNamespaceorg.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteOnNamespace | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeOnDifferentIdorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeOnDifferentId | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithLowerCoreDependencyFeatureorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithLowerCoreDependencyFeature | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithDependencyOnANamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithDependencyOnANamespace | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionOnNamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionOnNamespace | 1PASS | ||
0.2631579
|
org.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusWithNullIdorg.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusWithNullId | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnRootorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithSimpleRemoteExtensionOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithSimpleRemoteExtensionOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallLowerVersionOfDependencyOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallLowerVersionOfDependencyOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusWithMultipleIdorg.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusWithMultipleId | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallAllorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallAll | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallMandatoryorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallMandatory | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithInstalledDependencyOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithInstalledDependencyOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallEntensionAndUninstallDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallEntensionAndUninstallDependency | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallExtensionAndUninstallDependencyOnANamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallExtensionAndUninstallDependencyOnANamespace | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithDependency | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallFromWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallFromWiki | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanWithDependencyOnRootorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanWithDependencyOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreExtensionorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreExtension | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallDependencyInstallExtensionOnANamespaceAndUninstallDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallDependencyInstallExtensionOnANamespaceAndUninstallDependency | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnRootorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairInvalidOnRootorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairInvalidOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithOverwrittenManagedDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithOverwrittenManagedDependency | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testExtensionInstalledOnNamespaceAtInitorg.xwiki.extension.jar.JarExtensionHandlerTest.testExtensionInstalledOnNamespaceAtInit | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallRemoteWithMissingDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallRemoteWithMissingDependency | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenMoveDependencyOnRootorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenMoveDependencyOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenOnRootWithLowerDependencyorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenOnRootWithLowerDependency | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallNameSpaceExtensionWithExistingRootExtensionorg.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallNameSpaceExtensionWithExistingRootExtension | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallNameSpaceExtensionWithExistingRootExtensionorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallNameSpaceExtensionWithExistingRootExtension | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithDowngradeOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithDowngradeOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithoutComponentsorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithoutComponents | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWiki | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallDependency | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteOnNamespacesorg.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteOnNamespaces | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallDependencyAllorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallDependencyAll | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.job.internal.DefaultJobStatusStoreTest.removeJobStatusorg.xwiki.job.internal.DefaultJobStatusStoreTest.removeJobStatus | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallDependencyInstallExtensionOnANamespaceAndUninstallExtensionorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallDependencyInstallExtensionOnANamespaceAndUninstallExtension | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRootorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallWithBackwarDepencencyorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallWithBackwarDepencency | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceWithGlobalDependencyAndUninstallDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceWithGlobalDependencyAndUninstallDependency | 1PASS | ||
0.2631579
|
com.xpn.xwiki.store.XWikiCacheStoreTest.testLoadXWikiDoccom.xpn.xwiki.store.XWikiCacheStoreTest.testLoadXWikiDoc | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanWithDependencyOnNamespaceorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanWithDependencyOnNamespace | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithRemoteDependencyOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithRemoteDependencyOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteWithMissingDependencyorg.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteWithMissingDependency | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreDependencyOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreDependencyOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallOnNamespaceThenUnpgradeOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallOnNamespaceThenUnpgradeOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnRootWithTargetDependencyExtensionorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnRootWithTargetDependencyExtension | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAdminRights | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWiki | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallTwiceorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallTwice | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallorg.xwiki.extension.job.internal.UninstallJobTest.testUninstall | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnNamespaceWithExtensionOnRootorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnNamespaceWithExtensionOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUnsupportedTypeorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUnsupportedType | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootWithoutAdminRights | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testUpgradeAndDowngradeExtensionOnNamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testUpgradeAndDowngradeExtensionOnNamespace | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithFeatureAsCoreExtensionorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithFeatureAsCoreExtension | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusInWrongPlaceAndWithInvalidLogArgumentorg.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusInWrongPlaceAndWithInvalidLogArgument | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceWithGlobalDependencyAndUninstallorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceWithGlobalDependencyAndUninstall | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallNameSpaceExtensionWithIncompatibleRootDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallNameSpaceExtensionWithIncompatibleRootDependency | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromNamespaceWithBackwarDepencencyorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromNamespaceWithBackwarDepencency | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnUnsupportedNamespaceorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnUnsupportedNamespace | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiAndRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiAndRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnWiki | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeFeatureWithDifferentVersionorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeFeatureWithDifferentVersion | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnWikiorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnWiki | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnWikiWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnWikiWithoutAdminRights | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithManagedDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithManagedDependency | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallJobTest.testReplaceDependencyWithFeatureorg.xwiki.extension.job.internal.InstallJobTest.testReplaceDependencyWithFeature | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootAndWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootAndWiki | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromNamespaceorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromNamespace | 1PASS | ||
0.2631579
|
org.xwiki.job.internal.DefaultJobStatusStoreTest.storeJobStatusorg.xwiki.job.internal.DefaultJobStatusStoreTest.storeJobStatus | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallJobTest.testUpgradeFirstOnRootorg.xwiki.extension.job.internal.InstallJobTest.testUpgradeFirstOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnRootWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnRootWithoutAdminRights | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testExtensionInstalledOnRootAtInitorg.xwiki.extension.jar.JarExtensionHandlerTest.testExtensionInstalledOnRootAtInit | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtension | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAuthororg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAuthor | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithFeatureAsCoreExtensionFeatureorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithFeatureAsCoreExtensionFeature | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallWebjarExtensionorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallWebjarExtension | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testReInstalledWithMissingDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testReInstalledWithMissingDependency | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallJobTest.testDowngradeFirstOnRootorg.xwiki.extension.job.internal.InstallJobTest.testDowngradeFirstOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromAllNamespacesorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromAllNamespaces | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallNameSpaceExtensionWithDependencyAllowedOnRootOnlyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallNameSpaceExtensionWithDependencyAllowedOnRootOnly | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreExtensionFeatureorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreExtensionFeature | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithManagedTransitiveDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithManagedTransitiveDependency | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnRootorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWiki | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusThatDoesNotExistorg.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusThatDoesNotExist | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenUpgradeOnRootorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenUpgradeOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusInOldPlaceorg.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusInOldPlace | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testUninstallInvalidExtensionFromNamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testUninstallInvalidExtensionFromNamespace | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithHigherCoreDependencyFeatureorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithHigherCoreDependencyFeature | 1PASS | ||
0.2631579
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testDowngradeOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testDowngradeOnWiki | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstall | 1PASS | ||
0.2631579
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testUninstallInvalidExtensionFromRootorg.xwiki.extension.jar.JarExtensionHandlerTest.testUninstallInvalidExtensionFromRoot | 1PASS | ||
0.2631579
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testUpgradeExtensionOnNamespaceWithDependencyAllowedOnRootOnlyorg.xwiki.extension.job.internal.InstallPlanJobTest.testUpgradeExtensionOnNamespaceWithDependencyAllowedOnRootOnly | 1PASS |
1 | /* | ||||||
2 | * See the NOTICE file distributed with this work for additional | ||||||
3 | * information regarding copyright ownership. | ||||||
4 | * | ||||||
5 | * This is free software; you can redistribute it and/or modify it | ||||||
6 | * under the terms of the GNU Lesser General Public License as | ||||||
7 | * published by the Free Software Foundation; either version 2.1 of | ||||||
8 | * the License, or (at your option) any later version. | ||||||
9 | * | ||||||
10 | * This software is distributed in the hope that it will be useful, | ||||||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||||||
13 | * Lesser General Public License for more details. | ||||||
14 | * | ||||||
15 | * You should have received a copy of the GNU Lesser General Public | ||||||
16 | * License along with this software; if not, write to the Free | ||||||
17 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | ||||||
18 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. | ||||||
19 | */ | ||||||
20 | package org.xwiki.cache.config; | ||||||
21 | |||||||
22 | import org.xwiki.cache.eviction.EntryEvictionConfiguration; | ||||||
23 | import org.xwiki.cache.eviction.LRUEvictionConfiguration; | ||||||
24 | |||||||
25 | /** | ||||||
26 | * Cache configuration using LRU eviction method. | ||||||
27 | * | ||||||
28 | * @version $Id: 380630285812aa90f1feb9979a3702876832a872 $ | ||||||
29 | * @since 4.3M1 | ||||||
30 | */ | ||||||
|
|||||||
31 | public class LRUCacheConfiguration extends CacheConfiguration | ||||||
32 | { | ||||||
33 | /** | ||||||
34 | * Unique id for serialization. | ||||||
35 | */ | ||||||
36 | private static final long serialVersionUID = 1L; | ||||||
37 | |||||||
38 | /** | ||||||
39 | * Creates new LRUCacheConfiguration instance with empty (null) configurationId, default size of 100 and time to | ||||||
40 | * live 0. | ||||||
41 | */ | ||||||
|
|||||||
42 | 1 | public LRUCacheConfiguration()... | |||||
43 | { | ||||||
44 | 1 | this(null); | |||||
45 | } | ||||||
46 | |||||||
47 | /** | ||||||
48 | * Creates new LRUCacheConfiguration instance with given configurationId, default max size of 100 and time to live | ||||||
49 | * 0. | ||||||
50 | * | ||||||
51 | * @param configurationId configuration identifier | ||||||
52 | */ | ||||||
|
|||||||
53 | 1 | public LRUCacheConfiguration(String configurationId)... | |||||
54 | { | ||||||
55 | 1 | super(configurationId); | |||||
56 | |||||||
57 | 1 | LRUEvictionConfiguration lru = new LRUEvictionConfiguration(); | |||||
58 | 1 | put(EntryEvictionConfiguration.CONFIGURATIONID, lru); | |||||
59 | } | ||||||
60 | |||||||
61 | /** | ||||||
62 | * Creates new LRUCacheConfiguration instance with given configurationId and max size, and default time to live 0. | ||||||
63 | * | ||||||
64 | * @param configurationId configuration identifier | ||||||
65 | * @param maxSize maximum cache capacity | ||||||
66 | */ | ||||||
|
|||||||
67 | 360 | public LRUCacheConfiguration(String configurationId, int maxSize)... | |||||
68 | { | ||||||
69 | 360 | super(configurationId); | |||||
70 | |||||||
71 | 360 | LRUEvictionConfiguration lru = new LRUEvictionConfiguration(); | |||||
72 | 360 | lru.setMaxEntries(maxSize); | |||||
73 | 360 | put(EntryEvictionConfiguration.CONFIGURATIONID, lru); | |||||
74 | } | ||||||
75 | |||||||
76 | /** | ||||||
77 | * Creates new LRUCacheConfiguration instance with given configurationId, max size and time to live. | ||||||
78 | * | ||||||
79 | * @param configurationId configuration identifier | ||||||
80 | * @param maxSize maximum cache capacity | ||||||
81 | * @param maxIdle for how long cache entry will be valid (in seconds) since the last time it was used | ||||||
82 | */ | ||||||
|
|||||||
83 | 105 | public LRUCacheConfiguration(String configurationId, int maxSize, int maxIdle)... | |||||
84 | { | ||||||
85 | 105 | super(configurationId); | |||||
86 | |||||||
87 | 105 | LRUEvictionConfiguration lru = new LRUEvictionConfiguration(); | |||||
88 | 105 | lru.setMaxEntries(maxSize); | |||||
89 | 105 | lru.setMaxIdle(maxIdle); | |||||
90 | 105 | put(EntryEvictionConfiguration.CONFIGURATIONID, lru); | |||||
91 | } | ||||||
92 | |||||||
93 | /** | ||||||
94 | * @return the eviction configuration as a {@link LRUEvictionConfiguration} instance | ||||||
95 | * @since 7.4M2 | ||||||
96 | */ | ||||||
|
|||||||
97 | 5 | public LRUEvictionConfiguration getLRUEvictionConfiguration()... | |||||
98 | { | ||||||
99 | 5 | return (LRUEvictionConfiguration) get(EntryEvictionConfiguration.CONFIGURATIONID); | |||||
100 | } | ||||||
101 | } |