Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
140 0 0 0 100% 101.656

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.03
org.jomc.tools.test 122 0 0 0 100% 93.841
org.jomc.tools.modlet.test 15 0 0 0 100% 7.785

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
ToolsTypeTest 2 0 0 0 100% 0.017
TemplateParameterTypeTest 1 0 0 0 100% 0.013

org.jomc.tools.test

Class Tests Errors Failures Skipped Success Rate Time
SourceFileProcessorTest 34 0 0 0 100% 41.405
JomcToolTest 26 0 0 0 100% 12.423
ResourceFileProcessorTest 32 0 0 0 100% 15.514
ClassFileProcessorTest 30 0 0 0 100% 24.499

org.jomc.tools.modlet.test

Class Tests Errors Failures Skipped Success Rate Time
ToolsModelValidatorTest 1 0 0 0 100% 7.59
ToolsModelProviderTest 7 0 0 0 100% 0.19
ToolsModelProcessorTest 7 0 0 0 100% 0.005

Test Cases

[Summary] [Package List] [Test Cases]

ToolsModelValidatorTest

testValidateModel 7.59

ToolsTypeTest

testGetAnyObject 0.011
testGetAnyElement 0.006

ToolsModelProviderTest

testEnabled 0.026
testDefaultEnabled 0.001
testHeadComment 0
testDefaultHeadComment 0.001
testTailComment 0.001
testDefaultTailComment 0.001
testFindModel 0.16

SourceFileProcessorTest

testMandatorySections 8.569
testCopyConstructor 2.269
testOptionalSections 2.306
testSourceFileEditor 1.051
testManageSources 4.162
testSourceFileProcessorModelObjectsNotFound 1.103
testSourceFileProcessorNullPointerException 0.965
testSourceFileProcessorNotNull 0.962
testOutputEncoding 1.953
testDefaultTemplateEncoding 1.058
testVelocityEngine 0.871
testTemplateProfile 1.071
testLogLevel 1.13
testJavaIdentifier 0.937
testParentTemplateProfile 0.839
testJavaConstantName 0.794
testJomcToolModelObjectsNotFound 0.979
testModel 0.853
testVelocityTemplates 1.082
testJomcToolNullPointerException 0.835
testToJavaMethodName 0.903
testDefaultLogLevel 0.001
testInputEncoding 0.78
testJavaFieldName 0.618
testVelocityContext 0.694
testJavaMethodParameterName 0.58
testDefaultTemplateProfile 0
testTemplateEncoding 0.57
testIndentation 0.477
testToJavaVariableName 0.548
testHtmlString 0.514
testToJavaConstantName 0.547
testJomcToolNotNull 0.71
testLineSeparator 0.674

JomcToolTest

testOutputEncoding 0.506
testDefaultTemplateEncoding 0.488
testVelocityEngine 0.474
testTemplateProfile 0.508
testLogLevel 0.61
testJavaIdentifier 0.548
testParentTemplateProfile 0.425
testJavaConstantName 0.45
testJomcToolModelObjectsNotFound 0.465
testModel 0.751
testVelocityTemplates 0.422
testJomcToolNullPointerException 0.715
testToJavaMethodName 0.456
testDefaultLogLevel 0
testInputEncoding 0.562
testJavaFieldName 0.568
testVelocityContext 0.646
testJavaMethodParameterName 0.466
testDefaultTemplateProfile 0
testTemplateEncoding 0.566
testIndentation 0.578
testToJavaVariableName 0.538
testHtmlString 0.44
testToJavaConstantName 0.44
testJomcToolNotNull 0.381
testLineSeparator 0.42

ResourceFileProcessorTest

testCopyConstructor 0.559
testWriteResourceBundleResourceFiles 0.529
testResourceBundleDefaultLocale 0.407
testResourceFileProcessorNotNull 0.408
testResourceFileProcessorModelObjectsNotFound 0.395
testResourceFileProcessorNullPointerException 0.432
testOutputEncoding 0.885
testDefaultTemplateEncoding 0.504
testVelocityEngine 0.424
testTemplateProfile 0.381
testLogLevel 0.373
testJavaIdentifier 0.55
testParentTemplateProfile 1.022
testJavaConstantName 0.539
testJomcToolModelObjectsNotFound 0.594
testModel 0.545
testVelocityTemplates 0.545
testJomcToolNullPointerException 0.522
testToJavaMethodName 0.672
testDefaultLogLevel 0
testInputEncoding 0.47
testJavaFieldName 0.543
testVelocityContext 0.865
testJavaMethodParameterName 0.634
testDefaultTemplateProfile 0
testTemplateEncoding 0.441
testIndentation 0.351
testToJavaVariableName 0.344
testHtmlString 0.372
testToJavaConstantName 0.347
testJomcToolNotNull 0.379
testLineSeparator 0.482

ToolsModelProcessorTest

testEnabled 0.001
testProcessModel 0.003
testDefaultEnabled 0
testHeadComment 0
testDefaultHeadComment 0.001
testTailComment 0
testDefaultTailComment 0

ClassFileProcessorTest

testCopyConstructor 0.366
testCommitTransformValidateClasses 13.834
testClassFileProcessorModelObjectsNotFound 1.029
testClassFileProcessorNullPointerException 0.488
testOutputEncoding 0.342
testDefaultTemplateEncoding 0.434
testVelocityEngine 0.489
testTemplateProfile 0.386
testLogLevel 0.377
testJavaIdentifier 0.379
testParentTemplateProfile 0.499
testJavaConstantName 0.374
testJomcToolModelObjectsNotFound 0.354
testModel 0.335
testVelocityTemplates 0.498
testJomcToolNullPointerException 0.326
testToJavaMethodName 0.318
testDefaultLogLevel 0
testInputEncoding 0.323
testJavaFieldName 0.328
testVelocityContext 0.362
testJavaMethodParameterName 0.325
testDefaultTemplateProfile 0
testTemplateEncoding 0.329
testIndentation 0.32
testToJavaVariableName 0.353
testHtmlString 0.361
testToJavaConstantName 0.316
testJomcToolNotNull 0.337
testLineSeparator 0.317

TemplateParameterTypeTest

testGetJavaValue 0.013