Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
67 0 0 0 100% 0.339

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.splate.parse 21 0 0 0 100% 0.04
com.github.mygreen.splate 29 0 0 0 100% 0.282
com.github.mygreen.splate.type 17 0 0 0 100% 0.017

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

com.github.mygreen.splate.parse

Class Tests Errors Failures Skipped Success Rate Time
SqlParserTest 21 0 0 0 100% 0.04

com.github.mygreen.splate

Class Tests Errors Failures Skipped Success Rate Time
BeanPropertySqlTemplateContextTest 6 0 0 0 100% 0.233
EmptyValueSqlTemplateContextTest 4 0 0 0 100% 0.001
MapSqlTemplateContextTest 6 0 0 0 100% 0.005
SqlTemplateContextTest 2 0 0 0 100% 0.011
SqlTemplateEngineTest 3 0 0 0 100% 0.008
SqlUtilsTest 2 0 0 0 100% 0.001
TemplateLoaderTest 6 0 0 0 100% 0.023

com.github.mygreen.splate.type

Class Tests Errors Failures Skipped Success Rate Time
SqlTemplateValueTypeRegistryTest 10 0 0 0 100% 0.013
SqlTemplateValueTypeTest 7 0 0 0 100% 0.004

Test Cases

[Summary] [Package List] [Test Cases]

BeanPropertySqlTemplateContextTest

testNotFoundProperty_ignoreNotFoundPropertyIsFalse 0.184
testNotFoundProperty_nested_ignoreNotFoundPropetyIsTrue 0.016
testNotFoundProperty_nested_ignoreNotFoundPropetyIsFalse 0.001
testEvaluateTemplate 0.005
testEvaluateTemplate_nested 0.012
testNotFoundProperty_ignoreNotFoundPropertyIsTrue 0.004

EmptyValueSqlTemplateContextTest

testNotFoundProperty_ignoreNotFoundPropertyIsFalse 0
testNotFoundProperty_nested_ignoreNotFoundPropertyIsFalse 0
testNotFoundProperty_nested_ignoreNotFoundPropertyIsTrue 0
testNotFoundProperty_ignoreNotFoundPropertyIsTrue 0.001

MapSqlTemplateContextTest

testNotFoundProperty_ignoreNotFoundPropertyIsFalse 0
testNotFoundProperty_nested_ignoreNotFoundPropetyIsTrue 0
testNotFoundProperty_nested_ignoreNotFoundPropetyIsFalse 0.001
testEvaluateTemplate 0.001
testEvaluateTemplate_nested 0.002
testNotFoundProperty_ignoreNotFoundPropertyIsTrue 0.001

SqlParserTest

testBegin 0.001
testElse 0
testParse_noParams 0.001
testEmbeddedValue_evalELError 0.016
testParse_IfConditionNull 0.001
testBindVariable 0.001
testIf_compare 0
testParse_EndCommentNotFound 0.001
testEmbeddedValue_semicolon 0.001
testParenBindVariable_array 0.003
testParse_HintComment 0.003
testParenBindVariable_object 0
testBindVariable_evalELError 0.001
testParse_IfCondition_wrongExp 0.001
testBindVariable_placeholder 0.003
testEmbeddedValue 0
testIf_null 0
testIf_evalELError 0.001
testParse_commentEndNotFound 0.001
testParenBindVariable_evalELError 0.001
testParenBindVariable_collection 0.002

SqlTemplateContextTest

testEvaluationContextEditor 0.001
testValueTypeRegistry 0.01

SqlTemplateEngineTest

testGetTemplateByResource_cached 0.001
testGetTemplateByText_cached 0.005
testGetTemplateByLocation_cached 0.001

SqlUtilsTest

testIndexOfAny 0.001
testResolveSqlPosition 0

TemplateLoaderTest

testLoadByLocation_suffix_noExtention 0.002
testLoadByLocation_suffix 0.006
testLoadByLocation_noSuffix 0.004
testLoadByLocation_nosuffix_noExtention 0.004
testLoadByLocation_noexist_suffix 0.004
testLoadByResource 0

SqlTemplateValueTypeRegistryTest

testFindValueType_matchEnum 0
testFindValueType_matchPath 0.004
testFindValueType_matchType 0.006
testAddStrippedPropertyPaths_nested_index 0
testAddStrippedPropertyPaths_index 0
testFindValueType_matchNestedPath 0
testAddStrippedPropertyPaths_nested_index2 0
testFindValueType_matchPath_notType 0.001
testAddStrippedPropertyPaths_nest 0
testAddStrippedPropertyPaths_noParen 0

SqlTemplateValueTypeTest

testBindVariableNode_failConversion 0
testParenBindVariableNode_failConversion 0.001
testBindVariableNode 0.001
testParenBindVariableNode 0
testBindVariableNode_path 0.001
testEmbeddedValueNode_failConversion 0.001
testEmbeddedValueNode 0