Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
61 0 0 0 100% 6.082

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
de.icongmbh.oss.maven.plugin.javassist 61 0 0 0 100% 6.082

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

de.icongmbh.oss.maven.plugin.javassist

Class Tests Errors Failures Skipped Success Rate Time
TestJavassistTransformerExecutor_transform 19 0 0 0 100% 2.512
ClassnameExtractorTest 3 0 0 0 100% 0.017
TestJavassistTransformerExecuter 24 0 0 0 100% 0.144
JavassistMojoTest 3 0 0 0 100% 2.771
TestJavassistTransformerExecutor_transform_with_nested_classes 5 0 0 0 100% 0.206
TestJavassistTransformerExecutor_TransformerClasses_handling 7 0 0 0 100% 0.432

Test Cases

[Summary] [Package List] [Test Cases]

TestJavassistTransformerExecutor_transform

use_input_directory_if_output_directory_is_empty 1.796
continue_transform_with_next_class_if_internal_CannotCompileException_was_catched_on_writeFile 0.111
do_nothing_if_inputDir_not_exist 0
append_required_classPathes_on_classPool 0.006
not_applyTransformation_if_hasStamp_returns_true 0.034
continue_transform_with_next_class_if_internal_JavassistBuildException_was_catched_on_applyTransformations 0.101
do_nothing_if_classNames_is_null 0
do_nothing_if_classNames_not_hasNext 0.007
do_nothing_if_classNames_hasNext_but_next_returns_null 0.002
throw_RuntimeException_if_internal_NotFoundException_was_catched 0.015
do_nothing_if_inputDir_is_empty 0.001
not_applyTransformation_if_shouldTransform_returns_false 0.002
transform_stamp_and_write_class 0.042
use_input_directory_if_output_directory_is_null 0.067
do_nothing_if_inputDir_is_null 0.002
continue_if_class_could_not_found_in_classPool_and_throws_NotFoundException 0.008
do_nothing_if_transformer_is_null 0.002
continue_transform_with_next_class_if_internal_IOException_was_catched_on_writeFile 0.09
use_only_input_directory 0.089

ClassnameExtractorTest

testIterateClassnames 0
testExtractClassNameFromFile 0
testListClassnames 0

TestJavassistTransformerExecuter

applyStamp_throws_NullPointer_if_candidateClass_is_null 0
outputDirectory 0
removeStamp_ignores_internal_NotFoundException 0.005
hasStamp_returns_false_if_NotFoundException_is_thrown 0.002
outputDirectory_null 0.002
inputDirectory_empty 0.001
iterateClassnames_should_return_two_of_three_files 0.074
applyStamp_on_Class 0.004
outputDirectory_empty 0.001
hasStamp_returns_false_if_getDeclaredField_returns_null 0.005
configureClassPool 0.007
inputDirectory_null 0.003
configureClassPool_throws_NullPointer_if_classPool_is_null 0.001
removeStamp_on_Interface 0.003
hasStamp_returns_true_if_getDeclaredField_returns_not_null 0.001
evaluateOutputDirectory_returns_inputDir_if_null 0.001
evaluateOutputDirectory 0
evaluateOutputDirectory_returns_inputDir_if_empty 0
applyStamp_on_Interface 0.001
iterateClassnames_throws_NullPointerException_if_directory_is_null 0.001
removeStamp_on_Class 0.002
buildClassPool 0
evaluateOutputDirectory_throws_NullPointer_if_both_directories_are_null 0.002
inputDirectory 0.001

JavassistMojoTest

testSkip 2.141
testOverrideBuildDirAndTestDir 0.377
testSimpleConfig 0.25

TestJavassistTransformerExecutor_transform_with_nested_classes

transform_and_stamp_nested_class 0.03
throws_NullPointerException_if_nestedClasses_returns_null 0.03
do_nothing_if_nestedClass_is_not_modified 0.041
throws_NullPointerException_if_nestedClasses_returns_array_with_null 0.045
do_nothing_if_nestedClass_is_stamped 0.039

TestJavassistTransformerExecutor_TransformerClasses_handling

applyTransformation_Of_All_Transformers_When_Using_Input_As_Output_Directory 0.092
not_throw_any_Exception_with_null_element_in_TransformerClasses_array 0.077
not_throw_any_Exception_with_empty_TransformerClasses_array 0.065
throw_NullPointerException_if_set_null_for_TransformerClasses_array 0.014
not_applyTransformation_if_shouldTransform_returns_false 0.055
applyTransformation_if_shouldTransform_returns_true_and_class_has_no_stamp 0.05
not_throw_any_Exception_without_TransformerClasses 0.064