Apache Commons logo Commons SCXML

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
237 0 0 0 100% 2.455

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.136
org.apache.commons.scxml2.env.jexl 8 0 0 0 100% 0.01
org.apache.commons.scxml2.env 21 0 0 0 100% 0.011
org.apache.commons.scxml2.invoke 6 0 0 0 100% 0.028
org.apache.commons.scxml2.env.groovy 13 0 0 0 100% 0.249
org.apache.commons.scxml2.semantics 4 0 0 0 100% 0
org.apache.commons.scxml2.issues 6 0 0 0 100% 0.029
org.apache.commons.scxml2.model 61 0 0 0 100% 0.7
org.apache.commons.scxml2.env.javascript 28 0 0 0 100% 0.143
org.apache.commons.scxml2 60 0 0 0 100% 1.139
org.apache.commons.scxml2.env.xpath 1 0 0 0 100% 0.01

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.007
SCXMLReaderTest 9 0 0 0 100% 0.11
SCXMLWriterTest 4 0 0 0 100% 0.001

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.006
JexlContextTest 3 0 0 0 100% 0
StaticMethodTest 1 0 0 0 100% 0.003

org.apache.commons.scxml2.env

Class Tests Errors Failures Skipped Success Rate Time
AbstractSCXMLListenerTest 4 0 0 0 100% 0.002
LogUtilsTest 3 0 0 0 100% 0
StopWatchTest 1 0 0 0 100% 0.006
SimpleContextTest 12 0 0 0 100% 0.001
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.006
InvokeParamNameTest 3 0 0 0 100% 0.022

org.apache.commons.scxml2.env.groovy

Class Tests Errors Failures Skipped Success Rate Time
StaticMethodTest 2 0 0 0 100% 0.02
GroovyContextTest 3 0 0 0 100% 0
GroovyEvaluatorTest 6 0 0 0 100% 0.048
SerializableInitialBaseScriptTest 1 0 0 0 100% 0.091
GroovyClosureTest 1 0 0 0 100% 0.09

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.015
Issue64Test 2 0 0 0 100% 0.009
Issue112Test 1 0 0 0 100% 0.005

org.apache.commons.scxml2.model

Class Tests Errors Failures Skipped Success Rate Time
StatelessModelTest 3 0 0 0 100% 0.071
ActionsTest 3 0 0 0 100% 0.026
TransitionTargetTest 4 0 0 0 100% 0
TransitionTest 1 0 0 0 100% 0
StateTest 15 0 0 0 100% 0.006
ActionTest 4 0 0 0 100% 0
ScriptTest 2 0 0 0 100% 0.183
ScxmlInitialAttributeTest 3 0 0 0 100% 0.006
DatamodelTest 4 0 0 0 100% 0.126
HistoryTest 6 0 0 0 100% 0.149
CustomActionTest 11 0 0 0 100% 0.021
ParallelTest 3 0 0 0 100% 0.054
AssignTest 2 0 0 0 100% 0.058

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.079
JSEvaluatorTest 10 0 0 0 100% 0.062

org.apache.commons.scxml2

Class Tests Errors Failures Skipped Success Rate Time
StatusTest 5 0 0 0 100% 0
TriggerEventTest 4 0 0 0 100% 0
SCInstanceTest 11 0 0 0 100% 0.001
EventDataTest 4 0 0 0 100% 0.222
TieBreakerTest 6 0 0 0 100% 0.021
W3CTest 1 0 0 0 100% 0.011
WildcardTest 2 0 0 0 100% 0.008
SCXMLExecutorTest 21 0 0 0 100% 0.794
NamespacePrefixedXPathsTest 1 0 0 0 100% 0.057
BuiltinTest 3 0 0 0 100% 0
WizardsTest 2 0 0 0 100% 0.025

org.apache.commons.scxml2.env.xpath

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

Test Cases

[Summary] [Package List] [Test Cases]

StatusTest

testIsFinalStateHasParent 0
testIsFinalStateFalse 0
testGetAllStatesContainsParent 0
testGetAllStatesEmptyStatus 0
testIsFinalState 0

JexlEvaluatorTest

testErrorMessage 0
testPristine 0.001
testScript 0

StatelessModelTest

testStatelessModelParallelSharedSCXML 0.025
testStatelessModelSimultaneousJexl 0.022
testStatelessModelSequentialJexl 0.024

StaticMethodTest

testGroovyStaticMethodInvocation 0.02
mytest 0

AbstractSCXMLListenerTest

testAbstractSCXMLListener0 0.001
testAbstractSCXMLListener1 0
testAbstractSCXMLListener2 0.001
testAbstractSCXMLListener3 0

ActionsTest

testInitialActions 0.008
testStateActions 0.009
testParallelActions 0.009

JSBindingsTest

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

ForeachTest

testForeach 0.006

TriggerEventTest

testTriggerEventHashCode 0
testTriggerEventGetters 0
testTriggerEventEquals 0
testTriggerEventToString 0

XPathExampleTest

testExample02Sample 0.01

JexlContextTest

testNew 0
testPrepopulated 0
testSetVars 0

SCInstanceTest

testGetLastConfigurationNull 0
testGetRootContextNull 0
testReset 0.001
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.005
test02issue62 0.005

TransitionTargetTest

testIsDescendantNotEqual 0
testIsDescendantNullParent 0
testIsDescendantParentEqual 0
testIsDescendantEqual 0

TransitionTest

testGetTargets 0

InvokeTest

testInvoke01Sample 0.002
testInvoke02Sample 0.002
testInvoke03Sample 0.002

StateTest

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

EventDataTest

testEventdata02Sample 0.004
testEventdata03Sample 0.007
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.009
testSoleNameLocation 0.007

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.079

StateSrcTest

testBadSrcFragmentInclude 0.001
testRecursiveSrcInclude 0.005
testBadSrcInclude 0.001

ActionTest

testGetParentStateIsHistory 0
testGetParentStateIsInitial 0
testGetParentStateIsParallel 0
testGetParentStateIsState 0

TieBreakerTest

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

GroovyEvaluatorTest

testErrorMessage 0.002
testEval 0.009
testBuiltInFunctions 0.009
testPreprocessScript 0
testPristine 0.01
testScript 0.018

SCXMLReaderTest

testSCXMLReaderSend01Sample 0.005
testSCXMLReaderGroovyClosure 0.067
testSCXMLReaderInitialAttr 0.003
testSCXMLReaderTransitions01Sample 0.009
testSCXMLReaderPrefix01Sample 0.003
testSCXMLReaderMicrowave03Sample 0.006
testSCXMLReaderWithInvalidElements 0.007
testSCXMLReaderMicrowave04Sample 0.007
testSCXMLReaderCustomActionWithBodyTextSample 0.003

W3CTest

test 0.011

WildcardTest

testWildcard01Sample 0.006
testWildcard02Sample 0.002

ScriptTest

testJavaScriptExecution 0.131
testJexlScriptExecution 0.052

SerializableInitialBaseScriptTest

testSerializableInitialBaseScriptSample 0.091

SCXMLWriterTest

testSerializeSCXMLState 0
testSerializeSCXMLNoStates 0
testSerializeParallel 0
testSerializeGlobalScript 0.001

StaticMethodTest

testJexlStaticMethodInvocation 0.003

Issue64Test

test01issue64 0.005
test02issue64 0.004

ScxmlInitialAttributeTest

testNoInitial 0.002
testIllegalInitial 0.001
testInitial 0.003

DatamodelTest

testDatamodel05Jexl 0.016
testDatamodelSimultaneousJexl 0.064
testDatamodelNamespacePrefixedXPaths 0.039
testDatamodel04Jexl 0.007

StopWatchTest

testStopWatch 0.006

HistoryTest

testSetTypeNotDeep 0
testShallowHistory01 0.065
testDeepHistory01 0.061
testSetTypeDeep 0
testHistoryParallel01 0.012
testHistoryDefaults01 0.011

CustomActionTest

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

JSEvaluatorTest

testDataModelExpressions 0.006
testInvalidDataModelLocations 0.005
testDataModelLocations 0.009
testBasic 0.004
testInvalidVarExpressions 0.007
testIllegalExpresssion 0.004
testStandardExpressions 0.011
testVarExpressions 0.006
testInvalidDataModelExpressions 0.006
testScriptFunctions 0.004

SCXMLExecutorTest

testSend01Sample 0.005
testSCXMLExecutorMicrowave03JexlSample 0.007
testSCXMLExecutorTransitions04Sample 0.005
testSCXMLExecutorMicrowave05grvSample 0.408
testSCXMLExecutorMicrowave04grvSample 0.074
testSCXMLExecutorMicrowave03grvSample 0.078
testSCXMLExecutorMicrowave05JexlSample 0.008
testSCXMLExecutorMicrowave02grvSample 0.061
testSCXMLExecutorTransitionsWithCond01Sample 0.005
testSend02TypeSCXMLSample 0.01
testSCXMLExecutorMicrowave01grvSample 0.077
testSCXMLExecutorTransitions05Sample 0.005
testSCXMLExecutorMicrowave02JexlSample 0.007
testSCXMLExecutorTransitions01Sample 0.008
testSCXMLExecutorTransitions06Sample 0.004
testSCXMLExecutorSystemEventVariable 0.003
testSCXMLExecutorPrefix01Sample 0.003
testSCXMLExecutorMicrowave04JexlSample 0.007
testSCXMLExecutorTransitions02Sample 0.007
testSCXMLExecutorMicrowave01JexlSample 0.007
testSCXMLExecutorTransitions03Sample 0.005

NamespacePrefixedXPathsTest

testNamespacePrefixedXPathsJexl 0.057

ParallelTest

testParallel01 0.006
testParallel02 0.003
testParallel03 0.045

BuiltinTest

testIsMemberEmptySet 0
testIsMemberFalse 0
testIsMemberTrue 0

AssignTest

testAssignDeep 0.034
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.001

AbstractStateMachineTest

testMoreThanOneScxmlDocument 0.002

GroovyClosureTest

testGroovyClosure 0.09

Issue112Test

test01issue112 0.005

WizardsTest

testWizard02Sample 0.013
testWizard01Sample 0.012