Apache Commons logo Commons SCXML

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
236 0 0 0 100% 2.548

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.apache.commons.scxml2.io 29 0 0 0 100% 0.134
org.apache.commons.scxml2.env.jexl 8 0 0 0 100% 0.008
org.apache.commons.scxml2.env 21 0 0 0 100% 0.005
org.apache.commons.scxml2.invoke 6 0 0 0 100% 0.027
org.apache.commons.scxml2.env.groovy 13 0 0 0 100% 0.215
org.apache.commons.scxml2.semantics 4 0 0 0 100% 0
org.apache.commons.scxml2.issues 6 0 0 0 100% 0.024
org.apache.commons.scxml2.model 61 0 0 0 100% 0.771
org.apache.commons.scxml2.env.javascript 28 0 0 0 100% 0.122
org.apache.commons.scxml2 59 0 0 0 100% 1.233
org.apache.commons.scxml2.env.xpath 1 0 0 0 100% 0.009

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

org.apache.commons.scxml2.io

Class Tests Errors Failures Skipped Success Rate Time
SCXMLRequiredAttributesTest 13 0 0 0 100% 0.018
StateSrcTest 3 0 0 0 100% 0.006
SCXMLReaderTest 9 0 0 0 100% 0.108
SCXMLWriterTest 4 0 0 0 100% 0.002

org.apache.commons.scxml2.env.jexl

Class Tests Errors Failures Skipped Success Rate Time
JexlEvaluatorTest 3 0 0 0 100% 0.001
ForeachTest 1 0 0 0 100% 0.005
JexlContextTest 3 0 0 0 100% 0
StaticMethodTest 1 0 0 0 100% 0.002

org.apache.commons.scxml2.env

Class Tests Errors Failures Skipped Success Rate Time
AbstractSCXMLListenerTest 4 0 0 0 100% 0.001
LogUtilsTest 3 0 0 0 100% 0
StopWatchTest 1 0 0 0 100% 0.002
SimpleContextTest 12 0 0 0 100% 0
AbstractStateMachineTest 1 0 0 0 100% 0.002

org.apache.commons.scxml2.invoke

Class Tests Errors Failures Skipped Success Rate Time
InvokeTest 3 0 0 0 100% 0.007
InvokeParamNameTest 3 0 0 0 100% 0.02

org.apache.commons.scxml2.env.groovy

Class Tests Errors Failures Skipped Success Rate Time
StaticMethodTest 2 0 0 0 100% 0.019
GroovyContextTest 3 0 0 0 100% 0
GroovyEvaluatorTest 6 0 0 0 100% 0.041
SerializableInitialBaseScriptTest 1 0 0 0 100% 0.079
GroovyClosureTest 1 0 0 0 100% 0.076

org.apache.commons.scxml2.semantics

Class Tests Errors Failures Skipped Success Rate Time
SCXMLSemanticsImplTest 4 0 0 0 100% 0

org.apache.commons.scxml2.issues

Class Tests Errors Failures Skipped Success Rate Time
Issue62Test 3 0 0 0 100% 0.012
Issue64Test 2 0 0 0 100% 0.008
Issue112Test 1 0 0 0 100% 0.004

org.apache.commons.scxml2.model

Class Tests Errors Failures Skipped Success Rate Time
StatelessModelTest 3 0 0 0 100% 0.073
ActionsTest 3 0 0 0 100% 0.037
TransitionTargetTest 4 0 0 0 100% 0
TransitionTest 1 0 0 0 100% 0
StateTest 15 0 0 0 100% 0.01
ActionTest 4 0 0 0 100% 0
ScriptTest 2 0 0 0 100% 0.184
ScxmlInitialAttributeTest 3 0 0 0 100% 0.007
DatamodelTest 4 0 0 0 100% 0.164
HistoryTest 6 0 0 0 100% 0.167
CustomActionTest 11 0 0 0 100% 0.021
ParallelTest 3 0 0 0 100% 0.052
AssignTest 2 0 0 0 100% 0.056

org.apache.commons.scxml2.env.javascript

Class Tests Errors Failures Skipped Success Rate Time
JSBindingsTest 15 0 0 0 100% 0.002
JSContextTest 2 0 0 0 100% 0
JSExampleTest 1 0 0 0 100% 0.074
JSEvaluatorTest 10 0 0 0 100% 0.046

org.apache.commons.scxml2

Class Tests Errors Failures Skipped Success Rate Time
StatusTest 5 0 0 0 100% 0.001
TriggerEventTest 4 0 0 0 100% 0
SCInstanceTest 11 0 0 0 100% 0
EventDataTest 4 0 0 0 100% 0.221
TieBreakerTest 6 0 0 0 100% 0.016
WildcardTest 2 0 0 0 100% 0.009
SCXMLExecutorTest 21 0 0 0 100% 0.914
NamespacePrefixedXPathsTest 1 0 0 0 100% 0.039
BuiltinTest 3 0 0 0 100% 0
WizardsTest 2 0 0 0 100% 0.033

org.apache.commons.scxml2.env.xpath

Class Tests Errors Failures Skipped Success Rate Time
XPathExampleTest 1 0 0 0 100% 0.009

Test Cases

[Summary] [Package List] [Test Cases]

StatusTest

testIsFinalStateHasParent 0
testIsFinalStateFalse 0
testGetAllStatesContainsParent 0
testGetAllStatesEmptyStatus 0
testIsFinalState 0.001

JexlEvaluatorTest

testErrorMessage 0
testPristine 0
testScript 0.001

StatelessModelTest

testStatelessModelParallelSharedSCXML 0.026
testStatelessModelSimultaneousJexl 0.024
testStatelessModelSequentialJexl 0.023

StaticMethodTest

testGroovyStaticMethodInvocation 0.019
mytest 0

AbstractSCXMLListenerTest

testAbstractSCXMLListener0 0
testAbstractSCXMLListener1 0
testAbstractSCXMLListener2 0.001
testAbstractSCXMLListener3 0

ActionsTest

testInitialActions 0.014
testStateActions 0.009
testParallelActions 0.014

JSBindingsTest

testInvalidBindingsConstructor 0
testInvalidContextConstructor 0
testGet 0
testPut 0
testEntrySet 0
testClear 0
testSize 0.001
testContainsKey 0
testContainsValue 0
testKeySet 0
testPutAll 0
testIsEmpty 0
testRemove 0
testValues 0.001
testConstructor 0

ForeachTest

testForeach 0.005

TriggerEventTest

testTriggerEventHashCode 0
testTriggerEventGetters 0
testTriggerEventEquals 0
testTriggerEventToString 0

XPathExampleTest

testExample02Sample 0.009

JexlContextTest

testNew 0
testPrepopulated 0
testSetVars 0

SCInstanceTest

testGetLastConfigurationNull 0
testGetRootContextNull 0
testReset 0
testGetRootContext 0
testGetLastConfiguration 0
testGetContextNullParent 0
testGetRootContextEvaluator 0
testGetContext 0
testIsEmpty 0
testGetContextParent 0
testIsEmptyFalse 0

JSContextTest

testChildConstructor 0
testDefaultConstructor 0

Issue62Test

test03issue62 0.005
test01issue62 0.003
test02issue62 0.004

TransitionTargetTest

testIsDescendantNotEqual 0
testIsDescendantNullParent 0
testIsDescendantParentEqual 0
testIsDescendantEqual 0

TransitionTest

testGetTargets 0

InvokeTest

testInvoke01Sample 0.003
testInvoke02Sample 0.002
testInvoke03Sample 0.002

StateTest

testHasHistory 0
testIsCompositeParallel 0.001
testInitialAttribute 0.004
testHasHistoryEmpty 0
testGetTransitionList 0
testIsCompositeHasChildren 0
testGetTransitionsList 0
testIsRegion 0.001
testIsSimpleHasChildren 0
testIsSimple 0
testGetTransitionsListNull 0.001
testAddTransitionDoesNotContainKey 0
testIsRegionNotParallel 0.001
testIsCompositeFalse 0
testAddTransitionContainKey 0.002

EventDataTest

testEventdata02Sample 0.004
testEventdata03Sample 0.006
testEventdata04Sample 0.206
testEventdata01Sample 0.005

LogUtilsTest

testTransToString 0
testGetTTPathParentNull 0
testGetTTPathParent 0

SCXMLSemanticsImplTest

testIsLegalConfigNoStates 0
testIsLegalConfigMultipleTopLevel 0
testIsLegalConfigInvalidParallel 0
testIsLegalConfigMultipleStatesActive 0

InvokeParamNameTest

testNameAndExpr 0.006
testWrongNameLocation 0.008
testSoleNameLocation 0.006

GroovyContextTest

testNew 0
testPrepopulated 0
testSetVars 0

SCXMLRequiredAttributesTest

testSCXMLMissingElseIfCond 0
testSCXMLWithForEach 0.004
testSCXMLMissingParamName 0.001
testSCXMLMissingForeachArray 0
testValidSCXML 0.003
testSCXMLParamWithName 0.003
testSCXMLMissingAssignLocation 0.001
testSCXMLMissingVersion 0
testSCXMLWithAssignWithoutLocation 0.004
testSCXMLMissingForeachItem 0
testSCXMLMissingDataId 0.001
testSCXMLMissingIfCond 0
testSCXMLInvalidVersion 0.001

JSExampleTest

testExample01Sample 0.074

StateSrcTest

testBadSrcFragmentInclude 0.001
testRecursiveSrcInclude 0.004
testBadSrcInclude 0.001

ActionTest

testGetParentStateIsHistory 0
testGetParentStateIsInitial 0
testGetParentStateIsParallel 0
testGetParentStateIsState 0

TieBreakerTest

testTieBreaker01 0.002
testTieBreaker02 0.003
testTieBreaker03 0.002
testTieBreaker04 0.002
testTieBreaker05 0.004
testTieBreaker06 0.003

GroovyEvaluatorTest

testErrorMessage 0.002
testEval 0.008
testBuiltInFunctions 0.007
testPreprocessScript 0
testPristine 0.008
testScript 0.016

SCXMLReaderTest

testSCXMLReaderSend01Sample 0.005
testSCXMLReaderGroovyClosure 0.044
testSCXMLReaderInitialAttr 0.005
testSCXMLReaderTransitions01Sample 0.019
testSCXMLReaderPrefix01Sample 0.004
testSCXMLReaderMicrowave03Sample 0.008
testSCXMLReaderWithInvalidElements 0.01
testSCXMLReaderMicrowave04Sample 0.01
testSCXMLReaderCustomActionWithBodyTextSample 0.003

WildcardTest

testWildcard01Sample 0.007
testWildcard02Sample 0.002

ScriptTest

testJavaScriptExecution 0.132
testJexlScriptExecution 0.052

SerializableInitialBaseScriptTest

testSerializableInitialBaseScriptSample 0.079

SCXMLWriterTest

testSerializeSCXMLState 0
testSerializeSCXMLNoStates 0.001
testSerializeParallel 0
testSerializeGlobalScript 0.001

StaticMethodTest

testJexlStaticMethodInvocation 0.002

Issue64Test

test01issue64 0.003
test02issue64 0.005

ScxmlInitialAttributeTest

testNoInitial 0.002
testIllegalInitial 0.002
testInitial 0.003

DatamodelTest

testDatamodel05Jexl 0.023
testDatamodelSimultaneousJexl 0.087
testDatamodelNamespacePrefixedXPaths 0.045
testDatamodel04Jexl 0.009

StopWatchTest

testStopWatch 0.002

HistoryTest

testSetTypeNotDeep 0
testShallowHistory01 0.068
testDeepHistory01 0.076
testSetTypeDeep 0.001
testHistoryParallel01 0.014
testHistoryDefaults01 0.008

CustomActionTest

testAddBadCustomAction01 0.001
testAddBadCustomAction02 0
testAddBadCustomAction03 0
testAddBadCustomAction04 0.001
testAddBadCustomAction05 0
testCustomActionOverrideLocalName 0.003
testAddGoodCustomAction01 0
testCustomActionEventPayloadHelloWorldJexl 0.008
testCustomActionExternalSrcHelloWorld 0.003
testCustomActionHelloWorld 0.002
testHelloWorld 0.003

JSEvaluatorTest

testDataModelExpressions 0.004
testInvalidDataModelLocations 0.004
testDataModelLocations 0.007
testBasic 0.004
testInvalidVarExpressions 0.006
testIllegalExpresssion 0.003
testStandardExpressions 0.008
testVarExpressions 0.004
testInvalidDataModelExpressions 0.003
testScriptFunctions 0.003

SCXMLExecutorTest

testSend01Sample 0.005
testSCXMLExecutorMicrowave03JexlSample 0.006
testSCXMLExecutorTransitions04Sample 0.006
testSCXMLExecutorMicrowave05grvSample 0.433
testSCXMLExecutorMicrowave04grvSample 0.088
testSCXMLExecutorMicrowave03grvSample 0.103
testSCXMLExecutorMicrowave05JexlSample 0.011
testSCXMLExecutorMicrowave02grvSample 0.088
testSCXMLExecutorTransitionsWithCond01Sample 0.008
testSend02TypeSCXMLSample 0.014
testSCXMLExecutorMicrowave01grvSample 0.101
testSCXMLExecutorTransitions05Sample 0.005
testSCXMLExecutorMicrowave02JexlSample 0.006
testSCXMLExecutorTransitions01Sample 0.007
testSCXMLExecutorTransitions06Sample 0.004
testSCXMLExecutorSystemEventVariable 0.003
testSCXMLExecutorPrefix01Sample 0.002
testSCXMLExecutorMicrowave04JexlSample 0.006
testSCXMLExecutorTransitions02Sample 0.007
testSCXMLExecutorMicrowave01JexlSample 0.006
testSCXMLExecutorTransitions03Sample 0.005

NamespacePrefixedXPathsTest

testNamespacePrefixedXPathsJexl 0.039

ParallelTest

testParallel01 0.007
testParallel02 0.005
testParallel03 0.04

BuiltinTest

testIsMemberEmptySet 0
testIsMemberFalse 0
testIsMemberTrue 0

AssignTest

testAssignDeep 0.032
testAssignSrc 0.024

SimpleContextTest

testHasParentCorrectKey 0
testGetValue 0
testSetVarsEmpty 0
testGetParentValue 0
testGetNull 0
testSetVarsParent 0
testGetParentWrongValue 0
testHasParentWrongKey 0
testHasNullParent 0
testHasTrue 0
testGetParentNull 0
testSetVarsChangeValue 0

AbstractStateMachineTest

testMoreThanOneScxmlDocument 0.002

GroovyClosureTest

testGroovyClosure 0.076

Issue112Test

test01issue112 0.004

WizardsTest

testWizard02Sample 0.017
testWizard01Sample 0.016