Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
262 0 0 0 100% 585.233

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
org.jomc.tools.model.test 3 0 0 0 100% 0.272
org.jomc.tools.test 244 0 0 0 100% 580.105
org.jomc.tools.modlet.test 15 0 0 0 100% 4.856

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

org.jomc.tools.model.test

Class Tests Errors Failures Skipped Success Rate Time
TemplateParameterTypeTest 1 0 0 0 100% 0.055
ToolsTypeTest 2 0 0 0 100% 0.217

org.jomc.tools.test

Class Tests Errors Failures Skipped Success Rate Time
ResourceFileProcessorTest 32 0 0 0 100% 86.465
ClassFileProcessorExecutorServiceTest 30 0 0 0 100% 98.135
SourceFileProcessorTest 34 0 0 0 100% 60.119
ResourceFileProcessorExecutorServiceTest 32 0 0 0 100% 48.837
JomcToolTest 26 0 0 0 100% 55.673
SourceFileProcessorExecutorServiceTest 34 0 0 0 100% 118.72
ClassFileProcessorTest 30 0 0 0 100% 87.943
JomcToolExecutorServiceTest 26 0 0 0 100% 24.213

org.jomc.tools.modlet.test

Class Tests Errors Failures Skipped Success Rate Time
ToolsModelProviderTest 7 0 0 0 100% 3.655
ToolsModelValidatorTest 1 0 0 0 100% 0.882
ToolsModelProcessorTest 7 0 0 0 100% 0.319

Test Cases

[Summary] [Package List] [Test Cases]

ToolsModelProviderTest

testEnabled 1.284
testDefaultEnabled 0
testHeadComment 0.013
testDefaultHeadComment 0.001
testTailComment 0.003
testDefaultTailComment 0.005
testFindModel 0.569

ResourceFileProcessorTest

testCopyConstructor 11.086
testWriteResourceBundleResourceFiles 5.747
testResourceBundleDefaultLocale 4.234
testResourceFileProcessorNotNull 2.715
testResourceFileProcessorModelObjectsNotFound 4.143
testResourceFileProcessorNullPointerException 3.8
testOutputEncoding 2.791
testDefaultTemplateEncoding 3.402
testVelocityEngine 4.41
testTemplateProfile 3.396
testLogLevel 2.582
testJavaIdentifier 1.755
testParentTemplateProfile 2.091
testJavaConstantName 2.78
testJomcToolModelObjectsNotFound 2.618
testModel 1.986
testVelocityTemplates 4.941
testJomcToolNullPointerException 2.456
testToJavaMethodName 1.765
testDefaultLogLevel 0.018
testInputEncoding 1.984
testJavaFieldName 1.642
testVelocityContext 1.827
testJavaMethodParameterName 1.401
testDefaultTemplateProfile 0
testTemplateEncoding 1.473
testIndentation 1.336
testToJavaVariableName 1.356
testHtmlString 1.325
testToJavaConstantName 0.638
testJomcToolNotNull 1.431
testLineSeparator 0.649

ToolsModelValidatorTest

testValidateModel 0.876

ClassFileProcessorExecutorServiceTest

testCopyConstructor 8.325
testCommitTransformValidateClasses 58.279
testClassFileProcessorModelObjectsNotFound 3.764
testClassFileProcessorNullPointerException 1.753
testOutputEncoding 1.272
testDefaultTemplateEncoding 1.037
testVelocityEngine 1.978
testTemplateProfile 0.961
testLogLevel 1.084
testJavaIdentifier 0.679
testParentTemplateProfile 1.606
testJavaConstantName 1.046
testJomcToolModelObjectsNotFound 0.681
testModel 1.09
testVelocityTemplates 1.216
testJomcToolNullPointerException 0.867
testToJavaMethodName 0.847
testDefaultLogLevel 0
testInputEncoding 0.841
testJavaFieldName 1.642
testVelocityContext 1.505
testJavaMethodParameterName 1.42
testDefaultTemplateProfile 0.001
testTemplateEncoding 0.765
testIndentation 0.729
testToJavaVariableName 0.742
testHtmlString 1.152
testToJavaConstantName 0.893
testJomcToolNotNull 0.725
testLineSeparator 0.846

TemplateParameterTypeTest

testGetJavaValue 0.051

SourceFileProcessorTest

testMandatorySections 3.399
testCopyConstructor 1.535
testOptionalSections 2.5
testSourceFileEditor 1.4
testManageSources 18.371
testSourceFileProcessorModelObjectsNotFound 0.571
testSourceFileProcessorNullPointerException 0.921
testSourceFileProcessorNotNull 0.99
testOutputEncoding 1.318
testDefaultTemplateEncoding 0.814
testVelocityEngine 1.382
testTemplateProfile 0.557
testLogLevel 0.462
testJavaIdentifier 0.79
testParentTemplateProfile 1.077
testJavaConstantName 0.58
testJomcToolModelObjectsNotFound 0.489
testModel 0.497
testVelocityTemplates 0.991
testJomcToolNullPointerException 0.715
testToJavaMethodName 0.6
testDefaultLogLevel 0
testInputEncoding 1.025
testJavaFieldName 0.947
testVelocityContext 0.676
testJavaMethodParameterName 10.328
testDefaultTemplateProfile 0.006
testTemplateEncoding 1.223
testIndentation 0.616
testToJavaVariableName 1.011
testHtmlString 0.847
testToJavaConstantName 1.354
testJomcToolNotNull 0.917
testLineSeparator 1.059

ResourceFileProcessorExecutorServiceTest

testCopyConstructor 5.17
testWriteResourceBundleResourceFiles 2.81
testResourceBundleDefaultLocale 0.73
testResourceFileProcessorNotNull 0.945
testResourceFileProcessorModelObjectsNotFound 0.66
testResourceFileProcessorNullPointerException 1.445
testOutputEncoding 0.464
testDefaultTemplateEncoding 0.755
testVelocityEngine 1.206
testTemplateProfile 1.311
testLogLevel 0.895
testJavaIdentifier 1.592
testParentTemplateProfile 2.01
testJavaConstantName 1.318
testJomcToolModelObjectsNotFound 1.657
testModel 0.987
testVelocityTemplates 1.499
testJomcToolNullPointerException 1.591
testToJavaMethodName 12.055
testDefaultLogLevel 0
testInputEncoding 0.563
testJavaFieldName 0.845
testVelocityContext 0.923
testJavaMethodParameterName 0.869
testDefaultTemplateProfile 0
testTemplateEncoding 1.473
testIndentation 1.188
testToJavaVariableName 0.795
testHtmlString 0.499
testToJavaConstantName 0.52
testJomcToolNotNull 0.5
testLineSeparator 1.483

JomcToolTest

testOutputEncoding 0.501
testDefaultTemplateEncoding 0.621
testVelocityEngine 0.526
testTemplateProfile 0.717
testLogLevel 1.492
testJavaIdentifier 0.434
testParentTemplateProfile 1.697
testJavaConstantName 1.387
testJomcToolModelObjectsNotFound 2.128
testModel 1.16
testVelocityTemplates 2.155
testJomcToolNullPointerException 1.275
testToJavaMethodName 1.196
testDefaultLogLevel 0
testInputEncoding 1.684
testJavaFieldName 1.242
testVelocityContext 14.31
testJavaMethodParameterName 0.562
testDefaultTemplateProfile 0
testTemplateEncoding 7.765
testIndentation 7.871
testToJavaVariableName 1.641
testHtmlString 1.358
testToJavaConstantName 1.358
testJomcToolNotNull 1.506
testLineSeparator 1.028

ToolsTypeTest

testGetAnyObject 0.136
testGetAnyElement 0.05

SourceFileProcessorExecutorServiceTest

testMandatorySections 2.654
testCopyConstructor 1.747
testOptionalSections 2.97
testSourceFileEditor 1.774
testManageSources 35.972
testSourceFileProcessorModelObjectsNotFound 2.264
testSourceFileProcessorNullPointerException 0.918
testSourceFileProcessorNotNull 1.608
testOutputEncoding 1.188
testDefaultTemplateEncoding 1.579
testVelocityEngine 0.779
testTemplateProfile 1.325
testLogLevel 2.71
testJavaIdentifier 1.122
testParentTemplateProfile 8.406
testJavaConstantName 7.976
testJomcToolModelObjectsNotFound 2.227
testModel 2.065
testVelocityTemplates 14.312
testJomcToolNullPointerException 0.5
testToJavaMethodName 6.71
testDefaultLogLevel 0
testInputEncoding 1.762
testJavaFieldName 7.543
testVelocityContext 0.798
testJavaMethodParameterName 0.709
testDefaultTemplateProfile 0
testTemplateEncoding 1.28
testIndentation 1.369
testToJavaVariableName 0.498
testHtmlString 0.746
testToJavaConstantName 0.909
testJomcToolNotNull 0.854
testLineSeparator 1.337

ClassFileProcessorTest

testCopyConstructor 4.241
testCommitTransformValidateClasses 62.533
testClassFileProcessorModelObjectsNotFound 1.737
testClassFileProcessorNullPointerException 0.906
testOutputEncoding 0.412
testDefaultTemplateEncoding 0.828
testVelocityEngine 0.404
testTemplateProfile 0.423
testLogLevel 0.527
testJavaIdentifier 0.703
testParentTemplateProfile 1.093
testJavaConstantName 1.312
testJomcToolModelObjectsNotFound 1.709
testModel 0.902
testVelocityTemplates 1.114
testJomcToolNullPointerException 0.716
testToJavaMethodName 0.71
testDefaultLogLevel 0
testInputEncoding 0.605
testJavaFieldName 0.937
testVelocityContext 0.865
testJavaMethodParameterName 0.586
testDefaultTemplateProfile 0
testTemplateEncoding 0.495
testIndentation 0.624
testToJavaVariableName 0.864
testHtmlString 0.729
testToJavaConstantName 0.436
testJomcToolNotNull 0.628
testLineSeparator 0.723

ToolsModelProcessorTest

testEnabled 0.195
testProcessModel 0.022
testDefaultEnabled 0.002
testHeadComment 0.008
testDefaultHeadComment 0.007
testTailComment 0.003
testDefaultTailComment 0.006

JomcToolExecutorServiceTest

testOutputEncoding 1.789
testDefaultTemplateEncoding 1.145
testVelocityEngine 1.561
testTemplateProfile 1.022
testLogLevel 1.64
testJavaIdentifier 0.683
testParentTemplateProfile 0.551
testJavaConstantName 0.461
testJomcToolModelObjectsNotFound 0.56
testModel 0.462
testVelocityTemplates 0.549
testJomcToolNullPointerException 0.517
testToJavaMethodName 0.472
testDefaultLogLevel 0
testInputEncoding 1.716
testJavaFieldName 1.035
testVelocityContext 1.219
testJavaMethodParameterName 0.93
testDefaultTemplateProfile 0.001
testTemplateEncoding 0.631
testIndentation 0.722
testToJavaVariableName 1.218
testHtmlString 1.554
testToJavaConstantName 1.961
testJomcToolNotNull 0.898
testLineSeparator 0.879