Summary

Tests Errors Failures Skipped Success Rate Time
103 0 0 0 100% 1.064

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List

Package Tests Errors Failures Skipped Success Rate Time
org.fest.reflect.type 10 0 0 0 100% 0.047
org.fest.reflect.core 10 0 0 0 100% 0.047
org.fest.reflect.method 31 0 0 0 100% 0.172
org.fest.reflect.field 26 0 0 0 100% 0.501
org.fest.reflect.beanproperty 13 0 0 0 100% 0.141
org.fest.reflect.innerclass 5 0 0 0 100% 0.109
org.fest.reflect.constructor 8 0 0 0 100% 0.047

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

org.fest.reflect.type

Class Tests Errors Failures Skipped Success Rate Time
Type_Test 10 0 0 0 100% 0.047

org.fest.reflect.core

Class Tests Errors Failures Skipped Success Rate Time
FEST68_CatchingWrongExceptions_Test 2 0 0 0 100% 0.016
Reflection_Test 8 0 0 0 100% 0.031

org.fest.reflect.method

Class Tests Errors Failures Skipped Success Rate Time
Method_method_Test 17 0 0 0 100% 0.094
Method_staticMethod_Test 14 0 0 0 100% 0.078

org.fest.reflect.field

Class Tests Errors Failures Skipped Success Rate Time
Field_field_Test 13 0 0 0 100% 0.141
Field_staticField_Test 13 0 0 0 100% 0.36

org.fest.reflect.beanproperty

Class Tests Errors Failures Skipped Success Rate Time
Property_Test 13 0 0 0 100% 0.141

org.fest.reflect.innerclass

Class Tests Errors Failures Skipped Success Rate Time
StaticInnerClass_Test 5 0 0 0 100% 0.109

org.fest.reflect.constructor

Class Tests Errors Failures Skipped Success Rate Time
Constructor_Test 8 0 0 0 100% 0.047

Test Cases

Property_Test

should_throw_error_if_property_name_is_null 0
should_throw_error_if_property_name_is_empty 0.016
should_throw_error_if_property_type_is_null 0
should_throw_error_if_target_is_null 0.016
should_get_property_value 0.015
should_set_property_value 0.016
should_return_real_property 0
should_throw_error_if_wrong_property_type_was_specified 0
should_throw_error_if_property_name_is_invalid 0.015
should_get_property_in_super_type 0
should_throw_error_if_TypeRef_is_null 0.016
should_use_TypeRef_to_read_property 0
should_use_TypeRef_to_write_property 0

Constructor_Test

should_create_new_instance_with_default_constructor 0
should_create_new_instance_using_given_constructor_parameters 0
should_return_real_constructor 0
should_throw_error_if_parameter_type_array_is_null 0
should_throw_error_if_constructor_was_not_found 0
should_throw_error_if_instance_was_not_created 0
should_rethrow_RuntimeException_thrown_by_constructor 0
should_wrap_with_a_ReflectionError_the_checked_Exception_thrown_by_constructor 0.016

FEST68_CatchingWrongExceptions_Test

should_not_catch_RuntimeException_when_calling_method 0.016
should_not_catch_RuntimeException_when_calling_constructor 0

Reflection_Test

should_return_constructor_fluent_interface 0
should_return_field_fluent_interface 0
should_return_static_field_fluent_interface 0
should_return_method_fluent_interface 0
should_return_static_method_fluent_interface 0
should_return_type_fluent_interface 0.016
should_return_static_inner_class_fluent_interface 0
should_return_property_fluent_interface 0

Field_field_Test

should_throw_error_if_target_is_null 0.016
should_throw_error_if_TypeRef_is_null 0.015
should_throw_error_if_field_name_is_null 0.016
should_throw_error_if_field_name_is_empty 0.015
should_throw_error_if_field_type_is_null 0.016
should_get_field_value 0
should_set_field_value 0
should_return_real_field 0
should_throw_error_if_wrong_field_type_was_specified 0
should_throw_error_if_field_name_is_invalid 0.015
should_get_field_in_super_type 0
should_use_TypeRef_to_read_field 0.016
should_use_TypeRef_to_write_field 0

Field_staticField_Test

should_throw_error_if_target_is_null 0.063
should_throw_error_if_TypeRef_is_null 0.015
should_throw_error_if_static_field_name_is_null 0.016
should_throw_error_if_static_field_name_is_empty 0.016
should_throw_error_if_static_field_type_is_null 0.015
should_get_static_field_value 0.031
should_set_static_field_value 0
should_return_real_static_field 0.032
should_throw_error_if_wrong_static_field_type_was_specified 0.015
should_throw_error_if_static_field_name_is_invalid 0.032
should_get_static_field_in_super_type 0
should_use_TypeRef_to_read_static_field 0.015
should_use_TypeRef_to_write_static_field 0.016

StaticInnerClass_Test

should_throw_error_if_static_inner_class_name_is_null 0.031
should_throw_error_if_static_inner_class_name_is_empty 0.016
should_throw_error_if_declaring_class_is_null 0.015
should_see_static_inner_class 0.031
should_return_null_if_static_inner_class_does_not_exist 0.016

Method_method_Test

should_throw_error_if_method_name_is_null 0
should_throw_error_if_method_name_is_empty 0
should_throw_error_if_method_return_type_is_null 0.016
should_throw_error_if_method_return_TypeRef_is_null 0
should_throw_error_if_method_parameter_array_is_null 0
should_throw_error_if_method_target_is_null 0.015
should_call_method_with_args_and_no_return_value 0
should_call_method_with_no_args_and_return_value 0
should_call_method_with_args_and_return_value 0
should_call_method_with_no_args_and_return_TypeRef 0
should_call_method_with_args_and_return_TypeRef 0
should_call_method_with_no_args_and_no_return_value 0.016
should_return_real_method 0
should_throw_error_if_method_name_is_invalid 0
should_throw_error_if_args_for_method_are_invalid 0
should_rethrow_RuntimeException_thrown_by_method 0.016
should_wrap_with_a_ReflectionError_the_checked_Exception_thrown_by_method 0

Method_staticMethod_Test

should_throw_error_if_static_method_name_is_null 0
should_throw_error_if_static_method_name_is_empty 0
should_throw_error_if_static_method_return_type_is_null 0
should_throw_error_if_static_method_return_TypeRef_is_null 0
should_throw_error_if_static_method_parameter_array_is_null 0
should_throw_error_if_static_method_target_is_null 0.016
should_call_static_method_with_no_args_and_return_value 0
should_call_static_method_with_args_and_return_value 0
should_call_static_method_with_no_args_and_return_TypeRef 0
should_call_static_method_with_args_and_return_TypeRef 0
should_call_static_method_with_args_and_no_return_value 0
should_call_static_method_with_no_args_and_no_return_value 0
should_throw_error_if_static_method_name_is_invalid 0.016
should_throw_error_if_args_for_static_method_are_invalid 0

Type_Test

should_throw_error_if__type_name_is_null 0
should_throw_error_if__type_name_is_empty 0
should_throw_error_if_subtype_is_mull 0.016
should_load_class 0
should_load_class_with_given_ClassLoader 0
should_throw_error_if_Classloader_is_null 0
should_wrap_any_Exception_thrown_when_loading_class 0
should_load_class_as_given_type 0
should_load_class_as_given_type_with_given_ClassLoader 0
should_wrap_any_Exception_thrown_when_loading_class_as_given_type 0