Define an abstraction for describing test intentions and array-valued test functions
The result encapsulates the test description and test outcome
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_test_description_t), | intent(in) | :: | self |
The result is a vector_test_description_t object with the components defined by the dummy arguments
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(string_t), | intent(in) | :: | descriptions(:) | |||
procedure(vector_diagnosis_function_i), | intent(in), | optional, | pointer | :: | vector_diagnosis_function |
The result is .true. if the test description includes the value of substring
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_test_description_t), | intent(in) | :: | self | |||
character(len=*), | intent(in) | :: | substring |
The result is .true. if the test description includes the value of substring%string()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector_test_description_t), | intent(in) | :: | self | |||
type(string_t), | intent(in) | :: | substring |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(string_t), | private, | allocatable | :: | descriptions_(:) | |||
procedure(vector_diagnosis_function_i), | private, | pointer, nopass | :: | vector_diagnosis_function_ | => | null() |
private module function construct_from_strings (descriptions, vector_diagnosis_function) | The result is a vector_test_description_t object with the components defined by the dummy arguments |
generic, public :: contains_text => contains_string_t, contains_characters | |
procedure, public :: run | |
procedure, private :: contains_characters | |
procedure, private :: contains_string_t |