Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
35 0 0 0 100% 1.24

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
com.github.mygreen.messageformatter.expression 15 0 0 0 100% 0.105
com.github.mygreen.messageformatter.beanvalidation 1 0 0 0 100% 1.076
com.github.mygreen.messageformatter 19 0 0 0 100% 0.059

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

com.github.mygreen.messageformatter.expression

Class Tests Errors Failures Skipped Success Rate Time
CustomFunctionsTest 6 0 0 0 100% 0.001
JexlExpressionEvaluatorTest 4 0 0 0 100% 0.069
SpelExpressionEvaluatorTest 5 0 0 0 100% 0.035

com.github.mygreen.messageformatter.beanvalidation

Class Tests Errors Failures Skipped Success Rate Time
CustomMessageInterpolatorTest 1 0 0 0 100% 1.076

com.github.mygreen.messageformatter

Class Tests Errors Failures Skipped Success Rate Time
MessageFormatterTest 8 0 0 0 100% 0.039
MessageInterporlatorTest 11 0 0 0 100% 0.02

Test Cases

[Summary] [Package List] [Test Cases]

CustomMessageInterpolatorTest

testValidate 0.214

CustomFunctionsTest

testJoin_int_array 0
testDefaultString 0
testEmpty 0
testSize 0
testJoin_object_array 0
testJoin_collection 0

JexlExpressionEvaluatorTest

testEvaluation_function 0.055
testEvaluate_empty 0.006
testEvaluation_fail 0.004
testEvaluate_num 0.002

SpelExpressionEvaluatorTest

testEvaluation_function 0.001
testEvaluate_empty 0.003
testEvaluation_fail 0.005
testEvaluate_num 0.002
testConstructor_customExpressionParser 0.021

MessageFormatterTest

testVarWithArray 0.007
testVarWithClass 0.001
testFormatRecursively 0.002
testFormatRecursivelyMax 0.003
testVarWithAnno 0.003
testVarWithEnum 0.011
testFormat 0.008
testVarWithClasses 0.002

MessageInterporlatorTest

testInterpolate_no_define_vars 0.001
testInterpolate_lack_end 0.002
testInterpolate_no_define_vars2 0.001
testInterpolate_recursive_max 0.002
testInterpolate_var 0
testInterpolate_recursive_vars 0.001
testInterpolate_el01 0.003
testInterpolate_el02 0.003
testInterpolate_escape01 0.002
testInterpolate_escape02 0.002
testInterpolate_recursive_el 0.001