Class | Line # | Actions | |||||
---|---|---|---|---|---|---|---|
AbstractCancelableEvent | 30 | 7 | 0% | 7 | 0 | 1.0100% |
Class AbstractCancelableEvent |
Line # 30 |
7 |
0% |
7 |
0 |
1.0100% |
---|---|---|---|---|---|---|
AbstractCancelableEvent() AbstractCancelableEvent() | 4646 | 0.00 | -1.0 - | 1.01 | 0.00 | -1.0 -1.0 - |
AbstractCancelableEvent(String) AbstractCancelableEvent(String) | 5656 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
AbstractCancelableEvent(EventFilter) AbstractCancelableEvent(EventFilter) | 6666 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
isCanceled() : boolean isCanceled() : boolean | 7171 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
cancel() : void cancel() : void | 7777 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
cancel(String) : void cancel(String) : void | 8383 | 2.02 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
getReason() : String getReason() : String | 9090 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
0.71428573
|
org.xwiki.rendering.macro.velocity.VelocityMacroSecurityTest.testRestrictedByContextorg.xwiki.rendering.macro.velocity.VelocityMacroSecurityTest.testRestrictedByContext | 1PASS | ||
0.71428573
|
org.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenSecureCustomizerAndRestrictedorg.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenSecureCustomizerAndRestricted | 1PASS | ||
0.71428573
|
org.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenSecureCustomizerWithNoScriptRightsAndNoProgrammingRightsorg.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenSecureCustomizerWithNoScriptRightsAndNoProgrammingRights | 1PASS | ||
0.71428573
|
org.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenSecureCustomizerAndRestrictedWithScriptRightsAndProgrammingRightsorg.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenSecureCustomizerAndRestrictedWithScriptRightsAndProgrammingRights | 1PASS | ||
0.71428573
|
org.xwiki.rendering.macro.velocity.VelocityMacroSecurityTest.testRestrictedByRightsorg.xwiki.rendering.macro.velocity.VelocityMacroSecurityTest.testRestrictedByRights | 1PASS | ||
0.71428573
|
org.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenNoSecureCustomizerAndNoRightsorg.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenNoSecureCustomizerAndNoRights | 1PASS | ||
0.71428573
|
org.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenNoSecureCustomizerAndScriptRightsorg.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenNoSecureCustomizerAndScriptRights | 1PASS | ||
0.5714286
|
org.xwiki.observation.event.CancelableEventTest.testCancelWithReasonorg.xwiki.observation.event.CancelableEventTest.testCancelWithReason | 1PASS | ||
0.5
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersAttachmentcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersAttachment | 1PASS | ||
0.5
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldBeforeAttachmentcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldBeforeAttachment | 1PASS | ||
0.5
|
org.xwiki.observation.event.CancelableEventTest.testCancelorg.xwiki.observation.event.CancelableEventTest.testCancel | 1PASS | ||
0.42857143
|
org.xwiki.rendering.macro.script.NestedScriptMacroValidatorTest.testNoNestedScriptorg.xwiki.rendering.macro.script.NestedScriptMacroValidatorTest.testNoNestedScript | 1PASS | ||
0.42857143
|
org.xwiki.rendering.macro.script.NestedScriptMacroValidatorTest.testNoNestedScriptInHtmlorg.xwiki.rendering.macro.script.NestedScriptMacroValidatorTest.testNoNestedScriptInHtml | 1PASS | ||
0.35714287
|
org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testDefaultParameterValuesorg.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testDefaultParameterValues | 1PASS | ||
0.35714287
|
org.xwiki.rendering.macro.groovy.ClassLoadingTest.testJarParamsInSecondMacroorg.xwiki.rendering.macro.groovy.ClassLoadingTest.testJarParamsInSecondMacro | 1PASS | ||
0.35714287
|
org.xwiki.rendering.macro.velocity.VelocityMacroIsolationTest.testVelocityMacroIsolationorg.xwiki.rendering.macro.velocity.VelocityMacroIsolationTest.testVelocityMacroIsolation | 1PASS | ||
0.35714287
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiRequiringPRAfterDropPermissionorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiRequiringPRAfterDropPermission | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteWhenWikiMacroDirectlyProvideTheResultorg.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteWhenWikiMacroDirectlyProvideTheResult | 1PASS | ||
0.35714287
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectField | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.macro.groovy.ClassLoadingTest.testDefineClassInOneExecutionAndUseInAnotherorg.xwiki.rendering.macro.groovy.ClassLoadingTest.testDefineClassInOneExecutionAndUseInAnother | 1PASS | ||
0.35714287
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitlePLAINcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitlePLAIN | 1PASS | ||
0.35714287
|
org.xwiki.observation.event.CancelableEventTest.testAbstractCancelableEventStringorg.xwiki.observation.event.CancelableEventTest.testAbstractCancelableEventString | 1PASS | ||
0.35714287
|
org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteWhenWithDifferentMacroSyntaxorg.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteWhenWithDifferentMacroSyntax | 1PASS | ||
0.35714287
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testCurrentDocumentVariableIsInjectedBeforeRenderingcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testCurrentDocumentVariableIsInjectedBeforeRendering | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.macro.groovy.ClassLoadingTest.testDefineClassInFirstExecutionAndJarParamsInAnotherorg.xwiki.rendering.macro.groovy.ClassLoadingTest.testDefineClassInFirstExecutionAndJarParamsInAnother | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitlecom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitle | 1PASS | ||
0.35714287
|
org.xwiki.observation.event.CancelableEventTest.testAbstractCancelableEventorg.xwiki.observation.event.CancelableEventTest.testAbstractCancelableEvent | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitleNonUtf8PlatformEncodingcom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitleNonUtf8PlatformEncoding | 1PASS | ||
0.35714287
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentcom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocument | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportTranslationsOverwritecom.xpn.xwiki.plugin.packaging.ImportTest.testImportTranslationsOverwrite | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenSecureCustomizerWithScriptRightsAndNoProgrammingRightsorg.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenSecureCustomizerWithScriptRightsAndNoProgrammingRights | 1PASS | ||
0.35714287
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportOverwriteDocumentcom.xpn.xwiki.plugin.packaging.ImportTest.testImportOverwriteDocument | 1PASS | ||
0.35714287
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentCleansVelocityMacroCachecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentCleansVelocityMacroCache | 1PASS | ||
0.35714287
|
org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testGetCurrentMacroBlockorg.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testGetCurrentMacroBlock | 1PASS | ||
0.35714287
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentXarCreatedByCommonsCompresscom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentXarCreatedByCommonsCompress | 1PASS | ||
0.35714287
|
org.xwiki.observation.event.CancelableEventTest.testAbstractCancelableEventEventFilterorg.xwiki.observation.event.CancelableEventTest.testAbstractCancelableEventEventFilter | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportExtensioncom.xpn.xwiki.plugin.packaging.ImportTest.testImportExtension | 1PASS | ||
0.35714287
|
org.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenSecureCustomizerWithNoScriptRightsAndProgrammingRightsorg.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenSecureCustomizerWithNoScriptRightsAndProgrammingRights | 1PASS | ||
0.35714287
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentRightscom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentRights | 1PASS | ||
0.35714287
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextRightscom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextRights | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiMacroBindingorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiMacroBinding | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.35714287
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTMLcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTML | 1PASS | ||
0.35714287
|
org.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenNoSecureCustomizerAndProgrammingRightsorg.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenNoSecureCustomizerAndProgrammingRights | 1PASS | ||
0.35714287
|
org.xwiki.rendering.macro.groovy.ClassLoadingTest.testExtraJarLocatedAtURLorg.xwiki.rendering.macro.groovy.ClassLoadingTest.testExtraJarLocatedAtURL | 1PASS | ||
0.35714287
|
org.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenNoSecureCustomizerAndExecutionRestrictedAndProgrammingRightsorg.xwiki.rendering.macro.groovy.SecurityTest.testExecutionWhenNoSecureCustomizerAndExecutionRestrictedAndProgrammingRights | 1PASS | ||
0.35714287
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.2857143
|
com.xpn.xwiki.XWikiTest.testAuthorAfterDocumentCopycom.xpn.xwiki.XWikiTest.testAuthorAfterDocumentCopy | 1PASS | ||
0.2857143
|
com.xpn.xwiki.XWikiTest.testCreatorAfterDocumentCopycom.xpn.xwiki.XWikiTest.testCreatorAfterDocumentCopy | 1PASS | ||
0.2857143
|
com.xpn.xwiki.XWikiTest.testSaveDocumentSendsObservationEventscom.xpn.xwiki.XWikiTest.testSaveDocumentSendsObservationEvents | 1PASS | ||
0.2857143
|
com.xpn.xwiki.api.XWikiTest.testAuthorIsntChangedAfterDocumentCopycom.xpn.xwiki.api.XWikiTest.testAuthorIsntChangedAfterDocumentCopy | 1PASS | ||
0.2857143
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.2857143
|
com.xpn.xwiki.XWikiTest.testGetPrefsClasscom.xpn.xwiki.XWikiTest.testGetPrefsClass | 1PASS | ||
0.2857143
|
com.xpn.xwiki.XWikiTest.testValidationKeyStoragecom.xpn.xwiki.XWikiTest.testValidationKeyStorage | 1PASS | ||
0.2857143
|
com.xpn.xwiki.XWikiMockitoTest.rollbackFiresEventscom.xpn.xwiki.XWikiMockitoTest.rollbackFiresEvents | 1PASS | ||
0.2857143
|
com.xpn.xwiki.api.XWikiTest.testCreatorIsntChangedAfterDocumentCopycom.xpn.xwiki.api.XWikiTest.testCreatorIsntChangedAfterDocumentCopy | 1PASS | ||
0.2857143
|
com.xpn.xwiki.XWikiTest.testCreationDateAfterDocumentCopycom.xpn.xwiki.XWikiTest.testCreationDateAfterDocumentCopy | 1PASS | ||
0.2857143
|
com.xpn.xwiki.XWikiMockitoTest.copyDocumentPreservesAttachmentsVersioncom.xpn.xwiki.XWikiMockitoTest.copyDocumentPreservesAttachmentsVersion | 1PASS | ||
0.2857143
|
com.xpn.xwiki.XWikiMockitoTest.rollbackDoesNotSaveUnchangedAttachmentcom.xpn.xwiki.XWikiMockitoTest.rollbackDoesNotSaveUnchangedAttachment | 1PASS | ||
0.2857143
|
com.xpn.xwiki.XWikiTest.testDeleteDocumentSendsObservationEventscom.xpn.xwiki.XWikiTest.testDeleteDocumentSendsObservationEvents | 1PASS | ||
0.2857143
|
com.xpn.xwiki.api.XWikiTest.testCreationDateAfterDocumentCopycom.xpn.xwiki.api.XWikiTest.testCreationDateAfterDocumentCopy | 1PASS | ||
0.21428572
|
org.xwiki.rendering.macro.script.NestedScriptMacroValidatorTest.testIncludeInterceptsNestedChainorg.xwiki.rendering.macro.script.NestedScriptMacroValidatorTest.testIncludeInterceptsNestedChain | 1PASS | ||
0.21428572
|
org.xwiki.bridge.event.DocumentRollingBackEventTest.matchorg.xwiki.bridge.event.DocumentRollingBackEventTest.match | 1PASS | ||
0.21428572
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeysorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeys | 1PASS | ||
0.21428572
|
org.xwiki.bridge.event.DocumentRolledBackEventTest.matchorg.xwiki.bridge.event.DocumentRolledBackEventTest.match | 1PASS | ||
0.21428572
|
org.xwiki.rendering.macro.script.NestedScriptMacroValidatorTest.testNestedScriptMacroEnabledInterceptsNestedChainorg.xwiki.rendering.macro.script.NestedScriptMacroValidatorTest.testNestedScriptMacroEnabledInterceptsNestedChain | 1PASS | ||
0.21428572
|
org.xwiki.security.authorization.internal.AuthorizationManagerTest.testRightOnUserAndDeleteorg.xwiki.security.authorization.internal.AuthorizationManagerTest.testRightOnUserAndDelete | 1PASS | ||
0.21428572
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacroorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacro | 1PASS | ||
0.14285715
|
com.xpn.xwiki.XWikiMockitoTest.deleteAllDocumentsAndWithoutSendingToTrashcom.xpn.xwiki.XWikiMockitoTest.deleteAllDocumentsAndWithoutSendingToTrash | 1PASS | ||
0.14285715
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallbackOnResourcecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallbackOnResource | 1PASS | ||
0.14285715
|
com.xpn.xwiki.internal.event.CommentEventGeneratorListenerTest.testDeleteCommentcom.xpn.xwiki.internal.event.CommentEventGeneratorListenerTest.testDeleteComment | 1PASS | ||
0.14285715
|
com.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testModifiedDocumentXClassPropertyModifiedcom.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testModifiedDocumentXClassPropertyModified | 1PASS | ||
0.14285715
|
com.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectDeletedcom.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectDeleted | 1PASS | ||
0.14285715
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallackOnParentLocalecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallackOnParentLocale | 1PASS | ||
0.14285715
|
com.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testAddDocumentcom.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testAddDocument | 1PASS | ||
0.14285715
|
com.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testModifiedDocumentXClassPropertyAddedcom.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testModifiedDocumentXClassPropertyAdded | 1PASS | ||
0.14285715
|
com.xpn.xwiki.internal.objects.classes.XClassMigratorListenerTest.migratePropertycom.xpn.xwiki.internal.objects.classes.XClassMigratorListenerTest.migrateProperty | 1PASS | ||
0.14285715
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getEmptyWikiTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getEmptyWikiTranslation | 1PASS | ||
0.14285715
|
com.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectModifiedcom.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectModified | 1PASS | ||
0.14285715
|
com.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testDeleteDocumentcom.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testDeleteDocument | 1PASS | ||
0.14285715
|
com.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testAddDocumentcom.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testAddDocument | 1PASS | ||
0.14285715
|
com.xpn.xwiki.internal.observation.remote.converter.DocumentEventConverterTest.testConvertWithOriginalDocNullcom.xpn.xwiki.internal.observation.remote.converter.DocumentEventConverterTest.testConvertWithOriginalDocNull | 1PASS | ||
0.14285715
|
org.xwiki.component.wiki.DefaultWikiComponentManagerEventListenerTest.onDocumentCreatedorg.xwiki.component.wiki.DefaultWikiComponentManagerEventListenerTest.onDocumentCreated | 1PASS | ||
0.14285715
|
com.xpn.xwiki.internal.event.CommentEventGeneratorListenerTest.testAddCommentcom.xpn.xwiki.internal.event.CommentEventGeneratorListenerTest.testAddComment | 1PASS | ||
0.14285715
|
com.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectAddedcom.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectAdded | 1PASS | ||
0.14285715
|
com.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectPropertyAddedcom.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectPropertyAdded | 1PASS | ||
0.14285715
|
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeONDemandorg.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeONDemand | 1PASS | ||
0.14285715
|
org.xwiki.component.internal.ContextComponentManagerTest.testDeleteDocumentorg.xwiki.component.internal.ContextComponentManagerTest.testDeleteDocument | 1PASS | ||
0.14285715
|
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWikiFromOtherWikiorg.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWikiFromOtherWiki | 1PASS | ||
0.14285715
|
org.xwiki.component.wiki.DefaultWikiComponentManagerEventListenerTest.onDocumentDeletedorg.xwiki.component.wiki.DefaultWikiComponentManagerEventListenerTest.onDocumentDeleted | 1PASS | ||
0.14285715
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslationWithParameterscom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslationWithParameters | 1PASS | ||
0.14285715
|
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWikiorg.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWiki | 1PASS | ||
0.14285715
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiPreferencesCachecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiPreferencesCache | 1PASS | ||
0.14285715
|
com.xpn.xwiki.XWikiMockitoTest.deleteDocumentcom.xpn.xwiki.XWikiMockitoTest.deleteDocument | 1PASS | ||
0.14285715
|
com.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectPropertyModifiedcom.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectPropertyModified | 1PASS | ||
0.14285715
|
org.xwiki.component.wiki.DefaultWikiComponentManagerEventListenerTest.onDocumentUpdatedWhenTwoComponentsorg.xwiki.component.wiki.DefaultWikiComponentManagerEventListenerTest.onDocumentUpdatedWhenTwoComponents | 1PASS | ||
0.14285715
|
com.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testDeleteDocumentcom.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testDeleteDocument | 1PASS | ||
0.14285715
|
com.xpn.xwiki.internal.cache.DefaultDocumentCacheTest.testEventBasedCleanupcom.xpn.xwiki.internal.cache.DefaultDocumentCacheTest.testEventBasedCleanup | 1PASS | ||
0.14285715
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiTranslationCachecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiTranslationCache | 1PASS | ||
0.14285715
|
com.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectPropertyDeletedcom.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectPropertyDeleted | 1PASS | ||
0.14285715
|
com.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testModifiedDocumentXClassPropertyDeletedcom.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testModifiedDocumentXClassPropertyDeleted | 1PASS | ||
0.14285715
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslatedWikiTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslatedWikiTranslation | 1PASS | ||
0.14285715
|
org.xwiki.component.wiki.DefaultWikiComponentManagerEventListenerTest.onDocumentUpdatedorg.xwiki.component.wiki.DefaultWikiComponentManagerEventListenerTest.onDocumentUpdated | 1PASS | ||
0.14285715
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getWikiTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getWikiTranslation | 1PASS | ||
0.14285715
|
com.xpn.xwiki.internal.event.CommentEventGeneratorListenerTest.testModifiedCommentcom.xpn.xwiki.internal.event.CommentEventGeneratorListenerTest.testModifiedComment | 1PASS | ||
0.14285715
|
com.xpn.xwiki.internal.cache.rendering.DefaultRenderingCacheTest.testGetSetRenderedContentcom.xpn.xwiki.internal.cache.rendering.DefaultRenderingCacheTest.testGetSetRenderedContent | 1PASS | ||
0.071428575
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplaycom.xpn.xwiki.doc.XWikiDocumentTest.testDisplay | 1PASS | ||
0.071428575
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenNotMatchingTitleHeaderDepthcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenNotMatchingTitleHeaderDepth | 1PASS | ||
0.071428575
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceHTMLContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceHTMLContentLength | 1PASS | ||
0.071428575
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleNoTitleAndContentcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleNoTitleAndContent | 1PASS | ||
0.071428575
|
org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteWhenInnerMacroorg.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteWhenInnerMacro | 1PASS | ||
0.071428575
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020 | 1PASS | ||
0.071428575
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceWithoutProgrammingRigths | 1PASS | ||
0.071428575
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithTitlecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithTitle | 1PASS | ||
0.071428575
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceConsistencycom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceConsistency | 1PASS | ||
0.071428575
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.071428575
|
com.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationForcecom.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationForce | 1PASS | ||
0.071428575
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithattachmentwithoutdatecom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithattachmentwithoutdate | 1PASS | ||
0.071428575
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextWithSourceSyntaxcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextWithSourceSyntax | 1PASS | ||
0.071428575
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRoot | 1PASS | ||
0.071428575
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceXMLContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceXMLContentLength | 1PASS | ||
0.071428575
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentWithSourceSyntaxcom.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentWithSourceSyntax | 1PASS | ||
0.071428575
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnWikiorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnWiki | 1PASS | ||
0.071428575
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentcom.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContent | 1PASS | ||
0.071428575
|
com.xpn.xwiki.internal.template.TemplateManagerTest.testRenderClassloaderTemplatecom.xpn.xwiki.internal.template.TemplateManagerTest.testRenderClassloaderTemplate | 1PASS | ||
0.071428575
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenMatchingTitleHeaderDepthcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenMatchingTitleHeaderDepth | 1PASS | ||
0.071428575
|
org.xwiki.lesscss.internal.listeners.SSXListenerTest.onEventorg.xwiki.lesscss.internal.listeners.SSXListenerTest.onEvent | 1PASS | ||
0.071428575
|
org.xwiki.extension.xar.internal.handler.WikiCopiedEventListenerTest.testCopyOneExtensionorg.xwiki.extension.xar.internal.handler.WikiCopiedEventListenerTest.testCopyOneExtension | 1PASS | ||
0.071428575
|
org.xwiki.wiki.internal.descriptor.listener.WikiDescriptorListenerTest.onDocumentDeletedEventorg.xwiki.wiki.internal.descriptor.listener.WikiDescriptorListenerTest.onDocumentDeletedEvent | 1PASS | ||
0.071428575
|
org.xwiki.wiki.internal.descriptor.listener.WikiDescriptorListenerTest.onDocumentUpdatedEventorg.xwiki.wiki.internal.descriptor.listener.WikiDescriptorListenerTest.onDocumentUpdatedEvent | 1PASS | ||
0.071428575
|
com.xpn.xwiki.doc.XWikiDocumentTest.testRenamecom.xpn.xwiki.doc.XWikiDocumentTest.testRename | 1PASS | ||
0.071428575
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20 | 1PASS | ||
0.071428575
|
org.xwiki.lesscss.internal.listeners.SkinListenerTest.getEventsorg.xwiki.lesscss.internal.listeners.SkinListenerTest.getEvents | 1PASS | ||
0.071428575
|
com.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationWhenNoVersioncom.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationWhenNoVersion | 1PASS | ||
0.071428575
|
org.xwiki.lesscss.internal.listeners.ColorThemeListenerTest.getEventsorg.xwiki.lesscss.internal.listeners.ColorThemeListenerTest.getEvents | 1PASS | ||
0.071428575
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithnumberversioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithnumberversion | 1PASS | ||
0.071428575
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallFromRootorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallFromRoot | 1PASS | ||
0.071428575
|
org.xwiki.linkchecker.internal.LinkCheckerEventListenerTest.testOnEventorg.xwiki.linkchecker.internal.LinkCheckerEventListenerTest.testOnEvent | 1PASS | ||
0.071428575
|
com.xpn.xwiki.internal.template.TemplateManagerTest.testRenderVelocitycom.xpn.xwiki.internal.template.TemplateManagerTest.testRenderVelocity | 1PASS | ||
0.071428575
|
org.xwiki.watchlist.internal.AutomaticWatchModeListenerTest.onEventWhenInContextOfWikiCreatingEventorg.xwiki.watchlist.internal.AutomaticWatchModeListenerTest.onEventWhenInContextOfWikiCreatingEvent | 1PASS | ||
0.071428575
|
com.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationOrderAndIgnorecom.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationOrderAndIgnore | 1PASS | ||
0.071428575
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnRootWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnRootWithoutProgrammingRigths | 1PASS | ||
0.071428575
|
com.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.071428575
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnRootorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnRoot | 1PASS | ||
0.071428575
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairInvalidOnRootorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairInvalidOnRoot | 1PASS | ||
0.071428575
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourcePolymorphismcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourcePolymorphism | 1PASS | ||
0.071428575
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleRecursivecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleRecursive | 1PASS | ||
0.071428575
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourcePlainContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourcePlainContentLength | 1PASS | ||
0.071428575
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContent | 1PASS | ||
0.071428575
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespace | 1PASS | ||
0.071428575
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespace | 1PASS | ||
0.071428575
|
org.xwiki.search.solr.internal.SolrIndexEventListenerTest.onDocumentDeletedorg.xwiki.search.solr.internal.SolrIndexEventListenerTest.onDocumentDeleted | 1PASS | ||
0.071428575
|
org.xwiki.watchlist.internal.AutomaticWatchModeListenerTest.onEventWhenDocumentCreatedEventorg.xwiki.watchlist.internal.AutomaticWatchModeListenerTest.onEventWhenDocumentCreatedEvent | 1PASS | ||
0.071428575
|
org.xwiki.lesscss.internal.listeners.SSXListenerTest.getEventsorg.xwiki.lesscss.internal.listeners.SSXListenerTest.getEvents | 1PASS | ||
0.071428575
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectpropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectproperty | 1PASS | ||
0.071428575
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootWithoutProgrammingRigths | 1PASS | ||
0.071428575
|
org.xwiki.icon.internal.IconThemeListenerTest.getEventsorg.xwiki.icon.internal.IconThemeListenerTest.getEvents | 1PASS | ||
0.071428575
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclasspropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclassproperty | 1PASS | ||
0.071428575
|
org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteorg.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecute | 1PASS | ||
0.071428575
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceWithoutProgrammingRigths | 1PASS | ||
0.071428575
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceAccessRightscom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceAccessRights | 1PASS | ||
0.071428575
|
org.xwiki.component.internal.ContextComponentManagerTest.testRegisterComponentInUserComponentManagerorg.xwiki.component.internal.ContextComponentManagerTest.testRegisterComponentInUserComponentManager | 1PASS | ||
0.071428575
|
org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteWhenInlineAndWithMacroorg.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacroTest.testExecuteWhenInlineAndWithMacro | 1PASS | ||
0.071428575
|
com.xpn.xwiki.internal.template.TemplateManagerTest.testRenderWikicom.xpn.xwiki.internal.template.TemplateManagerTest.testRenderWiki | 1PASS | ||
0.071428575
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testOverwriteAllowedNamespacesorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testOverwriteAllowedNamespaces | 1PASS | ||
0.071428575
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevisioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevision | 1PASS | ||
0.071428575
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceContentTypecom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceContentType | 1PASS | ||
0.071428575
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithoutauthorandcreatorcom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithoutauthorandcreator | 1PASS | ||
0.071428575
|
org.xwiki.watchlist.internal.AutomaticWatchModeListenerTest.onEventWhenInContextOXARImportingEventorg.xwiki.watchlist.internal.AutomaticWatchModeListenerTest.onEventWhenInContextOXARImportingEvent | 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; | ||||||
21 | |||||||
22 | import org.xwiki.observation.event.filter.EventFilter; | ||||||
23 | |||||||
24 | /** | ||||||
25 | * Abstract base class for cancelable events. | ||||||
26 | * | ||||||
27 | * @version $Id: ff0c3681ca9f9a86904b02336b230103e50dd5f0 $ | ||||||
28 | * @since 2.5M1 | ||||||
29 | */ | ||||||
|
|||||||
30 | public abstract class AbstractCancelableEvent extends AbstractFilterableEvent implements CancelableEvent | ||||||
31 | { | ||||||
32 | /** Serial version ID. Increment only if the <i>serialized</i> version of this class changes. */ | ||||||
33 | private static final long serialVersionUID = 1L; | ||||||
34 | |||||||
35 | /** Flag storing the state of this event. */ | ||||||
36 | private boolean canceled; | ||||||
37 | |||||||
38 | /** The reason why the event was canceled. */ | ||||||
39 | private String reason; | ||||||
40 | |||||||
41 | /** | ||||||
42 | * Constructor initializing the event filter with an | ||||||
43 | * {@link org.xwiki.observation.event.filter.AlwaysMatchingEventFilter}, meaning that this event will match any | ||||||
44 | * other event of the same type. | ||||||
45 | */ | ||||||
|
|||||||
46 | 3664 | protected AbstractCancelableEvent()... | |||||
47 | { | ||||||
48 | } | ||||||
49 | |||||||
50 | /** | ||||||
51 | * Constructor initializing the event filter with a {@link org.xwiki.observation.event.filter.FixedNameEventFilter}, | ||||||
52 | * meaning that this event will match only events of the same type affecting the same passed name. | ||||||
53 | * | ||||||
54 | * @param name a generic name that uniquely identifies an event type | ||||||
55 | */ | ||||||
|
|||||||
56 | 17401 | protected AbstractCancelableEvent(String name)... | |||||
57 | { | ||||||
58 | 17401 | super(name); | |||||
59 | } | ||||||
60 | |||||||
61 | /** | ||||||
62 | * Constructor using a custom {@link EventFilter}. | ||||||
63 | * | ||||||
64 | * @param eventFilter the filter to use for matching events | ||||||
65 | */ | ||||||
|
|||||||
66 | 497 | protected AbstractCancelableEvent(EventFilter eventFilter)... | |||||
67 | { | ||||||
68 | 497 | super(eventFilter); | |||||
69 | } | ||||||
70 | |||||||
|
|||||||
71 | 12657 | @Override... | |||||
72 | public boolean isCanceled() | ||||||
73 | { | ||||||
74 | 12657 | return this.canceled; | |||||
75 | } | ||||||
76 | |||||||
|
|||||||
77 | 1 | @Override... | |||||
78 | public void cancel() | ||||||
79 | { | ||||||
80 | 1 | this.canceled = true; | |||||
81 | } | ||||||
82 | |||||||
|
|||||||
83 | 10 | @Override... | |||||
84 | public void cancel(String reason) | ||||||
85 | { | ||||||
86 | 10 | this.canceled = true; | |||||
87 | 10 | this.reason = reason; | |||||
88 | } | ||||||
89 | |||||||
|
|||||||
90 | 11 | @Override... | |||||
91 | public String getReason() | ||||||
92 | { | ||||||
93 | 11 | return this.reason; | |||||
94 | } | ||||||
95 | } |