Class | Line # | Actions | |||||
---|---|---|---|---|---|---|---|
AbstractThreadEventListener | 30 | 4 | 0% | 4 | 0 | 1.0100% |
Class AbstractThreadEventListener |
Line # 30 |
4 |
0% |
4 |
0 |
1.0100% |
---|---|---|---|---|---|---|
AbstractThreadEventListener() AbstractThreadEventListener() | 4040 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
AbstractThreadEventListener(Thread) AbstractThreadEventListener(Thread) | 4848 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
onEvent(Event,Object,Object) : void onEvent(Event,Object,Object) : void | 5353 | 2.02 | 0.00% | 2.02 | 0.00 | 1.0 1.0100% |
0.7777778
|
org.xwiki.logging.logback.internal.DefaultLoggerManagerTest.testPushPopLogListenerorg.xwiki.logging.logback.internal.DefaultLoggerManagerTest.testPushPopLogListener | 1PASS | ||
0.7777778
|
org.xwiki.observation.WrappedThreadEventListenerTest.testOnEventOnPassedThreadorg.xwiki.observation.WrappedThreadEventListenerTest.testOnEventOnPassedThread | 1PASS | ||
0.7777778
|
org.xwiki.observation.WrappedThreadEventListenerTest.testOnEventOnCurrentThreadorg.xwiki.observation.WrappedThreadEventListenerTest.testOnEventOnCurrentThread | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallExtensionOnIncompatibleNamespaceorg.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallExtensionOnIncompatibleNamespace | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteOnNamespaceorg.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteOnNamespace | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallFromRootorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallFromRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeOnDifferentIdorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeOnDifferentId | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithDependencyOnANamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithDependencyOnANamespace | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithLowerCoreDependencyFeatureorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithLowerCoreDependencyFeature | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionOnNamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionOnNamespace | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnRootorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithSimpleRemoteExtensionOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithSimpleRemoteExtensionOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallLowerVersionOfDependencyOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallLowerVersionOfDependencyOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallAllorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallAll | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallMandatoryorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallMandatory | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithInstalledDependencyOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithInstalledDependencyOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallEntensionAndUninstallDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallEntensionAndUninstallDependency | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallExtensionAndUninstallDependencyOnANamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallExtensionAndUninstallDependencyOnANamespace | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithDependency | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallFromWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallFromWiki | 1PASS | ||
0.6666667
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnRootWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnRootWithoutProgrammingRigths | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanWithDependencyOnRootorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanWithDependencyOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreExtensionorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreExtension | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallDependencyInstallExtensionOnANamespaceAndUninstallDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallDependencyInstallExtensionOnANamespaceAndUninstallDependency | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnRootorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairInvalidOnRootorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairInvalidOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceWithoutProgrammingRigths | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithOverwrittenManagedDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithOverwrittenManagedDependency | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testExtensionInstalledOnNamespaceAtInitorg.xwiki.extension.jar.JarExtensionHandlerTest.testExtensionInstalledOnNamespaceAtInit | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenMoveDependencyOnRootorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenMoveDependencyOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallRemoteWithMissingDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallRemoteWithMissingDependency | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenOnRootWithLowerDependencyorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenOnRootWithLowerDependency | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallNameSpaceExtensionWithExistingRootExtensionorg.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallNameSpaceExtensionWithExistingRootExtension | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallNameSpaceExtensionWithExistingRootExtensionorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallNameSpaceExtensionWithExistingRootExtension | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithDowngradeOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithDowngradeOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithoutComponentsorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithoutComponents | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWiki | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallDependency | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteOnNamespacesorg.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteOnNamespaces | 1PASS | ||
0.6666667
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespace | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallDependencyAllorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallDependencyAll | 1PASS | ||
0.6666667
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespace | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallDependencyInstallExtensionOnANamespaceAndUninstallExtensionorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallDependencyInstallExtensionOnANamespaceAndUninstallExtension | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRootorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceWithGlobalDependencyAndUninstallDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceWithGlobalDependencyAndUninstallDependency | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallWithBackwarDepencencyorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallWithBackwarDepencency | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanWithDependencyOnNamespaceorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanWithDependencyOnNamespace | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithRemoteDependencyOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithRemoteDependencyOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteWithMissingDependencyorg.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteWithMissingDependency | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreDependencyOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreDependencyOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallOnNamespaceThenUnpgradeOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallOnNamespaceThenUnpgradeOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnRootWithTargetDependencyExtensionorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnRootWithTargetDependencyExtension | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAdminRights | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWiki | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallTwiceorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallTwice | 1PASS | ||
0.6666667
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootWithoutProgrammingRigths | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallorg.xwiki.extension.job.internal.UninstallJobTest.testUninstall | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnNamespaceWithExtensionOnRootorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnNamespaceWithExtensionOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUnsupportedTypeorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUnsupportedType | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootWithoutAdminRights | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testUpgradeAndDowngradeExtensionOnNamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testUpgradeAndDowngradeExtensionOnNamespace | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithFeatureAsCoreExtensionorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithFeatureAsCoreExtension | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.logging.logback.internal.DefaultLoggerManagerTest.testStackedListenersorg.xwiki.logging.logback.internal.DefaultLoggerManagerTest.testStackedListeners | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceWithGlobalDependencyAndUninstallorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceWithGlobalDependencyAndUninstall | 1PASS | ||
0.6666667
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceWithoutProgrammingRigths | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallNameSpaceExtensionWithIncompatibleRootDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallNameSpaceExtensionWithIncompatibleRootDependency | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnUnsupportedNamespaceorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnUnsupportedNamespace | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromNamespaceWithBackwarDepencencyorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromNamespaceWithBackwarDepencency | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiAndRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiAndRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnWiki | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeFeatureWithDifferentVersionorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeFeatureWithDifferentVersion | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnWikiorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnWiki | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithManagedDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithManagedDependency | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnWikiWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnWikiWithoutAdminRights | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallJobTest.testReplaceDependencyWithFeatureorg.xwiki.extension.job.internal.InstallJobTest.testReplaceDependencyWithFeature | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootAndWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootAndWiki | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromNamespaceorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromNamespace | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallJobTest.testUpgradeFirstOnRootorg.xwiki.extension.job.internal.InstallJobTest.testUpgradeFirstOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.logging.logback.internal.DefaultLoggerManagerTest.testGetSetLoggerLevelorg.xwiki.logging.logback.internal.DefaultLoggerManagerTest.testGetSetLoggerLevel | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnRootWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnRootWithoutAdminRights | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testExtensionInstalledOnRootAtInitorg.xwiki.extension.jar.JarExtensionHandlerTest.testExtensionInstalledOnRootAtInit | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtension | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAuthororg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAuthor | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithFeatureAsCoreExtensionFeatureorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithFeatureAsCoreExtensionFeature | 1PASS | ||
0.6666667
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testOverwriteAllowedNamespacesorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testOverwriteAllowedNamespaces | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallWebjarExtensionorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallWebjarExtension | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testReInstalledWithMissingDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testReInstalledWithMissingDependency | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallJobTest.testDowngradeFirstOnRootorg.xwiki.extension.job.internal.InstallJobTest.testDowngradeFirstOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromAllNamespacesorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromAllNamespaces | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallNameSpaceExtensionWithDependencyAllowedOnRootOnlyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallNameSpaceExtensionWithDependencyAllowedOnRootOnly | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreExtensionFeatureorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreExtensionFeature | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithManagedTransitiveDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithManagedTransitiveDependency | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnRootorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWiki | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenUpgradeOnRootorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenUpgradeOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testUninstallInvalidExtensionFromNamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testUninstallInvalidExtensionFromNamespace | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithHigherCoreDependencyFeatureorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithHigherCoreDependencyFeature | 1PASS | ||
0.6666667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testDowngradeOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testDowngradeOnWiki | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstall | 1PASS | ||
0.6666667
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testUninstallInvalidExtensionFromRootorg.xwiki.extension.jar.JarExtensionHandlerTest.testUninstallInvalidExtensionFromRoot | 1PASS | ||
0.6666667
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testUpgradeExtensionOnNamespaceWithDependencyAllowedOnRootOnlyorg.xwiki.extension.job.internal.InstallPlanJobTest.testUpgradeExtensionOnNamespaceWithDependencyAllowedOnRootOnly | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.DeleteJobTest.deleteDocumentorg.xwiki.refactoring.internal.job.DeleteJobTest.deleteDocument | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.CreateJobTest.createDocumentDeeporg.xwiki.refactoring.internal.job.CreateJobTest.createDocumentDeep | 1PASS | ||
0.22222222
|
org.xwiki.extension.job.history.internal.ReplayJobTest.replayorg.xwiki.extension.job.history.internal.ReplayJobTest.replay | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.MoveJobTest.moveDocumentToSpaceHomeorg.xwiki.refactoring.internal.job.MoveJobTest.moveDocumentToSpaceHome | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.DeleteJobTest.deleteSpaceorg.xwiki.refactoring.internal.job.DeleteJobTest.deleteSpace | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.DeleteJobTest.deleteSpaceHomeDeeporg.xwiki.refactoring.internal.job.DeleteJobTest.deleteSpaceHomeDeep | 1PASS | ||
0.22222222
|
org.xwiki.platform.wiki.creationjob.internal.WikiCreationJobTest.runInternalWithExceptionorg.xwiki.platform.wiki.creationjob.internal.WikiCreationJobTest.runInternalWithException | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.CreateJobTest.createDocumentWithoutTemplateorg.xwiki.refactoring.internal.job.CreateJobTest.createDocumentWithoutTemplate | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.CreateJobTest.createExistingDocumentorg.xwiki.refactoring.internal.job.CreateJobTest.createExistingDocument | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.CreateJobTest.createSpaceWithoutTemplateorg.xwiki.refactoring.internal.job.CreateJobTest.createSpaceWithoutTemplate | 1PASS | ||
0.22222222
|
org.xwiki.platform.wiki.creationjob.internal.WikiCreationJobTest.runInternalorg.xwiki.platform.wiki.creationjob.internal.WikiCreationJobTest.runInternal | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.RenameJobTest.renameMultipleEntitiesorg.xwiki.refactoring.internal.job.RenameJobTest.renameMultipleEntities | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.MoveJobTest.moveSpaceHomeDeeporg.xwiki.refactoring.internal.job.MoveJobTest.moveSpaceHomeDeep | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.MoveJobTest.moveDocumentToSpaceorg.xwiki.refactoring.internal.job.MoveJobTest.moveDocumentToSpace | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.CreateJobTest.createSpaceFromTemplateorg.xwiki.refactoring.internal.job.CreateJobTest.createSpaceFromTemplate | 1PASS | ||
0.22222222
|
org.xwiki.observation.WrappedThreadEventListenerTest.testWrapporg.xwiki.observation.WrappedThreadEventListenerTest.testWrapp | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.RenameJobTest.renameSpaceorg.xwiki.refactoring.internal.job.RenameJobTest.renameSpace | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.MoveJobTest.moveSpaceToSpaceHomeorg.xwiki.refactoring.internal.job.MoveJobTest.moveSpaceToSpaceHome | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.MoveJobTest.moveMissingDocumentorg.xwiki.refactoring.internal.job.MoveJobTest.moveMissingDocument | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.MoveJobTest.copyDocumentorg.xwiki.refactoring.internal.job.MoveJobTest.copyDocument | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.MoveJobTest.moveUnsupportedEntityorg.xwiki.refactoring.internal.job.MoveJobTest.moveUnsupportedEntity | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.CreateJobTest.createDocumentFromMissingTemplateorg.xwiki.refactoring.internal.job.CreateJobTest.createDocumentFromMissingTemplate | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.MoveJobTest.moveDocumentWithoutDeleteRightorg.xwiki.refactoring.internal.job.MoveJobTest.moveDocumentWithoutDeleteRight | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.RenameJobTest.renameSpaceHomeDeeporg.xwiki.refactoring.internal.job.RenameJobTest.renameSpaceHomeDeep | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.DeleteJobTest.deleteMissingDocumentorg.xwiki.refactoring.internal.job.DeleteJobTest.deleteMissingDocument | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.RenameJobTest.renameDocumentorg.xwiki.refactoring.internal.job.RenameJobTest.renameDocument | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.CreateJobTest.createRestrictedDocumentorg.xwiki.refactoring.internal.job.CreateJobTest.createRestrictedDocument | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.DeleteJobTest.deleteDocumentWithoutDeleteRightorg.xwiki.refactoring.internal.job.DeleteJobTest.deleteDocumentWithoutDeleteRight | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.RenameJobTest.convertNotTerminalDocumentToTerminalDocumentPreservingChildrenorg.xwiki.refactoring.internal.job.RenameJobTest.convertNotTerminalDocumentToTerminalDocumentPreservingChildren | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.CreateJobTest.createDocumentFromTemplateorg.xwiki.refactoring.internal.job.CreateJobTest.createDocumentFromTemplate | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.RenameJobTest.changeEntityTypeorg.xwiki.refactoring.internal.job.RenameJobTest.changeEntityType | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.CreateJobTest.createDocumentFromRestrictedTemplateorg.xwiki.refactoring.internal.job.CreateJobTest.createDocumentFromRestrictedTemplate | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.MoveJobTest.moveToUnsupportedDestinationorg.xwiki.refactoring.internal.job.MoveJobTest.moveToUnsupportedDestination | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.MoveJobTest.moveDocumentToRestrictedDestinationorg.xwiki.refactoring.internal.job.MoveJobTest.moveDocumentToRestrictedDestination | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.MoveJobTest.moveInsideItsOwnHierarchyorg.xwiki.refactoring.internal.job.MoveJobTest.moveInsideItsOwnHierarchy | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.DeleteJobTest.deleteUnsupportedEntityorg.xwiki.refactoring.internal.job.DeleteJobTest.deleteUnsupportedEntity | 1PASS | ||
0.22222222
|
org.xwiki.refactoring.internal.job.CreateJobTest.skipDocumentCreationorg.xwiki.refactoring.internal.job.CreateJobTest.skipDocumentCreation | 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.observation; | ||||||
21 | |||||||
22 | import org.xwiki.observation.event.Event; | ||||||
23 | |||||||
24 | /** | ||||||
25 | * Filter events by keeping only events produced by the provided {@link Thread}. | ||||||
26 | * | ||||||
27 | * @version $Id: 50b106ccae4955b72d841da0d42a0aea98d374bc $ | ||||||
28 | * @since 3.2M3 | ||||||
29 | */ | ||||||
|
|||||||
30 | public abstract class AbstractThreadEventListener implements EventListener | ||||||
31 | { | ||||||
32 | /** | ||||||
33 | * The thread to match to receive events. | ||||||
34 | */ | ||||||
35 | private Thread thread; | ||||||
36 | |||||||
37 | /** | ||||||
38 | * Use {@link Thread#currentThread()}. | ||||||
39 | */ | ||||||
|
|||||||
40 | 1134 | public AbstractThreadEventListener()... | |||||
41 | { | ||||||
42 | 1134 | this.thread = Thread.currentThread(); | |||||
43 | } | ||||||
44 | |||||||
45 | /** | ||||||
46 | * @param thread the thread to match to receive events. | ||||||
47 | */ | ||||||
|
|||||||
48 | 1 | public AbstractThreadEventListener(Thread thread)... | |||||
49 | { | ||||||
50 | 1 | this.thread = thread; | |||||
51 | } | ||||||
52 | |||||||
|
|||||||
53 | 26847 | @Override... | |||||
54 | public void onEvent(Event event, Object source, Object data) | ||||||
55 | { | ||||||
56 | 26848 | if (this.thread == Thread.currentThread()) { | |||||
57 | 18253 | onEventInternal(event, source, data); | |||||
58 | } | ||||||
59 | } | ||||||
60 | |||||||
61 | /** | ||||||
62 | * Called when the event has been produce by the proper {@link Thread}. | ||||||
63 | * | ||||||
64 | * @param event the event triggered. Can be used to differentiate different events if your Object supports several | ||||||
65 | * events for example. | ||||||
66 | * @param source the event source i.e. the object for which the event was triggered. For example this would be the | ||||||
67 | * document Object if the event is a document update event. | ||||||
68 | * @param data some additional and optional data passed that can be acted on. | ||||||
69 | */ | ||||||
70 | protected abstract void onEventInternal(Event event, Object source, Object data); | ||||||
71 | } |