Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
171 0 0 0 100% 18.381

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
net.sf.oval.test.integration.spring 8 0 0 0 100% 1.123
net.sf.oval.test 1 0 0 0 100% 0.005
net.sf.oval.test.constraints 44 0 0 0 100% 6.287
net.sf.oval.test.guard 56 0 0 0 100% 4.61
net.sf.oval.test.integration.guice 2 0 0 0 100% 0.114
net.sf.oval.test.validator 60 0 0 0 100% 6.242

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

net.sf.oval.test.integration.spring

Class Tests Errors Failures Skipped Success Rate Time
SpringAOPAllianceBeanValidationTest 2 0 0 0 100% 0.192
SpringAOPAllianceTest 2 0 0 0 100% 0.68
SpringInjectorTest 2 0 0 0 100% 0.105
SpringValidatorTest 1 0 0 0 100% 0.015
ValidatorSpringBeanTest 1 0 0 0 100% 0.131

net.sf.oval.test

Class Tests Errors Failures Skipped Success Rate Time
MessageResolverTest 1 0 0 0 100% 0.005

net.sf.oval.test.constraints

Class Tests Errors Failures Skipped Success Rate Time
AssertFalseTest 1 0 0 0 100% 0.156
AssertNullTest 1 0 0 0 100% 0.001
AssertTest 6 0 0 0 100% 3.377
AssertTrueTest 1 0 0 0 100% 0
AssertURLTest 1 0 0 0 100% 2.684
DateRangeTest 3 0 0 0 100% 0.009
DigitsTest 1 0 0 0 100% 0.002
EmailTest 2 0 0 0 100% 0.008
EqualToFieldTest 1 0 0 0 100% 0.001
FutureTest 2 0 0 0 100% 0.003
HasSubStringTest 1 0 0 0 100% 0.001
InstanceOfAnyTest 1 0 0 0 100% 0.003
InstanceOfTest 1 0 0 0 100% 0
LengthTest 1 0 0 0 100% 0
MatchPatternTest 1 0 0 0 100% 0.002
MaxLengthTest 1 0 0 0 100% 0
MaxSizeTest 1 0 0 0 100% 0
MaxTest 1 0 0 0 100% 0.001
MemberOfTest 1 0 0 0 100% 0.006
MinLengthTest 1 0 0 0 100% 0.001
MinSizeTest 1 0 0 0 100% 0.002
MinTest 1 0 0 0 100% 0.001
NoSelfReferenceTest 1 0 0 0 100% 0.002
NotBlankTest 1 0 0 0 100% 0.001
NotEmptyTest 1 0 0 0 100% 0
NotEqualTest 1 0 0 0 100% 0.001
NotEqualToFieldTest 1 0 0 0 100% 0.006
NotMatchPatternTest 1 0 0 0 100% 0.005
NotMemberOfTest 1 0 0 0 100% 0.006
NotNegativeTest 1 0 0 0 100% 0.001
NotNullTest 1 0 0 0 100% 0
PastTest 2 0 0 0 100% 0.002
RangeTest 1 0 0 0 100% 0.005
SizeTest 1 0 0 0 100% 0

net.sf.oval.test.guard

Class Tests Errors Failures Skipped Success Rate Time
AddingChecksTest 2 0 0 0 100% 0.152
ApplyFieldConstraintsToConstructorsTest 1 0 0 0 100% 0.019
ApplyFieldConstraintsToParametersTest 2 0 0 0 100% 0.026
ApplyFieldConstraintsToSettersTest 1 0 0 0 100% 0.007
ChainedConstructorsTest 1 0 0 0 100% 0.001
ConstraintSetTest 1 0 0 0 100% 0.003
CustomConstraintMessageTest 1 0 0 0 100% 0.008
ExceptionTranslatorTest 1 0 0 0 100% 0.002
GuardingWithoutGuardedAnnotationTest 2 0 0 0 100% 0.004
InheritanceTest 3 0 0 0 100% 0.011
InnerClassTest 2 0 0 0 100% 0.002
MethodReturnValueConstraintsValidationTest 1 0 0 0 100% 0.024
NullableTest 2 0 0 0 100% 0.014
OverridingEqualsTest 1 0 0 0 100% 0
OverridingHashCodeTest 1 0 0 0 100% 0.002
ParameterConstraintsTest 3 0 0 0 100% 0.007
PrePostBeanShellTest 3 0 0 0 100% 0.171
PrePostGroovyTest 3 0 0 0 100% 0.274
PrePostJavascriptTest 3 0 0 0 100% 0.043
PrePostJEXLTest 3 0 0 0 100% 0.142
PrePostMVELTest 3 0 0 0 100% 0.047
PrePostOGNLTest 3 0 0 0 100% 0.035
PrePostRubyTest 3 0 0 0 100% 3.237
PrePostValidateThisTest 3 0 0 0 100% 0.004
ProbeModeTest 2 0 0 0 100% 0.012
StaticMethodsTest 3 0 0 0 100% 0.006
XMLConfigurationTest 2 0 0 0 100% 0.357

net.sf.oval.test.integration.guice

Class Tests Errors Failures Skipped Success Rate Time
GuiceInjectorTest 2 0 0 0 100% 0.114

net.sf.oval.test.validator

Class Tests Errors Failures Skipped Success Rate Time
AddingChecksTest 2 0 0 0 100% 0.001
AssertBeanShellTest 1 0 0 0 100% 0.072
AssertGroovyTest 1 0 0 0 100% 0.074
AssertJavascriptTest 2 0 0 0 100% 1.142
AssertJEXLTest 1 0 0 0 100% 0.004
AssertMVELTest 1 0 0 0 100% 0.035
AssertOGNLTest 1 0 0 0 100% 0.007
AssertRubyTest 1 0 0 0 100% 2.588
AssertScriptEngineJavascriptTest 2 0 0 0 100% 1.362
AssertValidTest 4 0 0 0 100% 0.019
BeanValidationAnnotationsConfigurerTest 1 0 0 0 100% 0.002
CheckWithConstraintTest 2 0 0 0 100% 0.005
CheckWithListConstraintTest 2 0 0 0 100% 0.003
CollectionTest 3 0 0 0 100% 0.008
ConcurrencyTest 1 0 0 0 100% 0.522
ConditionalConstraintsTest 1 0 0 0 100% 0.009
ConstraintListWithWhenConditionTest 5 0 0 0 100% 0.094
ConstraintViolationMessagesTest 1 0 0 0 100% 0.005
ConstraintViolationOrderTest 1 0 0 0 100% 0.006
CustomAssertValidTest 3 0 0 0 100% 0.025
CustomConstraintViolationsTest 1 0 0 0 100% 0
CustomXMLConstraintTest 1 0 0 0 100% 0.007
DefaultInstancesTest 1 0 0 0 100% 0
FieldConstraintsValidationTest 1 0 0 0 100% 0
InheritanceTest 1 0 0 0 100% 0.001
InvariantMethodConstraintsValidationTest 1 0 0 0 100% 0
JPAAnnotationsConfigurerTest 1 0 0 0 100% 0.014
ObjectGraphTest 1 0 0 0 100% 0.001
PrimitiveArrayTest 1 0 0 0 100% 0.001
ProfilesTest 3 0 0 0 100% 0.003
SerializationTest 1 0 0 0 100% 0.014
StaticFieldsAndGettersTest 2 0 0 0 100% 0.003
TargetDefaultTest 1 0 0 0 100% 0.009
TargetJXPathTest 1 0 0 0 100% 0.087
ValidateClassWithoutConstraintsTest 2 0 0 0 100% 0.001
ValidateWithMethodConstraintTest 1 0 0 0 100% 0.002
ValidatorAssertValidTest 2 0 0 0 100% 0.001
XMLConfigurationTest 2 0 0 0 100% 0.115

Test Cases

[Summary] [Package List] [Test Cases]

AssertFalseTest

testAssertFalse 0.008

AssertNullTest

testNotNull 0.001

AssertTest

testAssertJavascript 0.182
testAssertBeanshell 0.123
testAssertGroovy 0.624
testAssertMVEL 0.108
testAssertOGNL 0.061
testAssertRuby 2.277

AssertTrueTest

testAssertTrue 0

AssertURLTest

testAssertURL 2.684

DateRangeTest

testDateRange 0.008
testTolerance 0
testLiterals 0.001

DigitsTest

testDigits 0.002

EmailTest

testEmailWithoutPersonalNameAllowed 0.008
testEmailWithPersonalNameAllowed 0

EqualToFieldTest

testEqualToField 0.001

FutureTest

testFuture 0.002
testTolerance 0

HasSubStringTest

testHasSubString 0

InstanceOfAnyTest

testInstanceOf 0.003

InstanceOfTest

testInstanceOf 0

LengthTest

testLength 0

MatchPatternTest

testMatchPattern 0.002

MaxLengthTest

testMaxLength 0

MaxSizeTest

testMaxSize 0

MaxTest

testMax 0.001

MemberOfTest

testMemberOf 0.006

MinLengthTest

testMinLength 0.001

MinSizeTest

testMinSize 0.002

MinTest

testMax 0

NoSelfReferenceTest

testNoSelfReference 0.002

NotBlankTest

testNotBlank 0

NotEmptyTest

testNotEmpty 0

NotEqualTest

testNotEqual 0.001

NotEqualToFieldTest

testEqualToField 0.006

NotMatchPatternTest

testMatchPattern 0.002

NotMemberOfTest

testNotMemberOf 0.006

NotNegativeTest

testNotNegative 0.001

NotNullTest

testNotNull 0

PastTest

testPast 0.002
testTolerance 0

RangeTest

testRange 0

SizeTest

testSize 0

AddingChecksTest

testAddConstraintToField 0.148
testAddConstraintToConstructorParameter 0.004

ApplyFieldConstraintsToConstructorsTest

testConstrucorParameterValidation 0.019

ApplyFieldConstraintsToParametersTest

testFieldConstraintsFromDifferentClass 0.013
testSetterValidation 0.013

ApplyFieldConstraintsToSettersTest

testSetterValidation 0.007

ChainedConstructorsTest

testConstructorChaining 0.001

ConstraintSetTest

testConstraintSetValidation 0.003

CustomConstraintMessageTest

testCustomConstraintMessage 0.008

ExceptionTranslatorTest

testExceptionTranslator 0.002

GuardingWithoutGuardedAnnotationTest

testConstructorParameterConstraints 0.003
testMethodParameterConstraints 0.001

InheritanceTest

testInterfaceNotApplied 0.002
testInterface 0.004
testInheritance 0.004

InnerClassTest

testInnerClassNotGuarded 0
testInnerClassGuarded 0

MethodReturnValueConstraintsValidationTest

testMethodReturnValueConstraintValidation 0.023

NullableTest

testNullable1 0.008
testNullable2 0.003

OverridingEqualsTest

testGuarding 0

OverridingHashCodeTest

testGuarding 0.001

ParameterConstraintsTest

testMethodParameters 0.002
testMethodParametersInProbeMode 0.002
testConstructorParameterConstraints 0.002

PrePostBeanShellTest

test2Post 0.065
test1Pre 0.042
test3CircularConditions 0.063

PrePostGroovyTest

test2Post 0.145
test1Pre 0.071
test3CircularConditions 0.058

PrePostJavascriptTest

test2Post 0.015
test1Pre 0.015
test3CircularConditions 0.011

PrePostJEXLTest

test2Post 0.128
test1Pre 0.008
test3CircularConditions 0.006

PrePostMVELTest

test2Post 0.022
test1Pre 0.012
test3CircularConditions 0.013

PrePostOGNLTest

test2Post 0.013
test1Pre 0.018
test3CircularConditions 0.004

PrePostRubyTest

test2Post 1.258
test1Pre 0.853
test3CircularConditions 1.125

PrePostValidateThisTest

testConstructorValidation 0.003
testMethodValidation 0
testMethodValidationInProbeMode 0.001

ProbeModeTest

testProbeModeWithValidValues 0.009
testProbeModeWithIllegalValues 0.003

StaticMethodsTest

testSetterValidation 0
testPostValidateThis 0.004
testPreValidateThis 0.001

XMLConfigurationTest

testImportedFile 0.137
testSerializedObjectConfiguration 0.22

GuiceInjectorTest

testWithoutGuiceInjector 0.001
testWithGuiceInjector 0.113

SpringAOPAllianceBeanValidationTest

testJDKProxying 0.061
testCGLIBProxying 0.131

SpringAOPAllianceTest

testJDKProxying 0.611
testCGLIBProxying 0.068

SpringInjectorTest

testWithoutSpringInjector 0.001
testWithSpringInjector 0.104

SpringValidatorTest

testSpringValidator 0.015

ValidatorSpringBeanTest

testValidatorSpringBean 0.131

MessageResolverTest

testMessageResolver 0.005

AddingChecksTest

testAddConstraintToField 0
testAddConstraintToGetter 0.001

AssertBeanShellTest

testBeanShellExpression 0.072

AssertGroovyTest

testGroovyExpression 0.073

AssertJavascriptTest

testJavaScriptExpression 0.016
testConcurrency 1.126

AssertJEXLTest

testJEXLExpression 0.004

AssertMVELTest

testMVELExpression 0.035

AssertOGNLTest

testOGNLExpression 0.007

AssertRubyTest

testRubyExpression 2.587

AssertScriptEngineJavascriptTest

testJavaScriptExpression 0.094
testConcurrency 1.268

AssertValidTest

testScalarValues 0.006
testValidateFieldValue 0.001
testCollectionValues 0.005
testRecursion 0.006

BeanValidationAnnotationsConfigurerTest

testBeanValidationAnnotationsConfigurer 0.002

CheckWithConstraintTest

testCheckWith1 0.004
testCheckWith2 0.001

CheckWithListConstraintTest

testCheckWith1 0.002
testCheckWith2 0.001

CollectionTest

testListAndArray 0.005
testListWithLists 0.001
testMapWithLists 0.002

ConcurrencyTest

testConcurrency 0.521

ConditionalConstraintsTest

testConstraintViolationOrder 0.009

ConstraintListWithWhenConditionTest

testValidateEntity1 0.016
testValidateEntity2 0.017
testValidateEntity3 0.017
testValidateEntity4 0.017
testValidateAccount 0.026

ConstraintViolationMessagesTest

testMessages 0.005

ConstraintViolationOrderTest

testConstraintViolationOrder 0.006

CustomAssertValidTest

testScalarValues 0.013
testCollectionValues 0.003
testRecursion 0.009

CustomConstraintViolationsTest

testMessages 0

CustomXMLConstraintTest

testCustomXMLConstraint 0.007

DefaultInstancesTest

testDefaultInstancesNotNull 0

FieldConstraintsValidationTest

testFieldValidation 0

InheritanceTest

testInheritance 0

InvariantMethodConstraintsValidationTest

testMethodReturnValueConstraintValidation 0

JPAAnnotationsConfigurerTest

testJPAAnnotationsConfigurer 0.014

ObjectGraphTest

testObjectGraph 0

PrimitiveArrayTest

testPrimitiveArray 0

ProfilesTest

testProfilesGloballyDisabled 0.001
testProfilesGloballyEnabled 0.001
testAdhocProfiles 0.001

SerializationTest

testSerialization 0.013

StaticFieldsAndGettersTest

testStaticValidation 0
testNonstaticValidation 0.003

TargetDefaultTest

testTarget 0.009

TargetJXPathTest

testTarget 0.085

ValidateClassWithoutConstraintsTest

testClassWithoutConstraints 0
testEmptyXmlConfigurer 0.001

ValidateWithMethodConstraintTest

testCheckByMethod 0.002

ValidatorAssertValidTest

testValidatorAssert 0
testValidatorAssertField 0

XMLConfigurationTest

testImportedFile 0.052
testSerializedObjectConfiguration 0.063