Class | Line # | Actions | |||||
---|---|---|---|---|---|---|---|
FixedNameEventFilter | 32 | 12 | 0% | 8 | 0 | 1.0100% |
Class FixedNameEventFilter |
Line # 32 |
12 |
0% |
8 |
0 |
1.0100% |
---|---|---|---|---|---|---|
FixedNameEventFilter(String) FixedNameEventFilter(String) | 4848 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
getFilter() : String getFilter() : String | 5353 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
matches(EventFilter) : boolean matches(EventFilter) : boolean | 5959 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
equals(Object) : boolean equals(Object) : boolean | 6565 | 8.08 | 0.00% | 4.04 | 0.00 | 1.0 1.0100% |
hashCode() : int hashCode() : int | 8484 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
0.82608694
|
org.xwiki.observation.filter.FixedNameEventFilterTest.testFixedNameEventFilterTestorg.xwiki.observation.filter.FixedNameEventFilterTest.testFixedNameEventFilterTest | 1PASS | ||
0.73913044
|
org.xwiki.observation.event.CancelableEventTest.testAbstractCancelableEventEventFilterorg.xwiki.observation.event.CancelableEventTest.testAbstractCancelableEventEventFilter | 1PASS | ||
0.73913044
|
org.xwiki.observation.event.CancelableEventTest.testAbstractCancelableEventStringorg.xwiki.observation.event.CancelableEventTest.testAbstractCancelableEventString | 1PASS | ||
0.5652174
|
org.xwiki.platform.wiki.creationjob.internal.steps.ProvisionWikiStepTest.executeWhenExceptionorg.xwiki.platform.wiki.creationjob.internal.steps.ProvisionWikiStepTest.executeWhenException | 1PASS | ||
0.5652174
|
org.xwiki.platform.wiki.creationjob.internal.steps.ProvisionWikiStepTest.executeWhenSourceIsTemplateorg.xwiki.platform.wiki.creationjob.internal.steps.ProvisionWikiStepTest.executeWhenSourceIsTemplate | 1PASS | ||
0.5652174
|
org.xwiki.wiki.internal.manager.DefaultWikiManagerTest.createWhenWikiIdIsValidorg.xwiki.wiki.internal.manager.DefaultWikiManagerTest.createWhenWikiIdIsValid | 1PASS | ||
0.5652174
|
com.xpn.xwiki.XWikiMockitoTest.deleteDocumentcom.xpn.xwiki.XWikiMockitoTest.deleteDocument | 1PASS | ||
0.5652174
|
org.xwiki.wiki.internal.manager.DefaultWikiManagerTest.createWhenWikiIdIsValidButFailorg.xwiki.wiki.internal.manager.DefaultWikiManagerTest.createWhenWikiIdIsValidButFail | 1PASS | ||
0.5652174
|
org.xwiki.platform.wiki.creationjob.internal.steps.ProvisionWikiStepTest.executeWhenSourceIsExtensionorg.xwiki.platform.wiki.creationjob.internal.steps.ProvisionWikiStepTest.executeWhenSourceIsExtension | 1PASS | ||
0.5652174
|
org.xwiki.wiki.internal.manager.DefaultWikiManagerTest.copyWhenWikiAvailableorg.xwiki.wiki.internal.manager.DefaultWikiManagerTest.copyWhenWikiAvailable | 1PASS | ||
0.5652174
|
com.xpn.xwiki.XWikiMockitoTest.rollbackFiresEventscom.xpn.xwiki.XWikiMockitoTest.rollbackFiresEvents | 1PASS | ||
0.5652174
|
org.xwiki.rendering.internal.transformation.linkchecker.LinkCheckerTransformationTest.transformAndSendEventorg.xwiki.rendering.internal.transformation.linkchecker.LinkCheckerTransformationTest.transformAndSendEvent | 1PASS | ||
0.5652174
|
org.xwiki.wiki.internal.manager.DefaultWikiManagerTest.deleteWikiorg.xwiki.wiki.internal.manager.DefaultWikiManagerTest.deleteWiki | 1PASS | ||
0.26086956
|
org.xwiki.observation.event.CancelableEventTest.testAbstractCancelableEventorg.xwiki.observation.event.CancelableEventTest.testAbstractCancelableEvent | 1PASS | ||
0.26086956
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallbackOnResourcecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallbackOnResource | 1PASS | ||
0.26086956
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallackOnParentLocalecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallackOnParentLocale | 1PASS | ||
0.26086956
|
org.xwiki.bridge.event.DocumentRolledBackEventTest.matchorg.xwiki.bridge.event.DocumentRolledBackEventTest.match | 1PASS | ||
0.26086956
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiPreferencesCachecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiPreferencesCache | 1PASS | ||
0.26086956
|
org.xwiki.bridge.event.DocumentRollingBackEventTest.matchorg.xwiki.bridge.event.DocumentRollingBackEventTest.match | 1PASS | ||
0.26086956
|
com.xpn.xwiki.XWikiTest.testSaveDocumentSendsObservationEventscom.xpn.xwiki.XWikiTest.testSaveDocumentSendsObservationEvents | 1PASS | ||
0.26086956
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiTranslationCachecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiTranslationCache | 1PASS | ||
0.26086956
|
com.xpn.xwiki.XWikiTest.testDeleteDocumentSendsObservationEventscom.xpn.xwiki.XWikiTest.testDeleteDocumentSendsObservationEvents | 1PASS | ||
0.17391305
|
org.xwiki.component.internal.ContextComponentManagerTest.testDeleteDocumentorg.xwiki.component.internal.ContextComponentManagerTest.testDeleteDocument | 1PASS | ||
0.17391305
|
org.xwiki.component.internal.ContextComponentManagerTest.testDeleteWikiorg.xwiki.component.internal.ContextComponentManagerTest.testDeleteWiki | 1PASS | ||
0.17391305
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWiki | 1PASS | ||
0.17391305
|
org.xwiki.security.authorization.internal.AuthorizationManagerTest.testRightOnUserAndDeleteorg.xwiki.security.authorization.internal.AuthorizationManagerTest.testRightOnUserAndDelete | 1PASS | ||
0.17391305
|
org.xwiki.observation.filter.RegexEventFilterTest.testRegexEventFilterorg.xwiki.observation.filter.RegexEventFilterTest.testRegexEventFilter | 1PASS | ||
0.17391305
|
org.xwiki.extension.xar.internal.handler.WikiCopiedEventListenerTest.testCopyOneExtensionorg.xwiki.extension.xar.internal.handler.WikiCopiedEventListenerTest.testCopyOneExtension | 1PASS | ||
0.08695652
|
org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testDefaultParameterValuesorg.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testDefaultParameterValues | 1PASS | ||
0.08695652
|
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeONDemandorg.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeONDemand | 1PASS | ||
0.08695652
|
org.xwiki.rendering.macro.groovy.ClassLoadingTest.testJarParamsInSecondMacroorg.xwiki.rendering.macro.groovy.ClassLoadingTest.testJarParamsInSecondMacro | 1PASS | ||
0.08695652
|
com.xpn.xwiki.XWikiMockitoTest.deleteAllDocumentsAndWithoutSendingToTrashcom.xpn.xwiki.XWikiMockitoTest.deleteAllDocumentsAndWithoutSendingToTrash | 1PASS | ||
0.08695652
|
org.xwiki.rendering.macro.velocity.VelocityMacroIsolationTest.testVelocityMacroIsolationorg.xwiki.rendering.macro.velocity.VelocityMacroIsolationTest.testVelocityMacroIsolation | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
com.xpn.xwiki.internal.event.CommentEventGeneratorListenerTest.testDeleteCommentcom.xpn.xwiki.internal.event.CommentEventGeneratorListenerTest.testDeleteComment | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
com.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testModifiedDocumentXClassPropertyModifiedcom.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testModifiedDocumentXClassPropertyModified | 1PASS | ||
0.08695652
|
com.xpn.xwiki.XWikiTest.testCreationDateAfterDocumentCopycom.xpn.xwiki.XWikiTest.testCreationDateAfterDocumentCopy | 1PASS | ||
0.08695652
|
com.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectDeletedcom.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectDeleted | 1PASS | ||
0.08695652
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiRequiringPRAfterDropPermissionorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiRequiringPRAfterDropPermission | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWikiFromOtherWikiorg.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWikiFromOtherWiki | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
com.xpn.xwiki.XWikiTest.testAuthorAfterDocumentCopycom.xpn.xwiki.XWikiTest.testAuthorAfterDocumentCopy | 1PASS | ||
0.08695652
|
org.xwiki.component.wiki.DefaultWikiComponentManagerEventListenerTest.onDocumentDeletedorg.xwiki.component.wiki.DefaultWikiComponentManagerEventListenerTest.onDocumentDeleted | 1PASS | ||
0.08695652
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslationWithParameterscom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslationWithParameters | 1PASS | ||
0.08695652
|
com.xpn.xwiki.XWikiTest.testCreatorAfterDocumentCopycom.xpn.xwiki.XWikiTest.testCreatorAfterDocumentCopy | 1PASS | ||
0.08695652
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitleNonUtf8PlatformEncodingcom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitleNonUtf8PlatformEncoding | 1PASS | ||
0.08695652
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentcom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocument | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWikiorg.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWiki | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
com.xpn.xwiki.XWikiMockitoTest.copyDocumentPreservesAttachmentsVersioncom.xpn.xwiki.XWikiMockitoTest.copyDocumentPreservesAttachmentsVersion | 1PASS | ||
0.08695652
|
com.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testAddDocumentcom.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testAddDocument | 1PASS | ||
0.08695652
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportTranslationsOverwritecom.xpn.xwiki.plugin.packaging.ImportTest.testImportTranslationsOverwrite | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
com.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testModifiedDocumentXClassPropertyAddedcom.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testModifiedDocumentXClassPropertyAdded | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
org.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenSecureCustomizerWithScriptRightsAndNoProgrammingRightsorg.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenSecureCustomizerWithScriptRightsAndNoProgrammingRights | 1PASS | ||
0.08695652
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportOverwriteDocumentcom.xpn.xwiki.plugin.packaging.ImportTest.testImportOverwriteDocument | 1PASS | ||
0.08695652
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeysorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeys | 1PASS | ||
0.08695652
|
com.xpn.xwiki.internal.objects.classes.XClassMigratorListenerTest.migratePropertycom.xpn.xwiki.internal.objects.classes.XClassMigratorListenerTest.migrateProperty | 1PASS | ||
0.08695652
|
org.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenSecureCustomizerAndRestrictedWithScriptRightsAndProgrammingRightsorg.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenSecureCustomizerAndRestrictedWithScriptRightsAndProgrammingRights | 1PASS | ||
0.08695652
|
com.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectPropertyModifiedcom.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectPropertyModified | 1PASS | ||
0.08695652
|
org.xwiki.component.wiki.DefaultWikiComponentManagerEventListenerTest.onDocumentUpdatedWhenTwoComponentsorg.xwiki.component.wiki.DefaultWikiComponentManagerEventListenerTest.onDocumentUpdatedWhenTwoComponents | 1PASS | ||
0.08695652
|
com.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testDeleteDocumentcom.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testDeleteDocument | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentCleansVelocityMacroCachecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentCleansVelocityMacroCache | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
com.xpn.xwiki.internal.cache.DefaultDocumentCacheTest.testEventBasedCleanupcom.xpn.xwiki.internal.cache.DefaultDocumentCacheTest.testEventBasedCleanup | 1PASS | ||
0.08695652
|
org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testGetCurrentMacroBlockorg.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testGetCurrentMacroBlock | 1PASS | ||
0.08695652
|
com.xpn.xwiki.api.XWikiTest.testAuthorIsntChangedAfterDocumentCopycom.xpn.xwiki.api.XWikiTest.testAuthorIsntChangedAfterDocumentCopy | 1PASS | ||
0.08695652
|
org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteWhenWikiMacroDirectlyProvideTheResultorg.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteWhenWikiMacroDirectlyProvideTheResult | 1PASS | ||
0.08695652
|
com.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectPropertyDeletedcom.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectPropertyDeleted | 1PASS | ||
0.08695652
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectField | 1PASS | ||
0.08695652
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentXarCreatedByCommonsCompresscom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentXarCreatedByCommonsCompress | 1PASS | ||
0.08695652
|
com.xpn.xwiki.XWikiMockitoTest.rollbackDoesNotSaveUnchangedAttachmentcom.xpn.xwiki.XWikiMockitoTest.rollbackDoesNotSaveUnchangedAttachment | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
com.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testModifiedDocumentXClassPropertyDeletedcom.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testModifiedDocumentXClassPropertyDeleted | 1PASS | ||
0.08695652
|
org.xwiki.rendering.macro.velocity.VelocityMacroSecurityTest.testRestrictedByContextorg.xwiki.rendering.macro.velocity.VelocityMacroSecurityTest.testRestrictedByContext | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportExtensioncom.xpn.xwiki.plugin.packaging.ImportTest.testImportExtension | 1PASS | ||
0.08695652
|
org.xwiki.rendering.macro.groovy.ClassLoadingTest.testDefineClassInOneExecutionAndUseInAnotherorg.xwiki.rendering.macro.groovy.ClassLoadingTest.testDefineClassInOneExecutionAndUseInAnother | 1PASS | ||
0.08695652
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitlePLAINcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitlePLAIN | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
org.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenSecureCustomizerWithNoScriptRightsAndProgrammingRightsorg.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenSecureCustomizerWithNoScriptRightsAndProgrammingRights | 1PASS | ||
0.08695652
|
org.xwiki.rendering.macro.velocity.VelocityMacroSecurityTest.testRestrictedByRightsorg.xwiki.rendering.macro.velocity.VelocityMacroSecurityTest.testRestrictedByRights | 1PASS | ||
0.08695652
|
com.xpn.xwiki.XWikiTest.testGetPrefsClasscom.xpn.xwiki.XWikiTest.testGetPrefsClass | 1PASS | ||
0.08695652
|
com.xpn.xwiki.XWikiTest.testValidationKeyStoragecom.xpn.xwiki.XWikiTest.testValidationKeyStorage | 1PASS | ||
0.08695652
|
org.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenSecureCustomizerAndRestrictedorg.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenSecureCustomizerAndRestricted | 1PASS | ||
0.08695652
|
org.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenNoSecureCustomizerAndNoRightsorg.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenNoSecureCustomizerAndNoRights | 1PASS | ||
0.08695652
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentRightscom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentRights | 1PASS | ||
0.08695652
|
org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteWhenWithDifferentMacroSyntaxorg.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteWhenWithDifferentMacroSyntax | 1PASS | ||
0.08695652
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersAttachmentcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersAttachment | 1PASS | ||
0.08695652
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslatedWikiTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslatedWikiTranslation | 1PASS | ||
0.08695652
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testCurrentDocumentVariableIsInjectedBeforeRenderingcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testCurrentDocumentVariableIsInjectedBeforeRendering | 1PASS | ||
0.08695652
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextRightscom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextRights | 1PASS | ||
0.08695652
|
org.xwiki.component.wiki.DefaultWikiComponentManagerEventListenerTest.onDocumentUpdatedorg.xwiki.component.wiki.DefaultWikiComponentManagerEventListenerTest.onDocumentUpdated | 1PASS | ||
0.08695652
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getEmptyWikiTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getEmptyWikiTranslation | 1PASS | ||
0.08695652
|
com.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectModifiedcom.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectModified | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getWikiTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getWikiTranslation | 1PASS | ||
0.08695652
|
com.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testDeleteDocumentcom.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testDeleteDocument | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
com.xpn.xwiki.internal.event.CommentEventGeneratorListenerTest.testModifiedCommentcom.xpn.xwiki.internal.event.CommentEventGeneratorListenerTest.testModifiedComment | 1PASS | ||
0.08695652
|
org.xwiki.observation.filter.AlwaysMatchingEventFilterTest.testMatchesorg.xwiki.observation.filter.AlwaysMatchingEventFilterTest.testMatches | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
com.xpn.xwiki.api.XWikiTest.testCreationDateAfterDocumentCopycom.xpn.xwiki.api.XWikiTest.testCreationDateAfterDocumentCopy | 1PASS | ||
0.08695652
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiMacroBindingorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiMacroBinding | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
org.xwiki.observation.filter.AlwaysMatchingEventFilterTest.testEqualsorg.xwiki.observation.filter.AlwaysMatchingEventFilterTest.testEquals | 1PASS | ||
0.08695652
|
org.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenNoSecureCustomizerAndScriptRightsorg.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenNoSecureCustomizerAndScriptRights | 1PASS | ||
0.08695652
|
com.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testAddDocumentcom.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testAddDocument | 1PASS | ||
0.08695652
|
com.xpn.xwiki.internal.cache.rendering.DefaultRenderingCacheTest.testGetSetRenderedContentcom.xpn.xwiki.internal.cache.rendering.DefaultRenderingCacheTest.testGetSetRenderedContent | 1PASS | ||
0.08695652
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTMLcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTML | 1PASS | ||
0.08695652
|
com.xpn.xwiki.internal.observation.remote.converter.DocumentEventConverterTest.testConvertWithOriginalDocNullcom.xpn.xwiki.internal.observation.remote.converter.DocumentEventConverterTest.testConvertWithOriginalDocNull | 1PASS | ||
0.08695652
|
org.xwiki.rendering.macro.groovy.ClassLoadingTest.testDefineClassInFirstExecutionAndJarParamsInAnotherorg.xwiki.rendering.macro.groovy.ClassLoadingTest.testDefineClassInFirstExecutionAndJarParamsInAnother | 1PASS | ||
0.08695652
|
org.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenNoSecureCustomizerAndProgrammingRightsorg.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenNoSecureCustomizerAndProgrammingRights | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
com.xpn.xwiki.api.XWikiTest.testCreatorIsntChangedAfterDocumentCopycom.xpn.xwiki.api.XWikiTest.testCreatorIsntChangedAfterDocumentCopy | 1PASS | ||
0.08695652
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacroorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacro | 1PASS | ||
0.08695652
|
org.xwiki.component.wiki.DefaultWikiComponentManagerEventListenerTest.onDocumentCreatedorg.xwiki.component.wiki.DefaultWikiComponentManagerEventListenerTest.onDocumentCreated | 1PASS | ||
0.08695652
|
org.xwiki.rendering.macro.groovy.ClassLoadingTest.testExtraJarLocatedAtURLorg.xwiki.rendering.macro.groovy.ClassLoadingTest.testExtraJarLocatedAtURL | 1PASS | ||
0.08695652
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldBeforeAttachmentcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldBeforeAttachment | 1PASS | ||
0.08695652
|
com.xpn.xwiki.internal.event.CommentEventGeneratorListenerTest.testAddCommentcom.xpn.xwiki.internal.event.CommentEventGeneratorListenerTest.testAddComment | 1PASS | ||
0.08695652
|
org.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenNoSecureCustomizerAndExecutionRestrictedAndProgrammingRightsorg.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenNoSecureCustomizerAndExecutionRestrictedAndProgrammingRights | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
com.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectAddedcom.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectAdded | 1PASS | ||
0.08695652
|
com.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectPropertyAddedcom.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectPropertyAdded | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.08695652
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitlecom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitle | 1PASS | ||
0.08695652
|
org.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenSecureCustomizerWithNoScriptRightsAndNoProgrammingRightsorg.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenSecureCustomizerWithNoScriptRightsAndNoProgrammingRights | 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.event.filter; | ||||||
21 | |||||||
22 | import java.io.Serializable; | ||||||
23 | import java.util.Objects; | ||||||
24 | |||||||
25 | import org.apache.commons.lang3.builder.HashCodeBuilder; | ||||||
26 | |||||||
27 | /** | ||||||
28 | * An {@link EventFilter} that matches exactly one document name. | ||||||
29 | * | ||||||
30 | * @version $Id: dd02e6ec542f0aec1cffcda7b0c4a503795cfd4f $ | ||||||
31 | */ | ||||||
|
|||||||
32 | public class FixedNameEventFilter implements EventFilter, Serializable | ||||||
33 | { | ||||||
34 | /** | ||||||
35 | * The version identifier for this Serializable class. Increment only if the <i>serialized</i> form of the class | ||||||
36 | * changes. | ||||||
37 | */ | ||||||
38 | private static final long serialVersionUID = 1L; | ||||||
39 | |||||||
40 | /** The name of the matched document. */ | ||||||
41 | private String filter; | ||||||
42 | |||||||
43 | /** | ||||||
44 | * Constructor initializing this event filter with a document name that should be matched. | ||||||
45 | * | ||||||
46 | * @param filter the name of the matched document | ||||||
47 | */ | ||||||
|
|||||||
48 | 26869 | public FixedNameEventFilter(String filter)... | |||||
49 | { | ||||||
50 | 26869 | this.filter = filter; | |||||
51 | } | ||||||
52 | |||||||
|
|||||||
53 | 8634 | @Override... | |||||
54 | public String getFilter() | ||||||
55 | { | ||||||
56 | 8634 | return this.filter; | |||||
57 | } | ||||||
58 | |||||||
|
|||||||
59 | 3975 | @Override... | |||||
60 | public boolean matches(EventFilter eventFilter) | ||||||
61 | { | ||||||
62 | 3975 | return (getFilter().equals(eventFilter.getFilter())); | |||||
63 | } | ||||||
64 | |||||||
|
|||||||
65 | 52 | @Override... | |||||
66 | public boolean equals(Object object) | ||||||
67 | { | ||||||
68 | 52 | if (object == null) { | |||||
69 | 1 | return false; | |||||
70 | } | ||||||
71 | |||||||
72 | 51 | if (object == this) { | |||||
73 | 1 | return true; | |||||
74 | } | ||||||
75 | |||||||
76 | 50 | if (object.getClass() != getClass()) { | |||||
77 | 1 | return false; | |||||
78 | } | ||||||
79 | |||||||
80 | 49 | FixedNameEventFilter rhs = (FixedNameEventFilter) object; | |||||
81 | 49 | return Objects.equals(getFilter(), rhs.getFilter()); | |||||
82 | } | ||||||
83 | |||||||
|
|||||||
84 | 51 | @Override... | |||||
85 | public int hashCode() | ||||||
86 | { | ||||||
87 | 51 | return new HashCodeBuilder(3, 125).append(getFilter()).toHashCode(); | |||||
88 | } | ||||||
89 | } |