Apache Commons logo Commons SCXML

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
245 0 0 0 100% 9.765

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 31 0 0 0 100% 0.216
org.apache.commons.scxml2.env.jexl 8 0 0 0 100% 0.036
org.apache.commons.scxml2.env 21 0 0 0 100% 0.137
org.apache.commons.scxml2.invoke 5 0 0 0 100% 0.036
org.apache.commons.scxml2.env.groovy 12 0 0 0 100% 1.041
org.apache.commons.scxml2.semantics 4 0 0 0 100% 0
org.apache.commons.scxml2.issues 6 0 0 0 100% 0.056
org.apache.commons.scxml2.model 64 0 0 0 100% 6.48
org.apache.commons.scxml2 58 0 0 0 100% 0.866
org.apache.commons.scxml2.env.javascript 34 0 0 0 100% 0.861
org.apache.commons.scxml2.env.xpath 2 0 0 0 100% 0.036

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
SCXMLReaderTest 12 0 0 0 100% 0.182
SCXMLRequiredAttributesTest 12 0 0 0 100% 0.021
SCXMLWriterTest 4 0 0 0 100% 0.001
StateSrcTest 3 0 0 0 100% 0.012

org.apache.commons.scxml2.env.jexl

Class Tests Errors Failures Skipped Success Rate Time
ForeachTest 1 0 0 0 100% 0.02
JexlContextTest 3 0 0 0 100% 0
JexlEvaluatorTest 3 0 0 0 100% 0.003
StaticMethodTest 1 0 0 0 100% 0.013

org.apache.commons.scxml2.env

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

org.apache.commons.scxml2.invoke

Class Tests Errors Failures Skipped Success Rate Time
InvokeParamNameTest 2 0 0 0 100% 0.026
InvokeTest 3 0 0 0 100% 0.01

org.apache.commons.scxml2.env.groovy

Class Tests Errors Failures Skipped Success Rate Time
GroovyClosureTest 1 0 0 0 100% 0.743
GroovyContextTest 3 0 0 0 100% 0
GroovyEvaluatorTest 6 0 0 0 100% 0.083
SerializableInitialBaseScriptTest 1 0 0 0 100% 0.176
StaticMethodTest 1 0 0 0 100% 0.039

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
Issue112Test 1 0 0 0 100% 0.009
Issue62Test 3 0 0 0 100% 0.029
Issue64Test 2 0 0 0 100% 0.018

org.apache.commons.scxml2.model

Class Tests Errors Failures Skipped Success Rate Time
ActionsTest 3 0 0 0 100% 0.035
ActionTest 4 0 0 0 100% 0
AssignTest 2 0 0 0 100% 0.035
CancelTest 2 0 0 0 100% 6.03
CustomActionTest 11 0 0 0 100% 0.027
DatamodelTest 4 0 0 0 100% 0.138
HistoryTest 6 0 0 0 100% 0.119
ParallelTest 3 0 0 0 100% 0.026
ScriptTest 2 0 0 0 100% 0.029
ScxmlInitialAttributeTest 3 0 0 0 100% 0.006
SendTest 1 0 0 0 100% 0.008
StatelessModelTest 3 0 0 0 100% 0.023
StateTest 15 0 0 0 100% 0.004
TransitionTargetTest 4 0 0 0 100% 0
TransitionTest 1 0 0 0 100% 0

org.apache.commons.scxml2

Class Tests Errors Failures Skipped Success Rate Time
EventDataTest 4 0 0 0 100% 0.254
NamespacePrefixedXPathsTest 1 0 0 0 100% 0.045
SCInstanceTest 11 0 0 0 100% 0.002
SCXMLExecutorTest 22 0 0 0 100% 0.505
StatusTest 6 0 0 0 100% 0
TieBreakerTest 6 0 0 0 100% 0.023
TriggerEventTest 4 0 0 0 100% 0
WildcardTest 2 0 0 0 100% 0.012
WizardsTest 2 0 0 0 100% 0.025

org.apache.commons.scxml2.env.javascript

Class Tests Errors Failures Skipped Success Rate Time
JavaScriptEngineTest 5 0 0 0 100% 0.516
JSBindingsTest 15 0 0 0 100% 0.002
JSContextTest 2 0 0 0 100% 0
JSEvaluatorTest 11 0 0 0 100% 0.216
JSExampleTest 1 0 0 0 100% 0.127

org.apache.commons.scxml2.env.xpath

Class Tests Errors Failures Skipped Success Rate Time
XPathExampleTest 2 0 0 0 100% 0.036

Test Cases

[Summary] [Package List] [Test Cases]

AbstractSCXMLListenerTest

testAbstractSCXMLListener0 0.005
testAbstractSCXMLListener1 0
testAbstractSCXMLListener2 0
testAbstractSCXMLListener3 0

AbstractStateMachineTest

testMoreThanOneScxmlDocument 0.129

GroovyClosureTest

testGroovyClosure 0.743

GroovyContextTest

testNew 0
testPrepopulated 0
testSetVars 0

GroovyEvaluatorTest

testErrorMessage 0.001
testEval 0.017
testBuiltInFunctions 0.019
testPreprocessScript 0
testPristine 0.016
testScript 0.03

SerializableInitialBaseScriptTest

testSerializableInitialBaseScriptSample 0.176

StaticMethodTest

testGroovyStaticMethodInvocation 0.039

JavaScriptEngineTest

testBindingsInput 0.499
testSimpleEvaluation 0.005
testBindingsGlobal_WithJSBindings 0.005
testBindingsInput_WithJSBindings 0.003
testBindingsGlobal 0.004

JSBindingsTest

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

JSContextTest

testChildConstructor 0
testDefaultConstructor 0

JSEvaluatorTest

testDataModelExpressions 0.089
testInvalidDataModelLocations 0.006
testDataModelLocations 0.05
testBasic 0.006
testInvalidVarExpressions 0.014
testIllegalExpresssion 0.006
testStandardExpressions 0.017
testVarExpressions 0.009
testInvalidDataModelExpressions 0.006
testScriptFunctions 0.007
testScript 0.006

JSExampleTest

testExample01Sample 0.127

ForeachTest

testForeach 0.02

JexlContextTest

testNew 0
testPrepopulated 0
testSetVars 0

JexlEvaluatorTest

testErrorMessage 0.001
testPristine 0
testScript 0.002

StaticMethodTest

testJexlStaticMethodInvocation 0.013

LogUtilsTest

testTransToString 0
testGetTTPathParentNull 0
testGetTTPathParent 0

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

StopWatchTest

testStopWatch 0.003

XPathExampleTest

testExample01Sample 0.026
testExample02Sample 0.01

EventDataTest

testEventdata02Sample 0.008
testEventdata03Sample 0.018
testEventdata04Sample 0.214
testEventdata01Sample 0.014

InvokeParamNameTest

testNameAndExpr 0.013
testSoleNameLocation 0.013

InvokeTest

testInvoke01Sample 0.003
testInvoke02Sample 0.002
testInvoke03Sample 0.005

SCXMLReaderTest

testSCXMLValidTransitionTargets 0.007
testSCXMLReaderSend01Sample 0.006
testSCXMLReaderGroovyClosure 0.086
testSCXMLReaderInitialAttr 0.005
testSCXMLInValidTransitionTargets1 0.001
testSCXMLInValidTransitionTargets2 0.001
testSCXMLReaderTransitions01Sample 0.022
testSCXMLReaderPrefix01Sample 0.006
testSCXMLReaderMicrowave03Sample 0.014
testSCXMLReaderWithInvalidElements 0.011
testSCXMLReaderMicrowave04Sample 0.017
testSCXMLReaderCustomActionWithBodyTextSample 0.006

SCXMLRequiredAttributesTest

testSCXMLMissingElseIfCond 0.001
testSCXMLWithForEach 0.005
testSCXMLMissingParamName 0.001
testSCXMLMissingForeachArray 0.001
testValidSCXML 0.006
testSCXMLParamWithName 0.004
testSCXMLMissingAssignLocation 0.001
testSCXMLMissingVersion 0.001
testSCXMLMissingForeachItem 0
testSCXMLMissingDataId 0.001
testSCXMLMissingIfCond 0
testSCXMLInvalidVersion 0

SCXMLWriterTest

testSerializeSCXMLState 0
testSerializeSCXMLNoStates 0
testSerializeParallel 0
testSerializeGlobalScript 0.001

StateSrcTest

testBadSrcFragmentInclude 0.001
testRecursiveSrcInclude 0.009
testBadSrcInclude 0.002

Issue112Test

test01issue112 0.009

Issue62Test

test03issue62 0.01
test01issue62 0.008
test02issue62 0.011

Issue64Test

test01issue64 0.008
test02issue64 0.01

ActionsTest

testInitialActions 0.013
testStateActions 0.01
testParallelActions 0.012

ActionTest

testGetParentStateIsHistory 0
testGetParentStateIsInitial 0
testGetParentStateIsParallel 0
testGetParentStateIsState 0

AssignTest

testAssignDeep 0.013
testAssignSrc 0.022

CancelTest

testCancelBySendId 3.013
testCancelBySendIdExpr 3.017

CustomActionTest

testAddBadCustomAction01 0
testAddBadCustomAction02 0
testAddBadCustomAction03 0
testAddBadCustomAction04 0
testAddBadCustomAction05 0
testCustomActionOverrideLocalName 0.004
testAddGoodCustomAction01 0
testCustomActionEventPayloadHelloWorldJexl 0.012
testCustomActionExternalSrcHelloWorld 0.004
testCustomActionHelloWorld 0.004
testHelloWorld 0.003

DatamodelTest

testDatamodel05Jexl 0.013
testDatamodelSimultaneousJexl 0.07
testDatamodelNamespacePrefixedXPaths 0.047
testDatamodel04Jexl 0.008

HistoryTest

testSetTypeNotDeep 0
testShallowHistory01 0.055
testDeepHistory01 0.047
testSetTypeDeep 0
testHistoryParallel01 0.01
testHistoryDefaults01 0.007

ParallelTest

testParallel01 0.006
testParallel02 0.004
testParallel03 0.016

ScriptTest

testJavaScriptExecution 0.021
testJexlScriptExecution 0.008

ScxmlInitialAttributeTest

testNoInitial 0.002
testIllegalInitial 0
testInitial 0.004

SendTest

testNamelistOrderPreserved 0.008

StatelessModelTest

testStatelessModelParallelSharedSCXML 0.005
testStatelessModelSimultaneousJexl 0.008
testStatelessModelSequentialJexl 0.01

StateTest

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

TransitionTargetTest

testIsDescendantNotEqual 0
testIsDescendantNullParent 0
testIsDescendantParentEqual 0
testIsDescendantEqual 0

TransitionTest

testGetTargets 0

NamespacePrefixedXPathsTest

testNamespacePrefixedXPathsJexl 0.045

SCInstanceTest

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

SCXMLExecutorTest

testSend01Sample 0.004
testSCXMLExecutorMicrowave03JexlSample 0.009
testSCXMLExecutorTransitions04Sample 0.021
testSCXMLExecutorMicrowave05grvSample 0.086
testSCXMLExecutorMicrowave04grvSample 0.074
testSCXMLExecutorMicrowave03grvSample 0.078
testSCXMLExecutorMicrowave05JexlSample 0.009
testSCXMLExecutorMicrowave02grvSample 0.068
testSCXMLExecutorTransitionsWithCond01Sample 0.006
testSend02TypeSCXMLSample 0.006
testSCXMLExecutorMicrowave01grvSample 0.072
testSCXMLExecutorTransitions05Sample 0.009
testSCXMLExecutorSetConfiguration 0.008
testSCXMLExecutorMicrowave02JexlSample 0.008
testSCXMLExecutorTransitions01Sample 0.008
testSCXMLExecutorTransitions06Sample 0.005
testSCXMLExecutorSystemEventVariable 0.003
testSCXMLExecutorPrefix01Sample 0.002
testSCXMLExecutorMicrowave04JexlSample 0.008
testSCXMLExecutorTransitions02Sample 0.008
testSCXMLExecutorMicrowave01JexlSample 0.007
testSCXMLExecutorTransitions03Sample 0.006

SCXMLSemanticsImplTest

testIsLegalConfigNoStates 0
testIsLegalConfigMultipleTopLevel 0
testIsLegalConfigInvalidParallel 0
testIsLegalConfigMultipleStatesActive 0

StatusTest

testIsFinalStateHasParent 0
testIsFinalStateFalse 0
testGetAllStatesContainsParent 0
testGetAllStatesEmptyStatus 0
testIsFinalState 0
testIsInState 0

TieBreakerTest

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

TriggerEventTest

testTriggerEventHashCode 0
testTriggerEventGetters 0
testTriggerEventEquals 0
testTriggerEventToString 0

WildcardTest

testWildcard01Sample 0.007
testWildcard02Sample 0.005

WizardsTest

testWizard02Sample 0.012
testWizard01Sample 0.013