Encapsulate test descriptions and test-functions
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(string_t), | private | :: | description_ | ||||
procedure(test_function_i), | private, | pointer, nopass | :: | test_function_ | => | null() |
The result is a test_description_t object with the components defined by the dummy arguments
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | description | |||
procedure(test_function_i), | intent(in), | pointer | :: | test_function |
The result is a test_description_t object with the components defined by the dummy arguments
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(string_t), | intent(in) | :: | description | |||
procedure(test_function_i), | intent(in), | pointer | :: | test_function |
The result encapsulates the test description and test outcome
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(test_description_t), | intent(in) | :: | self |
The result is .true. if the test description includes the value of substring
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(test_description_t), | intent(in) | :: | self | |||
character(len=*), | intent(in) | :: | substring |
The result is .true. if the test description includes the value of substring
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(test_description_t), | intent(in) | :: | self | |||
type(string_t), | intent(in) | :: | substring |
The result is .true. if the components of the lhs & rhs are equal
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(test_description_t), | intent(in) | :: | lhs | |||
class(test_description_t), | intent(in) | :: | rhs |