Class | Line # | Actions | |||||
---|---|---|---|---|---|---|---|
SafeArrayConverter | 37 | 16 | 0% | 7 | 0 | 1.0100% |
Class SafeArrayConverter |
Line # 37 |
16 |
0% |
7 |
0 |
1.0100% |
---|---|---|---|---|---|---|
SafeArrayConverter(SafeXStream) SafeArrayConverter(SafeXStream) | 4747 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
canConvert(Class) : boolean canConvert(Class) : boolean | 5252 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
readItem(HierarchicalStreamReader,UnmarshallingContext,Object) : Object readItem(HierarchicalStreamReader,UnmarshallingContext,Object) : Object | 5858 | 6.06 | 0.00% | 2.02 | 0.00 | 1.0 1.0100% |
writeItem(Object,MarshallingContext,HierarchicalStreamWriter) : void writeItem(Object,MarshallingContext,HierarchicalStreamWriter) : void | 7373 | 8.08 | 0.00% | 3.03 | 0.00 | 1.0 1.0100% |
0.72727275
|
org.xwiki.job.internal.xstream.SafeXStreamTest.testNotSerializableObjectWithFailingToStringInArrayorg.xwiki.job.internal.xstream.SafeXStreamTest.testNotSerializableObjectWithFailingToStringInArray | 1PASS | ||
0.6818182
|
org.xwiki.job.internal.DefaultJobStatusStoreTest.storeJobStatusorg.xwiki.job.internal.DefaultJobStatusStoreTest.storeJobStatus | 1PASS | ||
0.6363636
|
org.xwiki.job.internal.xstream.SafeXStreamTest.testNotSerializableObjectInArrayorg.xwiki.job.internal.xstream.SafeXStreamTest.testNotSerializableObjectInArray | 1PASS | ||
0.5
|
org.xwiki.job.internal.JobStatusSerializerTest.testLogWithArgumentsorg.xwiki.job.internal.JobStatusSerializerTest.testLogWithArguments | 1PASS | ||
0.5
|
org.xwiki.job.internal.JobStatusSerializerTest.testLogWithNotSerializableCustomObjectArgumentorg.xwiki.job.internal.JobStatusSerializerTest.testLogWithNotSerializableCustomObjectArgument | 1PASS | ||
0.5
|
org.xwiki.job.internal.JobStatusSerializerTest.testLogWithCrossReferenceorg.xwiki.job.internal.JobStatusSerializerTest.testLogWithCrossReference | 1PASS | ||
0.5
|
org.xwiki.job.internal.JobStatusSerializerTest.testLogWithStandaloneComponentArgumentorg.xwiki.job.internal.JobStatusSerializerTest.testLogWithStandaloneComponentArgument | 1PASS | ||
0.5
|
org.xwiki.job.internal.JobStatusSerializerTest.testLogWithNullArgumentsorg.xwiki.job.internal.JobStatusSerializerTest.testLogWithNullArguments | 1PASS | ||
0.5
|
org.xwiki.job.internal.JobStatusSerializerTest.testLogWithLoggerFieldorg.xwiki.job.internal.JobStatusSerializerTest.testLogWithLoggerField | 1PASS | ||
0.5
|
org.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusWithNullIdorg.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusWithNullId | 1PASS | ||
0.5
|
org.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusWithMultipleIdorg.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusWithMultipleId | 1PASS | ||
0.5
|
org.xwiki.job.internal.JobStatusSerializerTest.testLogWithSerializableCustomObjectArgumentorg.xwiki.job.internal.JobStatusSerializerTest.testLogWithSerializableCustomObjectArgument | 1PASS | ||
0.5
|
org.xwiki.job.internal.JobStatusSerializerTest.testLogMessageorg.xwiki.job.internal.JobStatusSerializerTest.testLogMessage | 1PASS | ||
0.5
|
org.xwiki.job.internal.JobStatusSerializerTest.testLogWithComponentArgumentorg.xwiki.job.internal.JobStatusSerializerTest.testLogWithComponentArgument | 1PASS | ||
0.5
|
org.xwiki.job.internal.JobStatusSerializerTest.testLogWithProviderFieldorg.xwiki.job.internal.JobStatusSerializerTest.testLogWithProviderField | 1PASS | ||
0.5
|
org.xwiki.job.internal.JobStatusSerializerTest.testLogWithComponentManagerFieldorg.xwiki.job.internal.JobStatusSerializerTest.testLogWithComponentManagerField | 1PASS | ||
0.5
|
org.xwiki.job.internal.JobStatusSerializerTest.testorg.xwiki.job.internal.JobStatusSerializerTest.test | 1PASS | ||
0.5
|
org.xwiki.job.internal.DefaultJobStatusStoreTest.removeJobStatusorg.xwiki.job.internal.DefaultJobStatusStoreTest.removeJobStatus | 1PASS | ||
0.5
|
org.xwiki.job.internal.JobStatusSerializerTest.testLogWithComponentFieldorg.xwiki.job.internal.JobStatusSerializerTest.testLogWithComponentField | 1PASS | ||
0.5
|
org.xwiki.job.internal.JobStatusSerializerTest.testLogWithExceptionorg.xwiki.job.internal.JobStatusSerializerTest.testLogWithException | 1PASS | ||
0.5
|
org.xwiki.job.internal.JobStatusSerializerTest.testLogWithSerializableProviderFieldorg.xwiki.job.internal.JobStatusSerializerTest.testLogWithSerializableProviderField | 1PASS | ||
0.5
|
org.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusInWrongPlaceAndWithInvalidLogArgumentorg.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusInWrongPlaceAndWithInvalidLogArgument | 1PASS | ||
0.5
|
org.xwiki.job.internal.JobStatusSerializerTest.testLogMarkerorg.xwiki.job.internal.JobStatusSerializerTest.testLogMarker | 1PASS | ||
0.5
|
org.xwiki.job.internal.JobStatusSerializerTest.testLogWithSerializableImplementationProviderFieldorg.xwiki.job.internal.JobStatusSerializerTest.testLogWithSerializableImplementationProviderField | 1PASS | ||
0.5
|
org.xwiki.job.internal.JobStatusSerializerTest.testLogWithStandaloneComponentFieldorg.xwiki.job.internal.JobStatusSerializerTest.testLogWithStandaloneComponentField | 1PASS | ||
0.5
|
org.xwiki.job.internal.JobStatusSerializerTest.testLogWithCustomObjectArgumentorg.xwiki.job.internal.JobStatusSerializerTest.testLogWithCustomObjectArgument | 1PASS | ||
0.5
|
org.xwiki.job.internal.JobStatusSerializerTest.testLogWithSerializableStandaloneComponentArgumentorg.xwiki.job.internal.JobStatusSerializerTest.testLogWithSerializableStandaloneComponentArgument | 1PASS | ||
0.5
|
org.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusThatDoesNotExistorg.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusThatDoesNotExist | 1PASS | ||
0.5
|
org.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusInOldPlaceorg.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusInOldPlace | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallExtensionOnIncompatibleNamespaceorg.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallExtensionOnIncompatibleNamespace | 1PASS | ||
0.18181819
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplaycom.xpn.xwiki.doc.XWikiDocumentTest.testDisplay | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteOnNamespaceorg.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteOnNamespace | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRoot | 1PASS | ||
0.18181819
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithnumberversioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithnumberversion | 1PASS | ||
0.18181819
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallFromRootorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallFromRoot | 1PASS | ||
0.18181819
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenNotMatchingTitleHeaderDepthcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenNotMatchingTitleHeaderDepth | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeOnDifferentIdorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeOnDifferentId | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithLowerCoreDependencyFeatureorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithLowerCoreDependencyFeature | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithDependencyOnANamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithDependencyOnANamespace | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionOnNamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionOnNamespace | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnRootorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithSimpleRemoteExtensionOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithSimpleRemoteExtensionOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiRequiringPRAfterDropPermissionorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiRequiringPRAfterDropPermission | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallLowerVersionOfDependencyOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallLowerVersionOfDependencyOnRoot | 1PASS | ||
0.18181819
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitleNonUtf8PlatformEncodingcom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitleNonUtf8PlatformEncoding | 1PASS | ||
0.18181819
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentcom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocument | 1PASS | ||
0.18181819
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleNoTitleAndContentcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleNoTitleAndContent | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallAllorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallAll | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallMandatoryorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallMandatory | 1PASS | ||
0.18181819
|
com.xpn.xwiki.internal.template.TemplateManagerTest.testRenderVelocitycom.xpn.xwiki.internal.template.TemplateManagerTest.testRenderVelocity | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithInstalledDependencyOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithInstalledDependencyOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallEntensionAndUninstallDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallEntensionAndUninstallDependency | 1PASS | ||
0.18181819
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportTranslationsOverwritecom.xpn.xwiki.plugin.packaging.ImportTest.testImportTranslationsOverwrite | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallExtensionAndUninstallDependencyOnANamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallExtensionAndUninstallDependencyOnANamespace | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallFromWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallFromWiki | 1PASS | ||
0.18181819
|
com.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationOrderAndIgnorecom.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationOrderAndIgnore | 1PASS | ||
0.18181819
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnRootWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnRootWithoutProgrammingRigths | 1PASS | ||
0.18181819
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020 | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanWithDependencyOnRootorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanWithDependencyOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreExtensionorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreExtension | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallDependencyInstallExtensionOnANamespaceAndUninstallDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallDependencyInstallExtensionOnANamespaceAndUninstallDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnRootorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnRoot | 1PASS | ||
0.18181819
|
com.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairInvalidOnRootorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairInvalidOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceWithoutProgrammingRigths | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithOverwrittenManagedDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithOverwrittenManagedDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testExtensionInstalledOnNamespaceAtInitorg.xwiki.extension.jar.JarExtensionHandlerTest.testExtensionInstalledOnNamespaceAtInit | 1PASS | ||
0.18181819
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleRecursivecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleRecursive | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenMoveDependencyOnRootorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenMoveDependencyOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallRemoteWithMissingDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallRemoteWithMissingDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenOnRootWithLowerDependencyorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenOnRootWithLowerDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallNameSpaceExtensionWithExistingRootExtensionorg.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallNameSpaceExtensionWithExistingRootExtension | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallNameSpaceExtensionWithExistingRootExtensionorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallNameSpaceExtensionWithExistingRootExtension | 1PASS | ||
0.18181819
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportOverwriteDocumentcom.xpn.xwiki.plugin.packaging.ImportTest.testImportOverwriteDocument | 1PASS | ||
0.18181819
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithTitlecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithTitle | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithoutComponentsorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithoutComponents | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithDowngradeOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithDowngradeOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeysorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeys | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWiki | 1PASS | ||
0.18181819
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteOnNamespacesorg.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteOnNamespaces | 1PASS | ||
0.18181819
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContent | 1PASS | ||
0.18181819
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespace | 1PASS | ||
0.18181819
|
com.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationForcecom.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationForce | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallDependencyAllorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallDependencyAll | 1PASS | ||
0.18181819
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespaceorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testUninstallOnNamespace | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallDependencyInstallExtensionOnANamespaceAndUninstallExtensionorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallDependencyInstallExtensionOnANamespaceAndUninstallExtension | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRootorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRoot | 1PASS | ||
0.18181819
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentCleansVelocityMacroCachecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentCleansVelocityMacroCache | 1PASS | ||
0.18181819
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithattachmentwithoutdatecom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithattachmentwithoutdate | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceWithGlobalDependencyAndUninstallDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceWithGlobalDependencyAndUninstallDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallWithBackwarDepencencyorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallWithBackwarDepencency | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanWithDependencyOnNamespaceorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanWithDependencyOnNamespace | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithRemoteDependencyOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithRemoteDependencyOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteWithMissingDependencyorg.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteWithMissingDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreDependencyOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreDependencyOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallOnNamespaceThenUnpgradeOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallOnNamespaceThenUnpgradeOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnRootWithTargetDependencyExtensionorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnRootWithTargetDependencyExtension | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAdminRights | 1PASS | ||
0.18181819
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentXarCreatedByCommonsCompresscom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentXarCreatedByCommonsCompress | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWiki | 1PASS | ||
0.18181819
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectpropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectproperty | 1PASS | ||
0.18181819
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextWithSourceSyntaxcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextWithSourceSyntax | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallTwiceorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallTwice | 1PASS | ||
0.18181819
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootWithoutProgrammingRigths | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallorg.xwiki.extension.job.internal.UninstallJobTest.testUninstall | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnNamespaceWithExtensionOnRootorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnNamespaceWithExtensionOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUnsupportedTypeorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUnsupportedType | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testUpgradeAndDowngradeExtensionOnNamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testUpgradeAndDowngradeExtensionOnNamespace | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootWithoutAdminRights | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithFeatureAsCoreExtensionorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithFeatureAsCoreExtension | 1PASS | ||
0.18181819
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclasspropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclassproperty | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRootorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.security.authorization.internal.AuthorizationManagerTest.testRightOnUserAndDeleteorg.xwiki.security.authorization.internal.AuthorizationManagerTest.testRightOnUserAndDelete | 1PASS | ||
0.18181819
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportExtensioncom.xpn.xwiki.plugin.packaging.ImportTest.testImportExtension | 1PASS | ||
0.18181819
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitlePLAINcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitlePLAIN | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceWithGlobalDependencyAndUninstallorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceWithGlobalDependencyAndUninstall | 1PASS | ||
0.18181819
|
org.xwiki.rendering.test.integration.RenderingTest.executeorg.xwiki.rendering.test.integration.RenderingTest.execute | 1PASS | ||
0.18181819
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceWithoutProgrammingRigthsorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testInstallOnNamespaceWithoutProgrammingRigths | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallNameSpaceExtensionWithIncompatibleRootDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallNameSpaceExtensionWithIncompatibleRootDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromNamespaceWithBackwarDepencencyorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromNamespaceWithBackwarDepencency | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnUnsupportedNamespaceorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnUnsupportedNamespace | 1PASS | ||
0.18181819
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentWithSourceSyntaxcom.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentWithSourceSyntax | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiAndRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiAndRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnWiki | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeFeatureWithDifferentVersionorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeFeatureWithDifferentVersion | 1PASS | ||
0.18181819
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentRightscom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentRights | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnWikiorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnWiki | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithManagedDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithManagedDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnWikiWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnWikiWithoutAdminRights | 1PASS | ||
0.18181819
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testCurrentDocumentVariableIsInjectedBeforeRenderingcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testCurrentDocumentVariableIsInjectedBeforeRendering | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testReplaceDependencyWithFeatureorg.xwiki.extension.job.internal.InstallJobTest.testReplaceDependencyWithFeature | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootAndWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootAndWiki | 1PASS | ||
0.18181819
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentcom.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContent | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromNamespaceorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromNamespace | 1PASS | ||
0.18181819
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextRightscom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextRights | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testUpgradeFirstOnRootorg.xwiki.extension.job.internal.InstallJobTest.testUpgradeFirstOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnRootWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnRootWithoutAdminRights | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testExtensionInstalledOnRootAtInitorg.xwiki.extension.jar.JarExtensionHandlerTest.testExtensionInstalledOnRootAtInit | 1PASS | ||
0.18181819
|
com.xpn.xwiki.internal.template.TemplateManagerTest.testRenderClassloaderTemplatecom.xpn.xwiki.internal.template.TemplateManagerTest.testRenderClassloaderTemplate | 1PASS | ||
0.18181819
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenMatchingTitleHeaderDepthcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenMatchingTitleHeaderDepth | 1PASS | ||
0.18181819
|
com.xpn.xwiki.internal.template.TemplateManagerTest.testRenderWikicom.xpn.xwiki.internal.template.TemplateManagerTest.testRenderWiki | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtension | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAuthororg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAuthor | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithFeatureAsCoreExtensionFeatureorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithFeatureAsCoreExtensionFeature | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.handler.WikiCopiedEventListenerTest.testCopyOneExtensionorg.xwiki.extension.xar.internal.handler.WikiCopiedEventListenerTest.testCopyOneExtension | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallWebjarExtensionorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallWebjarExtension | 1PASS | ||
0.18181819
|
org.xwiki.extension.script.ExtensionManagerScriptServiceTest.testOverwriteAllowedNamespacesorg.xwiki.extension.script.ExtensionManagerScriptServiceTest.testOverwriteAllowedNamespaces | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testReInstalledWithMissingDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testReInstalledWithMissingDependency | 1PASS | ||
0.18181819
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiMacroBindingorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiMacroBinding | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testDowngradeFirstOnRootorg.xwiki.extension.job.internal.InstallJobTest.testDowngradeFirstOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromAllNamespacesorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromAllNamespaces | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallNameSpaceExtensionWithDependencyAllowedOnRootOnlyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallNameSpaceExtensionWithDependencyAllowedOnRootOnly | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreExtensionFeatureorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreExtensionFeature | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithManagedTransitiveDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithManagedTransitiveDependency | 1PASS | ||
0.18181819
|
com.xpn.xwiki.doc.XWikiDocumentTest.testRenamecom.xpn.xwiki.doc.XWikiDocumentTest.testRename | 1PASS | ||
0.18181819
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTMLcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTML | 1PASS | ||
0.18181819
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20 | 1PASS | ||
0.18181819
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevisioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevision | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWiki | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnRootorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenUpgradeOnRootorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenUpgradeOnRoot | 1PASS | ||
0.18181819
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithoutauthorandcreatorcom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithoutauthorandcreator | 1PASS | ||
0.18181819
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacroorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacro | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testUninstallInvalidExtensionFromNamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testUninstallInvalidExtensionFromNamespace | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithHigherCoreDependencyFeatureorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithHigherCoreDependencyFeature | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testDowngradeOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testDowngradeOnWiki | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstall | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testUninstallInvalidExtensionFromRootorg.xwiki.extension.jar.JarExtensionHandlerTest.testUninstallInvalidExtensionFromRoot | 1PASS | ||
0.18181819
|
com.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitlecom.xpn.xwiki.plugin.packaging.ImportTest.testImportDocumentNonAsciiTitle | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testUpgradeExtensionOnNamespaceWithDependencyAllowedOnRootOnlyorg.xwiki.extension.job.internal.InstallPlanJobTest.testUpgradeExtensionOnNamespaceWithDependencyAllowedOnRootOnly | 1PASS | ||
0.18181819
|
com.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationWhenNoVersioncom.xpn.xwiki.store.migration.XWikiMigrationManagerTest.testMigrationWhenNoVersion | 1PASS | ||
0.09090909
|
org.xwiki.job.internal.xstream.SafeXStreamTest.testNotSerializableFieldorg.xwiki.job.internal.xstream.SafeXStreamTest.testNotSerializableField | 1PASS | ||
0.09090909
|
org.xwiki.job.internal.xstream.SafeXStreamTest.testFailToSerializeFieldorg.xwiki.job.internal.xstream.SafeXStreamTest.testFailToSerializeField | 1PASS | ||
0.09090909
|
org.xwiki.job.internal.xstream.SafeXStreamTest.testArrayWithReferenceorg.xwiki.job.internal.xstream.SafeXStreamTest.testArrayWithReference | 1PASS | ||
0.09090909
|
org.xwiki.job.internal.xstream.SafeXStreamTest.testFailToSerializeObjectorg.xwiki.job.internal.xstream.SafeXStreamTest.testFailToSerializeObject | 1PASS | ||
0.09090909
|
org.xwiki.job.internal.xstream.SafeXStreamTest.testRecursiveObjectorg.xwiki.job.internal.xstream.SafeXStreamTest.testRecursiveObject | 1PASS | ||
0.09090909
|
org.xwiki.job.internal.xstream.SafeXStreamTest.testNotSerializableObjectorg.xwiki.job.internal.xstream.SafeXStreamTest.testNotSerializableObject | 1PASS | ||
0.09090909
|
org.xwiki.job.internal.xstream.SafeXStreamTest.testRecursiveObjectThroughArrayorg.xwiki.job.internal.xstream.SafeXStreamTest.testRecursiveObjectThroughArray | 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.job.internal.xstream; | ||||||
21 | |||||||
22 | import org.slf4j.Logger; | ||||||
23 | import org.slf4j.LoggerFactory; | ||||||
24 | |||||||
25 | import com.thoughtworks.xstream.converters.MarshallingContext; | ||||||
26 | import com.thoughtworks.xstream.converters.UnmarshallingContext; | ||||||
27 | import com.thoughtworks.xstream.converters.collections.ArrayConverter; | ||||||
28 | import com.thoughtworks.xstream.io.HierarchicalStreamReader; | ||||||
29 | import com.thoughtworks.xstream.io.HierarchicalStreamWriter; | ||||||
30 | |||||||
31 | /** | ||||||
32 | * A {@link ArrayConverter} which never fail whatever value is provided. | ||||||
33 | * | ||||||
34 | * @version $Id: 348ca4681d132ef847eb6e3d061e14e7dedf7838 $ | ||||||
35 | * @since 4.3M1 | ||||||
36 | */ | ||||||
|
|||||||
37 | public class SafeArrayConverter extends ArrayConverter | ||||||
38 | { | ||||||
39 | /** | ||||||
40 | * The logger. | ||||||
41 | */ | ||||||
42 | private static final Logger LOGGER = LoggerFactory.getLogger(SafeArrayConverter.class); | ||||||
43 | |||||||
44 | /** | ||||||
45 | * @param xstream the {@link com.thoughtworks.xstream.XStream} instance to use to isolate array element marshaling | ||||||
46 | */ | ||||||
|
|||||||
47 | 1389 | public SafeArrayConverter(SafeXStream xstream)... | |||||
48 | { | ||||||
49 | 1389 | super(xstream.getMapper()); | |||||
50 | } | ||||||
51 | |||||||
|
|||||||
52 | 1763 | @Override... | |||||
53 | public boolean canConvert(Class type) | ||||||
54 | { | ||||||
55 | 1763 | return type == Object[].class; | |||||
56 | } | ||||||
57 | |||||||
|
|||||||
58 | 178 | @Override... | |||||
59 | protected Object readItem(HierarchicalStreamReader reader, UnmarshallingContext context, Object current) | ||||||
60 | { | ||||||
61 | 178 | Object value; | |||||
62 | 178 | try { | |||||
63 | 178 | value = super.readItem(reader, context, current); | |||||
64 | } catch (Throwable e) { | ||||||
65 | 8 | LOGGER.debug("Failed to read field", e); | |||||
66 | |||||||
67 | 8 | value = null; | |||||
68 | } | ||||||
69 | |||||||
70 | 178 | return value; | |||||
71 | } | ||||||
72 | |||||||
|
|||||||
73 | 1862 | @Override... | |||||
74 | protected void writeItem(Object item, MarshallingContext context, HierarchicalStreamWriter writer) | ||||||
75 | { | ||||||
76 | 1862 | if (XStreamUtils.isSerializable(item)) { | |||||
77 | 1860 | super.writeItem(item, context, writer); | |||||
78 | } else { | ||||||
79 | 2 | String str; | |||||
80 | 2 | try { | |||||
81 | 2 | str = item.toString(); | |||||
82 | } catch (Throwable e) { | ||||||
83 | 1 | LOGGER.debug("Failed to convert item [{}] to String", | |||||
84 | item.getClass().getName() + "@" + Integer.toHexString(System.identityHashCode(item)), e); | ||||||
85 | |||||||
86 | 1 | str = null; | |||||
87 | } | ||||||
88 | |||||||
89 | 2 | super.writeItem(str, context, writer); | |||||
90 | } | ||||||
91 | } | ||||||
92 | } |