Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.597
net.sf.oval.test 1 0 0 0 100% 0.015
net.sf.oval.test.constraints 44 0 0 0 100% 7.961
net.sf.oval.test.guard 56 0 0 0 100% 7.044
net.sf.oval.test.integration.guice 2 0 0 0 100% 0.181
net.sf.oval.test.validator 60 0 0 0 100% 8

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.279
SpringAOPAllianceTest 2 0 0 0 100% 0.962
SpringInjectorTest 2 0 0 0 100% 0.159
SpringValidatorTest 1 0 0 0 100% 0.022
ValidatorSpringBeanTest 1 0 0 0 100% 0.175

net.sf.oval.test

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

net.sf.oval.test.constraints

Class Tests Errors Failures Skipped Success Rate Time
AssertFalseTest 1 0 0 0 100% 0.159
AssertNullTest 1 0 0 0 100% 0.001
AssertTest 6 0 0 0 100% 4.761
AssertTrueTest 1 0 0 0 100% 0
AssertURLTest 1 0 0 0 100% 2.746
DateRangeTest 3 0 0 0 100% 0.012
DigitsTest 1 0 0 0 100% 0.006
EmailTest 2 0 0 0 100% 0.001
EqualToFieldTest 1 0 0 0 100% 0.019
FutureTest 2 0 0 0 100% 0.002
HasSubStringTest 1 0 0 0 100% 0.003
InstanceOfAnyTest 1 0 0 0 100% 0.023
InstanceOfTest 1 0 0 0 100% 0.03
LengthTest 1 0 0 0 100% 0.001
MatchPatternTest 1 0 0 0 100% 0.003
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.003
MinLengthTest 1 0 0 0 100% 0.001
MinSizeTest 1 0 0 0 100% 0.002
MinTest 1 0 0 0 100% 0.002
NoSelfReferenceTest 1 0 0 0 100% 0.001
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.011
NotMatchPatternTest 1 0 0 0 100% 0.012
NotMemberOfTest 1 0 0 0 100% 0.005
NotNegativeTest 1 0 0 0 100% 0.004
NotNullTest 1 0 0 0 100% 0.001
PastTest 2 0 0 0 100% 0.001
RangeTest 1 0 0 0 100% 0.001
SizeTest 1 0 0 0 100% 0.147

net.sf.oval.test.guard

Class Tests Errors Failures Skipped Success Rate Time
AddingChecksTest 2 0 0 0 100% 0.185
ApplyFieldConstraintsToConstructorsTest 1 0 0 0 100% 0.049
ApplyFieldConstraintsToParametersTest 2 0 0 0 100% 0.115
ApplyFieldConstraintsToSettersTest 1 0 0 0 100% 0.086
ChainedConstructorsTest 1 0 0 0 100% 0.015
ConstraintSetTest 1 0 0 0 100% 0.033
CustomConstraintMessageTest 1 0 0 0 100% 0.078
ExceptionTranslatorTest 1 0 0 0 100% 0.043
GuardingWithoutGuardedAnnotationTest 2 0 0 0 100% 0.062
InheritanceTest 3 0 0 0 100% 0.109
InnerClassTest 2 0 0 0 100% 0.018
MethodReturnValueConstraintsValidationTest 1 0 0 0 100% 0.056
NullableTest 2 0 0 0 100% 0.071
OverridingEqualsTest 1 0 0 0 100% 0.025
OverridingHashCodeTest 1 0 0 0 100% 0.019
ParameterConstraintsTest 3 0 0 0 100% 0.041
PrePostBeanShellTest 3 0 0 0 100% 0.268
PrePostGroovyTest 3 0 0 0 100% 0.452
PrePostJavascriptTest 3 0 0 0 100% 0.103
PrePostJEXLTest 3 0 0 0 100% 0.22
PrePostMVELTest 3 0 0 0 100% 0.087
PrePostOGNLTest 3 0 0 0 100% 0.09
PrePostRubyTest 3 0 0 0 100% 4.206
PrePostValidateThisTest 3 0 0 0 100% 0.041
ProbeModeTest 2 0 0 0 100% 0.058
StaticMethodsTest 3 0 0 0 100% 0.033
XMLConfigurationTest 2 0 0 0 100% 0.481

net.sf.oval.test.integration.guice

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

net.sf.oval.test.validator

Class Tests Errors Failures Skipped Success Rate Time
AddingChecksTest 2 0 0 0 100% 0
AssertBeanShellTest 1 0 0 0 100% 0.116
AssertGroovyTest 1 0 0 0 100% 0.08
AssertJavascriptTest 2 0 0 0 100% 1.168
AssertJEXLTest 1 0 0 0 100% 0.013
AssertMVELTest 1 0 0 0 100% 0.014
AssertOGNLTest 1 0 0 0 100% 0.017
AssertRubyTest 1 0 0 0 100% 3.405
AssertScriptEngineJavascriptTest 2 0 0 0 100% 1.546
AssertValidTest 4 0 0 0 100% 0.044
BeanValidationAnnotationsConfigurerTest 1 0 0 0 100% 0.009
CheckWithConstraintTest 2 0 0 0 100% 0.038
CheckWithListConstraintTest 2 0 0 0 100% 0.034
CollectionTest 3 0 0 0 100% 0.023
ConcurrencyTest 1 0 0 0 100% 0.533
ConditionalConstraintsTest 1 0 0 0 100% 0.018
ConstraintListWithWhenConditionTest 5 0 0 0 100% 0.177
ConstraintViolationMessagesTest 1 0 0 0 100% 0.011
ConstraintViolationOrderTest 1 0 0 0 100% 0.014
CustomAssertValidTest 3 0 0 0 100% 0.066
CustomConstraintViolationsTest 1 0 0 0 100% 0.008
CustomXMLConstraintTest 1 0 0 0 100% 0.015
DefaultInstancesTest 1 0 0 0 100% 0.002
FieldConstraintsValidationTest 1 0 0 0 100% 0.012
InheritanceTest 1 0 0 0 100% 0.024
InvariantMethodConstraintsValidationTest 1 0 0 0 100% 0.011
JPAAnnotationsConfigurerTest 1 0 0 0 100% 0.058
ObjectGraphTest 1 0 0 0 100% 0.04
PrimitiveArrayTest 1 0 0 0 100% 0.009
ProfilesTest 3 0 0 0 100% 0.013
SerializationTest 1 0 0 0 100% 0.013
StaticFieldsAndGettersTest 2 0 0 0 100% 0.017
TargetDefaultTest 1 0 0 0 100% 0.035
TargetJXPathTest 1 0 0 0 100% 0.183
ValidateClassWithoutConstraintsTest 2 0 0 0 100% 0.015
ValidateWithMethodConstraintTest 1 0 0 0 100% 0.02
ValidatorAssertValidTest 2 0 0 0 100% 0.012
XMLConfigurationTest 2 0 0 0 100% 0.187

Test Cases

[Summary] [Package List] [Test Cases]

AssertFalseTest

testAssertFalse 0.01

AssertNullTest

testNotNull 0

AssertTest

testAssertJavascript 0.229
testAssertBeanshell 0.175
testAssertGroovy 0.816
testAssertMVEL 0.147
testAssertOGNL 0.135
testAssertRuby 3.256

AssertTrueTest

testAssertTrue 0

AssertURLTest

testAssertURL 2.745

DateRangeTest

testDateRange 0.009
testTolerance 0
testLiterals 0.001

DigitsTest

testDigits 0.005

EmailTest

testEmailWithoutPersonalNameAllowed 0.001
testEmailWithPersonalNameAllowed 0

EqualToFieldTest

testEqualToField 0.019

FutureTest

testFuture 0
testTolerance 0.001

HasSubStringTest

testHasSubString 0.003

InstanceOfAnyTest

testInstanceOf 0.023

InstanceOfTest

testInstanceOf 0.029

LengthTest

testLength 0

MatchPatternTest

testMatchPattern 0.003

MaxLengthTest

testMaxLength 0

MaxSizeTest

testMaxSize 0

MaxTest

testMax 0

MemberOfTest

testMemberOf 0.003

MinLengthTest

testMinLength 0.001

MinSizeTest

testMinSize 0.002

MinTest

testMax 0.002

NoSelfReferenceTest

testNoSelfReference 0.001

NotBlankTest

testNotBlank 0

NotEmptyTest

testNotEmpty 0

NotEqualTest

testNotEqual 0

NotEqualToFieldTest

testEqualToField 0.011

NotMatchPatternTest

testMatchPattern 0.005

NotMemberOfTest

testNotMemberOf 0.005

NotNegativeTest

testNotNegative 0.003

NotNullTest

testNotNull 0

PastTest

testPast 0.001
testTolerance 0

RangeTest

testRange 0

SizeTest

testSize 0.147

AddingChecksTest

testAddConstraintToField 0.158
testAddConstraintToConstructorParameter 0.022

ApplyFieldConstraintsToConstructorsTest

testConstrucorParameterValidation 0.048

ApplyFieldConstraintsToParametersTest

testFieldConstraintsFromDifferentClass 0.098
testSetterValidation 0.016

ApplyFieldConstraintsToSettersTest

testSetterValidation 0.086

ChainedConstructorsTest

testConstructorChaining 0.015

ConstraintSetTest

testConstraintSetValidation 0.033

CustomConstraintMessageTest

testCustomConstraintMessage 0.077

ExceptionTranslatorTest

testExceptionTranslator 0.038

GuardingWithoutGuardedAnnotationTest

testConstructorParameterConstraints 0.045
testMethodParameterConstraints 0.005

InheritanceTest

testInterfaceNotApplied 0.047
testInterface 0.024
testInheritance 0.037

InnerClassTest

testInnerClassNotGuarded 0.002
testInnerClassGuarded 0.015

MethodReturnValueConstraintsValidationTest

testMethodReturnValueConstraintValidation 0.055

NullableTest

testNullable1 0.046
testNullable2 0.025

OverridingEqualsTest

testGuarding 0.025

OverridingHashCodeTest

testGuarding 0.018

ParameterConstraintsTest

testMethodParameters 0.028
testMethodParametersInProbeMode 0.003
testConstructorParameterConstraints 0.003

PrePostBeanShellTest

test2Post 0.121
test1Pre 0.059
test3CircularConditions 0.088

PrePostGroovyTest

test2Post 0.245
test1Pre 0.106
test3CircularConditions 0.101

PrePostJavascriptTest

test2Post 0.06
test1Pre 0.02
test3CircularConditions 0.022

PrePostJEXLTest

test2Post 0.199
test1Pre 0.012
test3CircularConditions 0.009

PrePostMVELTest

test2Post 0.063
test1Pre 0.007
test3CircularConditions 0.016

PrePostOGNLTest

test2Post 0.055
test1Pre 0.026
test3CircularConditions 0.009

PrePostRubyTest

test2Post 1.561
test1Pre 1.151
test3CircularConditions 1.494

PrePostValidateThisTest

testConstructorValidation 0.038
testMethodValidation 0
testMethodValidationInProbeMode 0.001

ProbeModeTest

testProbeModeWithValidValues 0.053
testProbeModeWithIllegalValues 0.003

StaticMethodsTest

testSetterValidation 0.03
testPostValidateThis 0.001
testPreValidateThis 0.001

XMLConfigurationTest

testImportedFile 0.438
testSerializedObjectConfiguration 0.041

GuiceInjectorTest

testWithoutGuiceInjector 0.017
testWithGuiceInjector 0.163

SpringAOPAllianceBeanValidationTest

testJDKProxying 0.093
testCGLIBProxying 0.185

SpringAOPAllianceTest

testJDKProxying 0.86
testCGLIBProxying 0.102

SpringInjectorTest

testWithoutSpringInjector 0.013
testWithSpringInjector 0.145

SpringValidatorTest

testSpringValidator 0.022

ValidatorSpringBeanTest

testValidatorSpringBean 0.175

MessageResolverTest

testMessageResolver 0.015

AddingChecksTest

testAddConstraintToField 0
testAddConstraintToGetter 0

AssertBeanShellTest

testBeanShellExpression 0.116

AssertGroovyTest

testGroovyExpression 0.079

AssertJavascriptTest

testJavaScriptExpression 0.018
testConcurrency 1.149

AssertJEXLTest

testJEXLExpression 0.013

AssertMVELTest

testMVELExpression 0.014

AssertOGNLTest

testOGNLExpression 0.016

AssertRubyTest

testRubyExpression 3.404

AssertScriptEngineJavascriptTest

testJavaScriptExpression 0.132
testConcurrency 1.414

AssertValidTest

testScalarValues 0.021
testValidateFieldValue 0.004
testCollectionValues 0.004
testRecursion 0.015

BeanValidationAnnotationsConfigurerTest

testBeanValidationAnnotationsConfigurer 0.009

CheckWithConstraintTest

testCheckWith1 0.02
testCheckWith2 0.018

CheckWithListConstraintTest

testCheckWith1 0.019
testCheckWith2 0.014

CollectionTest

testListAndArray 0.01
testListWithLists 0.01
testMapWithLists 0.002

ConcurrencyTest

testConcurrency 0.532

ConditionalConstraintsTest

testConstraintViolationOrder 0.017

ConstraintListWithWhenConditionTest

testValidateEntity1 0.028
testValidateEntity2 0.033
testValidateEntity3 0.039
testValidateEntity4 0.038
testValidateAccount 0.036

ConstraintViolationMessagesTest

testMessages 0.011

ConstraintViolationOrderTest

testConstraintViolationOrder 0.013

CustomAssertValidTest

testScalarValues 0.046
testCollectionValues 0.006
testRecursion 0.014

CustomConstraintViolationsTest

testMessages 0.008

CustomXMLConstraintTest

testCustomXMLConstraint 0.015

DefaultInstancesTest

testDefaultInstancesNotNull 0

FieldConstraintsValidationTest

testFieldValidation 0.012

InheritanceTest

testInheritance 0.019

InvariantMethodConstraintsValidationTest

testMethodReturnValueConstraintValidation 0.001

JPAAnnotationsConfigurerTest

testJPAAnnotationsConfigurer 0.058

ObjectGraphTest

testObjectGraph 0.039

PrimitiveArrayTest

testPrimitiveArray 0.009

ProfilesTest

testProfilesGloballyDisabled 0.006
testProfilesGloballyEnabled 0.004
testAdhocProfiles 0.002

SerializationTest

testSerialization 0.012

StaticFieldsAndGettersTest

testStaticValidation 0
testNonstaticValidation 0.001

TargetDefaultTest

testTarget 0.035

TargetJXPathTest

testTarget 0.183

ValidateClassWithoutConstraintsTest

testClassWithoutConstraints 0.006
testEmptyXmlConfigurer 0.005

ValidateWithMethodConstraintTest

testCheckByMethod 0.02

ValidatorAssertValidTest

testValidatorAssert 0.01
testValidatorAssertField 0.001

XMLConfigurationTest

testImportedFile 0.095
testSerializedObjectConfiguration 0.092