Class | Line # | Actions | |||||
---|---|---|---|---|---|---|---|
BaseStringProperty | 27 | 12 | 0% | 9 | 4 | 0.833333383.3% |
Class BaseStringProperty |
Line # 27 |
12 |
0% |
9 |
4 |
0.833333383.3% |
---|---|---|---|---|---|---|
getValue() : String getValue() : String | 3232 | 1.01 | 0.00% | 2.02 | 0.00 | 1.0 1.0100% |
setValue(Object) : void setValue(Object) : void | 4141 | 2.02 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
toText() : String toText() : String | 4848 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
equals(Object) : boolean equals(Object) : boolean | 5454 | 5.05 | 0.00% | 3.03 | 4.04 | 0.5555556 0.555555655.6% |
clone() : BaseStringProperty clone() : BaseStringProperty | 6868 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
cloneInternal(BaseProperty) : void cloneInternal(BaseProperty) : void | 7474 | 2.02 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
0.7916667
|
com.xpn.xwiki.doc.XWikiDocumentMergeTest.testMergeObjectModifiedcom.xpn.xwiki.doc.XWikiDocumentMergeTest.testMergeObjectModified | 1PASS | ||
0.7916667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnRoot | 1PASS | ||
0.7916667
|
com.xpn.xwiki.doc.XWikiDocumentMergeTest.testMergeNewObjectRemovedcom.xpn.xwiki.doc.XWikiDocumentMergeTest.testMergeNewObjectRemoved | 1PASS | ||
0.7916667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnWiki | 1PASS | ||
0.7916667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.7916667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRoot | 1PASS | ||
0.7916667
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testDowngradeOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testDowngradeOnWiki | 1PASS | ||
0.7083333
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRoot | 1PASS | ||
0.7083333
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallMandatoryorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallMandatory | 1PASS | ||
0.7083333
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallFromWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallFromWiki | 1PASS | ||
0.7083333
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWiki | 1PASS | ||
0.7083333
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWiki | 1PASS | ||
0.5833333
|
com.xpn.xwiki.objects.BaseObjectTest.testMergecom.xpn.xwiki.objects.BaseObjectTest.testMerge | 1PASS | ||
0.5833333
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.tofromXMLDocumentcom.xpn.xwiki.doc.XWikiDocumentMockitoTest.tofromXMLDocument | 1PASS | ||
0.5416667
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallbackOnResourcecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallbackOnResource | 1PASS | ||
0.5416667
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallackOnParentLocalecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.fallackOnParentLocale | 1PASS | ||
0.5416667
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslationWithParameterscom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslationWithParameters | 1PASS | ||
0.5416667
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceHTMLContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceHTMLContentLength | 1PASS | ||
0.5416667
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiPreferencesCachecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiPreferencesCache | 1PASS | ||
0.5416667
|
com.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.5416667
|
org.xwiki.configuration.internal.UserPreferencesConfigurationSourceTest.getPropertyForStringWhenExistsorg.xwiki.configuration.internal.UserPreferencesConfigurationSourceTest.getPropertyForStringWhenExists | 1PASS | ||
0.5416667
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourcePlainContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourcePlainContentLength | 1PASS | ||
0.5416667
|
org.xwiki.configuration.internal.WikiPreferencesConfigurationSourceTest.testGetPropertyorg.xwiki.configuration.internal.WikiPreferencesConfigurationSourceTest.testGetProperty | 1PASS | ||
0.5416667
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeysorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeys | 1PASS | ||
0.5416667
|
com.xpn.xwiki.internal.objects.classes.XClassMigratorListenerTest.migratePropertycom.xpn.xwiki.internal.objects.classes.XClassMigratorListenerTest.migrateProperty | 1PASS | ||
0.5416667
|
com.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectPropertyModifiedcom.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectPropertyModified | 1PASS | ||
0.5416667
|
com.xpn.xwiki.doc.XWikiDocumentMergeTest.testMergeCurrentObjectRemovedcom.xpn.xwiki.doc.XWikiDocumentMergeTest.testMergeCurrentObjectRemoved | 1PASS | ||
0.5416667
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiTranslationCachecom.xpn.xwiki.web.XWikiMessageToolBridgeTest.updateWikiTranslationCache | 1PASS | ||
0.5416667
|
org.xwiki.configuration.internal.WikiPreferencesConfigurationSourceTest.testGetPropertyTwiceWithDifferentTypeorg.xwiki.configuration.internal.WikiPreferencesConfigurationSourceTest.testGetPropertyTwiceWithDifferentType | 1PASS | ||
0.5416667
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceXMLContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceXMLContentLength | 1PASS | ||
0.5416667
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslatedWikiTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getTranslatedWikiTranslation | 1PASS | ||
0.5416667
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getEmptyWikiTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getEmptyWikiTranslation | 1PASS | ||
0.5416667
|
com.xpn.xwiki.web.XWikiMessageToolBridgeTest.getWikiTranslationcom.xpn.xwiki.web.XWikiMessageToolBridgeTest.getWikiTranslation | 1PASS | ||
0.5416667
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testObjectNumbersAfterXMLRoundripcom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testObjectNumbersAfterXMLRoundrip | 1PASS | ||
0.5416667
|
org.xwiki.configuration.internal.SpacePreferencesConfigurationSourceTest.getPropertyForStringWhenExistsorg.xwiki.configuration.internal.SpacePreferencesConfigurationSourceTest.getPropertyForStringWhenExists | 1PASS | ||
0.5
|
com.xpn.xwiki.internal.store.PropertyConverterTest.longToStringcom.xpn.xwiki.internal.store.PropertyConverterTest.longToString | 1PASS | ||
0.45833334
|
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeONDemandorg.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeONDemand | 1PASS | ||
0.45833334
|
org.xwiki.configuration.internal.WikiPreferencesConfigurationSourceTest.testGetPropertyWithWrongTypeorg.xwiki.configuration.internal.WikiPreferencesConfigurationSourceTest.testGetPropertyWithWrongType | 1PASS | ||
0.45833334
|
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImplTest.testLogintoVirtualXwikiWithWikiPrefixUsernamecom.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImplTest.testLogintoVirtualXwikiWithWikiPrefixUsername | 1PASS | ||
0.45833334
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testMergeObjectsHaveCorrectReferenceAndDifferentGuidscom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testMergeObjectsHaveCorrectReferenceAndDifferentGuids | 1PASS | ||
0.45833334
|
com.xpn.xwiki.user.impl.xwiki.XWikiGroupServiceImplTest.testListMemberForGroupcom.xpn.xwiki.user.impl.xwiki.XWikiGroupServiceImplTest.testListMemberForGroup | 1PASS | ||
0.45833334
|
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImplTest.testLoginWithWikiPrefixcom.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImplTest.testLoginWithWikiPrefix | 1PASS | ||
0.45833334
|
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWikiFromOtherWikiorg.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWikiFromOtherWiki | 1PASS | ||
0.45833334
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testRelativeObjectReferencesAfterDocumentCopycom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testRelativeObjectReferencesAfterDocumentCopy | 1PASS | ||
0.45833334
|
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWikiorg.xwiki.localization.wiki.internal.DocumentTranslationBundleFactoryTest.getTranslationScopeWiki | 1PASS | ||
0.45833334
|
com.xpn.xwiki.api.DocumentTest.testRemoveObjectDoesntCauseDataLosscom.xpn.xwiki.api.DocumentTest.testRemoveObjectDoesntCauseDataLoss | 1PASS | ||
0.45833334
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCreatorAfterDocumentCopycom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCreatorAfterDocumentCopy | 1PASS | ||
0.45833334
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWiki | 1PASS | ||
0.45833334
|
com.xpn.xwiki.api.DocumentTest.testChangeAuthorWhenModifyingObjectPropertycom.xpn.xwiki.api.DocumentTest.testChangeAuthorWhenModifyingObjectProperty | 1PASS | ||
0.45833334
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.45833334
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCloneObjectsHaveCorrectReferencecom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCloneObjectsHaveCorrectReference | 1PASS | ||
0.45833334
|
org.xwiki.help.HelpTest.verifySubHeadingVelocityVariableCorrectlyEvaluatedWhenUsedInSectionorg.xwiki.help.HelpTest.verifySubHeadingVelocityVariableCorrectlyEvaluatedWhenUsedInSection | 3FAIL | ||
0.45833334
|
com.xpn.xwiki.doc.XWikiDocumentMergeTest.testApplyWithUnmodifiedObjectcom.xpn.xwiki.doc.XWikiDocumentMergeTest.testApplyWithUnmodifiedObject | 1PASS | ||
0.45833334
|
com.xpn.xwiki.doc.XWikiDocumentTest.testRename10com.xpn.xwiki.doc.XWikiDocumentTest.testRename10 | 1PASS | ||
0.45833334
|
org.xwiki.activitystream.WebRssTest.webRssDisplayorg.xwiki.activitystream.WebRssTest.webRssDisplay | 3FAIL | ||
0.45833334
|
org.xwiki.configuration.internal.WikiPreferencesConfigurationSourceTest.testContainsKeyorg.xwiki.configuration.internal.WikiPreferencesConfigurationSourceTest.testContainsKey | 1PASS | ||
0.45833334
|
org.xwiki.configuration.internal.WikiPreferencesConfigurationSourceTest.testGetKeysorg.xwiki.configuration.internal.WikiPreferencesConfigurationSourceTest.testGetKeys | 1PASS | ||
0.45833334
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testMergeObjectsTwicecom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testMergeObjectsTwice | 1PASS | ||
0.45833334
|
com.xpn.xwiki.api.DocumentTest.testGetObjectscom.xpn.xwiki.api.DocumentTest.testGetObjects | 1PASS | ||
0.45833334
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testObjectGuidsAfterDocumentCopycom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testObjectGuidsAfterDocumentCopy | 1PASS | ||
0.45833334
|
com.xpn.xwiki.internal.filter.output.UserInstanceOutputFilterStreamTest.testImportUserWithoutWikicom.xpn.xwiki.internal.filter.output.UserInstanceOutputFilterStreamTest.testImportUserWithoutWiki | 1PASS | ||
0.45833334
|
com.xpn.xwiki.doc.XWikiDocumentMergeTest.testApplyWithModifiedObjectAndCleancom.xpn.xwiki.doc.XWikiDocumentMergeTest.testApplyWithModifiedObjectAndClean | 1PASS | ||
0.45833334
|
com.xpn.xwiki.api.DocumentTest.testChangeAuthorWhenModifyingDocumentPropertycom.xpn.xwiki.api.DocumentTest.testChangeAuthorWhenModifyingDocumentProperty | 1PASS | ||
0.45833334
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiAndRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiAndRoot | 1PASS | ||
0.45833334
|
com.xpn.xwiki.internal.filter.output.UserInstanceOutputFilterStreamTest.testImportUsersAndGroupsPreserveVersioncom.xpn.xwiki.internal.filter.output.UserInstanceOutputFilterStreamTest.testImportUsersAndGroupsPreserveVersion | 1PASS | ||
0.45833334
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnWikiWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnWikiWithoutAdminRights | 1PASS | ||
0.45833334
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootAndWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootAndWiki | 1PASS | ||
0.45833334
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCreationDateAfterDocumentCopycom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCreationDateAfterDocumentCopy | 1PASS | ||
0.45833334
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnRootWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnRootWithoutAdminRights | 1PASS | ||
0.45833334
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCustomMappingAfterDocumentCopycom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testCustomMappingAfterDocumentCopy | 1PASS | ||
0.45833334
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.testAuthorAfterDocumentCopycom.xpn.xwiki.doc.XWikiDocumentMockitoTest.testAuthorAfterDocumentCopy | 1PASS | ||
0.45833334
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAuthororg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAuthor | 1PASS | ||
0.45833334
|
com.xpn.xwiki.doc.XWikiDocumentTest.testRenamecom.xpn.xwiki.doc.XWikiDocumentTest.testRename | 1PASS | ||
0.45833334
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevisioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevision | 1PASS | ||
0.45833334
|
org.xwiki.configuration.internal.WikiPreferencesConfigurationSourceTest.testIsEmptyorg.xwiki.configuration.internal.WikiPreferencesConfigurationSourceTest.testIsEmpty | 1PASS | ||
0.45833334
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacroorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacro | 1PASS | ||
0.33333334
|
com.xpn.xwiki.internal.filter.XWikiDocumentFilterUtilsTest.class1com.xpn.xwiki.internal.filter.XWikiDocumentFilterUtilsTest.class1 | 1PASS | ||
0.33333334
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentCleansVelocityMacroCachecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentCleansVelocityMacroCache | 1PASS | ||
0.33333334
|
com.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectPropertyDeletedcom.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectPropertyDeleted | 1PASS | ||
0.33333334
|
com.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectModifiedcom.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectModified | 1PASS | ||
0.33333334
|
com.xpn.xwiki.internal.store.PropertyConverterTest.stringToNumbercom.xpn.xwiki.internal.store.PropertyConverterTest.stringToNumber | 1PASS | ||
0.33333334
|
com.xpn.xwiki.api.ContextTest.setDisplayModecom.xpn.xwiki.api.ContextTest.setDisplayMode | 1PASS | ||
0.33333334
|
com.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectPropertyAddedcom.xpn.xwiki.internal.event.XObjectEventGeneratorListenerTest.testModifiedDocumentXObjectPropertyAdded | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.StaticListClassTest.testDisplayEditInputcom.xpn.xwiki.objects.classes.StaticListClassTest.testDisplayEditInput | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.BaseClassTest.addTextAreaFieldWhenExistingNumberFieldcom.xpn.xwiki.objects.classes.BaseClassTest.addTextAreaFieldWhenExistingNumberField | 1PASS | ||
0.25
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.readObjectsFromFormcom.xpn.xwiki.doc.XWikiDocumentMockitoTest.readObjectsFromForm | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithIdSpecifiedcom.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithIdSpecified | 1PASS | ||
0.25
|
com.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testModifiedDocumentXClassPropertyModifiedcom.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testModifiedDocumentXClassPropertyModified | 1PASS | ||
0.25
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithGuestUsercom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithGuestUser | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithIdAndParentSpecifiedcom.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithIdAndParentSpecified | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.DateClassTest.toFormStringcom.xpn.xwiki.objects.classes.DateClassTest.toFormString | 1PASS | ||
0.25
|
com.xpn.xwiki.doc.XWikiDocumentMockitoTest.readObjectsFromFormUpdateOrCreatecom.xpn.xwiki.doc.XWikiDocumentMockitoTest.readObjectsFromFormUpdateOrCreate | 1PASS | ||
0.25
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testAdminAccessLevelscom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testAdminAccessLevels | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithIdAndValueSpecifiedcom.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithIdAndValueSpecified | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.BooleanClassTest.testLocalizationcom.xpn.xwiki.objects.classes.BooleanClassTest.testLocalization | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithIdValueParentAndClassSpecifiedcom.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithIdValueParentAndClassSpecified | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.PropertyClassTest.testCompareTocom.xpn.xwiki.objects.classes.PropertyClassTest.testCompareTo | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithSqlScriptSpecifiedcom.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithSqlScriptSpecified | 1PASS | ||
0.25
|
com.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testModifiedDocumentXClassPropertyAddedcom.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testModifiedDocumentXClassPropertyAdded | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithValueSpecifiedcom.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithValueSpecified | 1PASS | ||
0.25
|
com.xpn.xwiki.doc.XWikiDocumentArchiveTest.testUpdateArchiveWhenSpaceInUsernamecom.xpn.xwiki.doc.XWikiDocumentArchiveTest.testUpdateArchiveWhenSpaceInUsername | 1PASS | ||
0.25
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithOnlyPageAsReferencecom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithOnlyPageAsReference | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.StaticListClassTest.testDisplayEditRadiocom.xpn.xwiki.objects.classes.StaticListClassTest.testDisplayEditRadio | 1PASS | ||
0.25
|
com.xpn.xwiki.doc.XWikiDocumentTest.testConvertSyntaxcom.xpn.xwiki.doc.XWikiDocumentTest.testConvertSyntax | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.StaticListClassTest.testDisplayEditCheckboxcom.xpn.xwiki.objects.classes.StaticListClassTest.testDisplayEditCheckbox | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithClassSpecifiedcom.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithClassSpecified | 1PASS | ||
0.25
|
com.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testDeleteDocumentcom.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testDeleteDocument | 1PASS | ||
0.25
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithUserFromAnotherWikicom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelWhithUserFromAnotherWiki | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithIdValueAndClassSpecifiedcom.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithIdValueAndClassSpecified | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.StaticListClassTest.testDisplayViewcom.xpn.xwiki.objects.classes.StaticListClassTest.testDisplayView | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithClassAndParentSpecifiedcom.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithClassAndParentSpecified | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.DateClassTest.fromStringcom.xpn.xwiki.objects.classes.DateClassTest.fromString | 1PASS | ||
0.25
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectField | 1PASS | ||
0.25
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectpropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectproperty | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithIdAndClassnameSpecifiedcom.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithIdAndClassnameSpecified | 1PASS | ||
0.25
|
com.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testModifiedDocumentXClassPropertyDeletedcom.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testModifiedDocumentXClassPropertyDeleted | 1PASS | ||
0.25
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclasspropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclassproperty | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithIdParentAndClassnameSpecifiedcom.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithIdParentAndClassnameSpecified | 1PASS | ||
0.25
|
com.xpn.xwiki.XWikiTest.testGetPrefsClasscom.xpn.xwiki.XWikiTest.testGetPrefsClass | 1PASS | ||
0.25
|
com.xpn.xwiki.XWikiTest.testValidationKeyStoragecom.xpn.xwiki.XWikiTest.testValidationKeyStorage | 1PASS | ||
0.25
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelAdminOnDocumentcom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testHasAccessLevelAdminOnDocument | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.StaticListClassTest.testDisplayEditWithSuggestcom.xpn.xwiki.objects.classes.StaticListClassTest.testDisplayEditWithSuggest | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.StaticListClassTest.testGetListIsSortedcom.xpn.xwiki.objects.classes.StaticListClassTest.testGetListIsSorted | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.BaseClassTest.addTextAreaFieldWhenNullContentTypecom.xpn.xwiki.objects.classes.BaseClassTest.addTextAreaFieldWhenNullContentType | 1PASS | ||
0.25
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroFactoryTest.testCreateWikiMacroWithoutNameorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroFactoryTest.testCreateWikiMacroWithoutName | 1PASS | ||
0.25
|
com.xpn.xwiki.stats.impl.StatsUtilTest.testGetFilteredUserscom.xpn.xwiki.stats.impl.StatsUtilTest.testGetFilteredUsers | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithIdValueAndParentSpecifiedcom.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWithIdValueAndParentSpecified | 1PASS | ||
0.25
|
com.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testAddDocumentcom.xpn.xwiki.internal.event.XClassPropertyEventGeneratorListenerTest.testAddDocument | 1PASS | ||
0.25
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testDeniesAccessLevelForCreateIfDocumentDeniesEditcom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testDeniesAccessLevelForCreateIfDocumentDeniesEdit | 1PASS | ||
0.25
|
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testEditRightsOnWebPreferencesDocumentscom.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImplTest.testEditRightsOnWebPreferencesDocuments | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.NumberClassTest.testFromStringcom.xpn.xwiki.objects.classes.NumberClassTest.testFromString | 1PASS | ||
0.25
|
com.xpn.xwiki.objects.classes.StaticListClassTest.testDisplayEditSelectcom.xpn.xwiki.objects.classes.StaticListClassTest.testDisplayEditSelect | 1PASS | ||
0.25
|
com.xpn.xwiki.api.UserTest.testGetEmailcom.xpn.xwiki.api.UserTest.testGetEmail | 1PASS | ||
0.25
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldBeforeAttachmentcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldBeforeAttachment | 1PASS | ||
0.20833333
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplaycom.xpn.xwiki.doc.XWikiDocumentTest.testDisplay | 1PASS | ||
0.20833333
|
com.xpn.xwiki.doc.XWikiDocumentMergeTest.testMergeNewObjectAddedcom.xpn.xwiki.doc.XWikiDocumentMergeTest.testMergeNewObjectAdded | 1PASS | ||
0.20833333
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020 | 1PASS | ||
0.20833333
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20 | 1PASS | ||
0.125
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInDomainModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInDomainModeInReverseProxyMode | 1PASS | ||
0.125
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInPathModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInPathMode | 1PASS | ||
0.125
|
com.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWhenNoSQLSCriptSpecifiedcom.xpn.xwiki.objects.classes.DBTreeListClassTest.testGetQueryWhenNoSQLSCriptSpecified | 1PASS | ||
0.125
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInDomainModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInDomainMode | 1PASS | ||
0.125
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInPathModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInPathMode | 1PASS | ||
0.125
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikicom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWiki | 1PASS | ||
0.125
|
com.xpn.xwiki.objects.classes.StaticListClassTest.testDisplayHiddencom.xpn.xwiki.objects.classes.StaticListClassTest.testDisplayHidden | 1PASS | ||
0.125
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualMode | 1PASS | ||
0.125
|
com.xpn.xwiki.objects.classes.UsersClassTest.getMapcom.xpn.xwiki.objects.classes.UsersClassTest.getMap | 1PASS | ||
0.125
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInPathModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInPathModeInReverseProxyMode | 1PASS | ||
0.125
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInDomainModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInDomainModeInReverseProxyMode | 1PASS | ||
0.125
|
com.xpn.xwiki.internal.event.CommentEventGeneratorListenerTest.testModifiedCommentcom.xpn.xwiki.internal.event.CommentEventGeneratorListenerTest.testModifiedComment | 1PASS | ||
0.125
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInDomainModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInVirtualModeInDomainMode | 1PASS | ||
0.125
|
com.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInPathModeInReverseProxyModecom.xpn.xwiki.web.XWikiServletURLFactoryTest.createURLOnSubWikiInPathModeInReverseProxyMode | 1PASS | ||
0.125
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroFactoryTest.testCreateWikiMacroorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroFactoryTest.testCreateWikiMacro | 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 com.xpn.xwiki.objects; | ||||||
21 | |||||||
22 | import com.google.common.base.Objects; | ||||||
23 | |||||||
24 | /** | ||||||
25 | * Base string XProperty which all types of string XProperties extend. $Id: fa7594a66f6112892a6c6a5ec3c13a7dc17c04c2 $ | ||||||
26 | */ | ||||||
|
|||||||
27 | public class BaseStringProperty extends BaseProperty | ||||||
28 | { | ||||||
29 | /** The value of the string. */ | ||||||
30 | private String value; | ||||||
31 | |||||||
|
|||||||
32 | 3339970 | @Override... | |||||
33 | public String getValue() | ||||||
34 | { | ||||||
35 | // A null String does not make much sense (the whole property would not be in the xobject in that case) and we | ||||||
36 | // have to make sure something saved as empty string will come back as such in Oracle (which has a very | ||||||
37 | // annoying "empty string is stored as null" behavior) | ||||||
38 | 3339984 | return this.value != null ? this.value : ""; | |||||
39 | } | ||||||
40 | |||||||
|
|||||||
41 | 908360 | @Override... | |||||
42 | public void setValue(Object value) | ||||||
43 | { | ||||||
44 | 908367 | setValueDirty(value); | |||||
45 | 908393 | this.value = (String) value; | |||||
46 | } | ||||||
47 | |||||||
|
|||||||
48 | 275735 | @Override... | |||||
49 | public String toText() | ||||||
50 | { | ||||||
51 | 275735 | return getValue(); | |||||
52 | } | ||||||
53 | |||||||
|
|||||||
54 | 26554 | @Override... | |||||
55 | public boolean equals(Object obj) | ||||||
56 | { | ||||||
57 | 26554 | if (!super.equals(obj)) { | |||||
58 | 0 | return false; | |||||
59 | } | ||||||
60 | |||||||
61 | 26554 | if (!(obj instanceof BaseStringProperty)) { | |||||
62 | 0 | return false; | |||||
63 | } | ||||||
64 | |||||||
65 | 26554 | return Objects.equal(this.getValue(), ((BaseStringProperty) obj).getValue()); | |||||
66 | } | ||||||
67 | |||||||
|
|||||||
68 | 400670 | @Override... | |||||
69 | public BaseStringProperty clone() | ||||||
70 | { | ||||||
71 | 400677 | return (BaseStringProperty) super.clone(); | |||||
72 | } | ||||||
73 | |||||||
|
|||||||
74 | 400681 | @Override... | |||||
75 | protected void cloneInternal(BaseProperty clone) | ||||||
76 | { | ||||||
77 | 400683 | BaseStringProperty property = (BaseStringProperty) clone; | |||||
78 | 400682 | property.setValue(getValue()); | |||||
79 | } | ||||||
80 | } |