Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
72 20 0 0 72.222% 1.099

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.mycore.frontend.xeditor.tracker 13 0 0 0 100% 0.317
org.mycore.frontend.xeditor.validation 7 7 0 0 0% 0.075
org.mycore.frontend.xeditor.target 6 0 0 0 100% 0.053
org.mycore.frontend.xeditor 46 13 0 0 71.739% 0.654

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.mycore.frontend.xeditor.tracker

Class Tests Errors Failures Skipped Success Rate Time
MCRChangeTrackerTest 13 0 0 0 100% 0.317

org.mycore.frontend.xeditor.validation

Class Tests Errors Failures Skipped Success Rate Time
MCRXEditorValidatorTest 7 7 0 0 0% 0.075

org.mycore.frontend.xeditor.target

Class Tests Errors Failures Skipped Success Rate Time
MCRSwapInsertTargetTest 6 0 0 0 100% 0.053

org.mycore.frontend.xeditor

Class Tests Errors Failures Skipped Success Rate Time
MCRRepeatBindingTest 1 0 0 0 100% 0.008
MCREditorSubmissionTest 3 3 0 0 0% 0.011
MCRXPathBuilderTest 2 0 0 0 100% 0.009
MCRXMLCleanerTest 5 0 0 0 100% 0.07
MCRBindingTest 6 0 0 0 100% 0.038
MCRXEditorTransformerTest 10 10 0 0 0% 0.04
MCRXPathEvaluatorTest 4 0 0 0 100% 0.052
MCRNodeBuilderTest 15 0 0 0 100% 0.426

Test Cases

[Summary] [Package List] [Test Cases]

MCRRepeatBindingTest

testRepeatBindingWithComplexPredicate 0.008

MCREditorSubmissionTest

testSubmitTextfields 0.003
Could not initialize class org.mycore.frontend.MCRFrontendUtil
testSubmitSelectOptions 0.004
Could not initialize class org.mycore.frontend.MCRFrontendUtil
testSubmitCheckbox 0.004
Could not initialize class org.mycore.frontend.MCRFrontendUtil

MCRXPathBuilderTest

testXPath 0.005
testMODS 0.004

MCRXMLCleanerTest

testRemoveEmptyNodes 0.027
testUnmodified 0.017
testOverwriteDefaultRules 0.014
testPreserveStructureAndService 0.006
testRootAlwaysRemains 0.006

MCRBindingTest

testDefiningVariables 0.005
testGroupByReferencedID 0.013
testHasValue 0.004
testSimpleBindings 0.005
testCollectorVariables 0.004
testComplexBindings 0.007

MCRXEditorValidatorTest

testGlobalRules 0.055
testNoValidationRules 0.001
Could not initialize class org.mycore.frontend.MCRFrontendUtil
testXPathTestRule 0.002
Could not initialize class org.mycore.frontend.MCRFrontendUtil
testRequiredRule 0.004
Could not initialize class org.mycore.frontend.MCRFrontendUtil
testLegacyRule 0.004
Could not initialize class org.mycore.frontend.MCRFrontendUtil
testMatchesRule 0.005
Could not initialize class org.mycore.frontend.MCRFrontendUtil
testInvalidation 0.004
Could not initialize class org.mycore.frontend.MCRFrontendUtil

MCRXEditorTransformerTest

testConditions 0
Could not initialize class org.mycore.frontend.MCRFrontendUtil
testI18N 0.008
Could not initialize class org.mycore.frontend.MCRFrontendUtil
testValidation 0.004
Could not initialize class org.mycore.frontend.MCRFrontendUtil
testNamespaces 0.004
Could not initialize class org.mycore.frontend.MCRFrontendUtil
testDefaultValue 0.004
Could not initialize class org.mycore.frontend.MCRFrontendUtil
testRepeats 0.004
Could not initialize class org.mycore.frontend.MCRFrontendUtil
testIncludes 0.004
Could not initialize class org.mycore.frontend.MCRFrontendUtil
testBasicInputComponents 0.004
Could not initialize class org.mycore.frontend.MCRFrontendUtil
testLoadResources 0.004
Could not initialize class org.mycore.frontend.MCRFrontendUtil
testXPathSubstitution 0.004
Could not initialize class org.mycore.frontend.MCRFrontendUtil

MCRSwapInsertTargetTest

testCloneInsertParam 0.011
testSwap 0.006
testCloneInsert 0.009
testBuildInsertParam 0.01
testBuildInsert 0.01
testSwapParameter 0.007

MCRChangeTrackerTest

testEscaping 0.119
testSetAttributeValue 0.007
testNamespaces 0.013
testAddElement 0.005
testRemoveChangeTracking 0.008
testBreakpoint 0.008
testCompleteUndo 0.118
testNestedChanges 0.008
testAddAttribute 0.006
testSetElementText 0.006
testRemoveElement 0.007
testSwapElements 0.007
testRemoveAttribute 0.005

MCRXPathEvaluatorTest

testExternalJavaTest 0.025
testGenerateID 0.01
testJavaCall 0.009
testEvaluator 0.008

MCRNodeBuilderTest

testExpressionsToIgnore 0.304
testNestedPredicates 0.015
testMultiplePredicates 0.009
testNamespaces 0.014
testBuildingRootComponents 0.011
testBuildingValues 0.01
testBuildingAttributes 0.006
testAlreadyExisting 0.013
testAssigningValueToLastGenreatedNode 0.005
testFirstNodeBuilt 0.007
testBuildingElements 0.005
testSimplePredicates 0.007
testBuildingTrees 0.005
testBuildingNodeName 0.005
testPredicatesWithValues 0.01

Failure Details

[Summary] [Package List] [Test Cases]


testSubmitTextfields
java.lang.NoClassDefFoundError: Could not initialize class org.mycore.frontend.MCRFrontendUtil
testSubmitSelectOptions
java.lang.NoClassDefFoundError: Could not initialize class org.mycore.frontend.MCRFrontendUtil
testSubmitCheckbox
java.lang.NoClassDefFoundError: Could not initialize class org.mycore.frontend.MCRFrontendUtil
testGlobalRules
java.lang.ExceptionInInitializerError:
testNoValidationRules
java.lang.NoClassDefFoundError: Could not initialize class org.mycore.frontend.MCRFrontendUtil
testXPathTestRule
java.lang.NoClassDefFoundError: Could not initialize class org.mycore.frontend.MCRFrontendUtil
testRequiredRule
java.lang.NoClassDefFoundError: Could not initialize class org.mycore.frontend.MCRFrontendUtil
testLegacyRule
java.lang.NoClassDefFoundError: Could not initialize class org.mycore.frontend.MCRFrontendUtil
testMatchesRule
java.lang.NoClassDefFoundError: Could not initialize class org.mycore.frontend.MCRFrontendUtil
testInvalidation
java.lang.NoClassDefFoundError: Could not initialize class org.mycore.frontend.MCRFrontendUtil
testConditions
java.lang.NoClassDefFoundError: Could not initialize class org.mycore.frontend.MCRFrontendUtil
testI18N
java.lang.NoClassDefFoundError: Could not initialize class org.mycore.frontend.MCRFrontendUtil
testValidation
java.lang.NoClassDefFoundError: Could not initialize class org.mycore.frontend.MCRFrontendUtil
testNamespaces
java.lang.NoClassDefFoundError: Could not initialize class org.mycore.frontend.MCRFrontendUtil
testDefaultValue
java.lang.NoClassDefFoundError: Could not initialize class org.mycore.frontend.MCRFrontendUtil
testRepeats
java.lang.NoClassDefFoundError: Could not initialize class org.mycore.frontend.MCRFrontendUtil
testIncludes
java.lang.NoClassDefFoundError: Could not initialize class org.mycore.frontend.MCRFrontendUtil
testBasicInputComponents
java.lang.NoClassDefFoundError: Could not initialize class org.mycore.frontend.MCRFrontendUtil
testLoadResources
java.lang.NoClassDefFoundError: Could not initialize class org.mycore.frontend.MCRFrontendUtil
testXPathSubstitution
java.lang.NoClassDefFoundError: Could not initialize class org.mycore.frontend.MCRFrontendUtil