Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.021
org.jomc.tools.test 122 0 0 0 100% 76.616
org.jomc.tools.modlet.test 15 0 0 0 100% 0.631

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.004
TemplateParameterTypeTest 1 0 0 0 100% 0.017

org.jomc.tools.test

Class Tests Errors Failures Skipped Success Rate Time
JomcToolTest 26 0 0 0 100% 23.946
SourceFileProcessorTest 34 0 0 0 100% 17.86
ResourceFileProcessorTest 32 0 0 0 100% 12.003
ClassFileProcessorTest 30 0 0 0 100% 22.807

org.jomc.tools.modlet.test

Class Tests Errors Failures Skipped Success Rate Time
ToolsModelValidatorTest 1 0 0 0 100% 0.618
ToolsModelProcessorTest 7 0 0 0 100% 0.006
ToolsModelProviderTest 7 0 0 0 100% 0.007

Test Cases

[Summary] [Package List] [Test Cases]

JomcToolTest

testOutputEncoding 3.54
testDefaultTemplateEncoding 1.262
testVelocityEngine 1.823
testTemplateProfile 1.28
testLogLevel 0.888
testJavaIdentifier 0.861
testParentTemplateProfile 0.816
testJavaConstantName 0.986
testJomcToolModelObjectsNotFound 0.813
testModel 0.781
testVelocityTemplates 1.68
testJomcToolNullPointerException 0.648
testToJavaMethodName 0.653
testDefaultLogLevel 0
testInputEncoding 0.898
testJavaFieldName 0.775
testVelocityContext 0.784
testJavaMethodParameterName 1.231
testDefaultTemplateProfile 0.001
testTemplateEncoding 0.951
testIndentation 0.619
testToJavaVariableName 0.509
testHtmlString 0.547
testToJavaConstantName 0.532
testJomcToolNotNull 0.536
testLineSeparator 0.532

ToolsModelValidatorTest

testValidateModel 0.618

SourceFileProcessorTest

testMandatorySections 1.593
testCopyConstructor 0.74
testOptionalSections 1.01
testSourceFileEditor 0.494
testManageSources 2.069
testSourceFileProcessorModelObjectsNotFound 0.459
testSourceFileProcessorNullPointerException 0.434
testSourceFileProcessorNotNull 0.473
testOutputEncoding 0.5
testDefaultTemplateEncoding 0.498
testVelocityEngine 0.677
testTemplateProfile 0.505
testLogLevel 0.456
testJavaIdentifier 0.525
testParentTemplateProfile 0.497
testJavaConstantName 0.416
testJomcToolModelObjectsNotFound 0.4
testModel 0.424
testVelocityTemplates 0.549
testJomcToolNullPointerException 0.392
testToJavaMethodName 0.378
testDefaultLogLevel 0.001
testInputEncoding 0.375
testJavaFieldName 0.389
testVelocityContext 0.41
testJavaMethodParameterName 0.371
testDefaultTemplateProfile 0.001
testTemplateEncoding 0.38
testIndentation 0.371
testToJavaVariableName 0.521
testHtmlString 0.371
testToJavaConstantName 0.37
testJomcToolNotNull 0.409
testLineSeparator 0.402

ResourceFileProcessorTest

testCopyConstructor 0.378
testWriteResourceBundleResourceFiles 0.472
testResourceBundleDefaultLocale 0.367
testResourceFileProcessorNotNull 0.368
testResourceFileProcessorModelObjectsNotFound 0.42
testResourceFileProcessorNullPointerException 0.365
testOutputEncoding 0.367
testDefaultTemplateEncoding 0.381
testVelocityEngine 0.397
testTemplateProfile 0.363
testLogLevel 0.482
testJavaIdentifier 0.42
testParentTemplateProfile 0.383
testJavaConstantName 0.497
testJomcToolModelObjectsNotFound 0.369
testModel 0.355
testVelocityTemplates 0.476
testJomcToolNullPointerException 0.442
testToJavaMethodName 0.376
testDefaultLogLevel 0
testInputEncoding 0.39
testJavaFieldName 0.368
testVelocityContext 0.405
testJavaMethodParameterName 0.436
testDefaultTemplateProfile 0
testTemplateEncoding 0.41
testIndentation 0.35
testToJavaVariableName 0.351
testHtmlString 0.355
testToJavaConstantName 0.356
testJomcToolNotNull 0.55
testLineSeparator 0.354

ToolsTypeTest

testGetAnyObject 0.003
testGetAnyElement 0.001

TemplateParameterTypeTest

testGetJavaValue 0.017

ToolsModelProcessorTest

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

ToolsModelProviderTest

testEnabled 0.002
testDefaultEnabled 0
testHeadComment 0
testDefaultHeadComment 0.001
testTailComment 0
testDefaultTailComment 0
testFindModel 0.004

ClassFileProcessorTest

testCopyConstructor 0.384
testCommitTransformValidateClasses 12.825
testClassFileProcessorModelObjectsNotFound 0.936
testClassFileProcessorNullPointerException 0.512
testOutputEncoding 0.341
testDefaultTemplateEncoding 0.35
testVelocityEngine 0.338
testTemplateProfile 0.35
testLogLevel 0.332
testJavaIdentifier 0.328
testParentTemplateProfile 0.371
testJavaConstantName 0.329
testJomcToolModelObjectsNotFound 0.326
testModel 0.337
testVelocityTemplates 0.363
testJomcToolNullPointerException 0.343
testToJavaMethodName 0.332
testDefaultLogLevel 0
testInputEncoding 0.324
testJavaFieldName 0.329
testVelocityContext 0.36
testJavaMethodParameterName 0.333
testDefaultTemplateProfile 0
testTemplateEncoding 0.344
testIndentation 0.35
testToJavaVariableName 0.357
testHtmlString 0.332
testToJavaConstantName 0.323
testJomcToolNotNull 0.336
testLineSeparator 0.322