Summary

[ summary] [ package list] [ test cases]

TestsErrorsFailuresSuccess rateTime(s)
381194.74%5.12

Note: failuresare anticipated and checked for with assertions while errorsare unanticipated.

Package List

[ summary] [ package list] [ test cases]

PackageTestsErrorsFailuresSuccess RateTime
net.sf.msplice 200100.00%0.63
net.sf.msplice.model 200195.00%3.18
net.sf.msplice.property.impl 161093.75%1.30

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

net.sf.msplice

ClassTestsErrorsFailuresSuccess RateTime
Success AppTest 100100.00%0.310
Success NaughtyTest 100100.00%0.321

net.sf.msplice.model

ClassTestsErrorsFailuresSuccess RateTime
Failure BusinessPropertyTest 70185.71%0.681
Success DefaultConditionHolderTest 400100.00%0.470
Success DefaultValueHolderTest 400100.00%0.521
Success RootSpliceElementTest 100100.00%0.461
Success SpliceConfigTest 100100.00%0.561
Success ViewPropertyTest 300100.00%0.491

net.sf.msplice.property.impl

ClassTestsErrorsFailuresSuccess RateTime
Success BeanutilsPropertyGetterTest 800100.00%0.691
Error BeanutilsPropetySetterTest 81087.50%0.611

Test Cases

[ summary] [ package list] [ test cases]

AppTest

Success testApp0.00

BusinessPropertyTest

Success testAddGetBusinessProperty0.16
Success testPreemptBusinessProperty0.00
Success testAddNullNameBusinessProperty0.00
Success testAddGetViewProperty0.00
Success testPreemptViewProperty0.00
Success testAddNullNameViewProperty0.00
Failure testVisitor0.13
mock object mockIVisitor: expected method was not invoked expected once: visit( eq(<net.sf.msplice.model.BusinessProperty@186d4c1>) ), is void

DefaultConditionHolderTest

Success testInitialCondition0.09
Success testSetDefaultCondition0.00
Success testSetNullCondition0.00
Success testVisitor0.05

DefaultValueHolderTest

Success testInitialValue0.10
Success testSetDefaultValue0.00
Success testSetNullValue0.01
Success testVisitor0.06

RootSpliceElementTest

Success testIterateOverChildren0.11

SpliceConfigTest

Success testIterateOverChildren0.17

ViewPropertyTest

Success testSetName0.01
Success testSetNullName0.00
Success testVisitor0.15

NaughtyTest

Success testApp0.01

BeanutilsPropertyGetterTest

Success testGetProperty0.25
Success testNestedProperty0.00
Success testNestedNullProperty0.01
Success testGetNullProperty0.00
Success testGetNestedNullProperty0.00
Success testEmptyPropertyAndNullRoot0.00
Success testSetInexistentProperty0.00
Success testNullRootObject0.01

BeanutilsPropetySetterTest

Success testSetProperty0.19
Success testNestedProperty0.00
Success testNestedNullProperty0.01
Success testSetNullProperty0.00
Error testSetNestedNullProperty0.02
Could not set the property with name: nestedProperty.nestedString, on object: net.sf.msplice.property.impl.TestBean@112f614, with the value: null
Success testEmptyPropertyAndNullRoot0.00
Success testSetInexistentProperty0.00
Success testNullRootObject0.00

Failure details

Failure testVisitor
mock object mockIVisitor: expected method was not invoked expected once: visit( eq(<net.sf.msplice.model.BusinessProperty@186d4c1>) ), is void
junit.framework.AssertionFailedError: mock object mockIVisitor: expected method was not invoked expected once: visit( eq(<net.sf.msplice.model.BusinessProperty@186d4c1>) ), is void at org.jmock.core.AbstractDynamicMock.verify(Unknown Source) at org.jmock.Mock.verify(Unknown Source) at org.jmock.core.VerifyingTestCase.verify(Unknown Source) at org.jmock.core.VerifyingTestCase.runBare(Unknown Source)
Error testSetNestedNullProperty
Could not set the property with name: nestedProperty.nestedString, on object: net.sf.msplice.property.impl.TestBean@112f614, with the value: null
net.sf.msplice.property.PropertySetException: Could not set the property with name: nestedProperty.nestedString, on object: net.sf.msplice.property.impl.TestBean@112f614, with the value: null at net.sf.msplice.property.impl.BeanutilsPropertySetter.setProperty(BeanutilsPropertySetter.java:31) at net.sf.msplice.property.impl.BeanutilsPropetySetterTest.testSetNestedNullProperty(BeanutilsPropetySetterTest.java:83)