Skip to content

Commit 49cdc3c

Browse files
authored
Merge pull request #94 from BerkeleyLab/auto-generate-driver
doc(test_result_t): clarify role
2 parents c5da31f + a11e0fe commit 49cdc3c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/julienne/julienne_test_result_m.f90

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
! Terms of use are as specified in LICENSE.txt
33

44
module julienne_test_result_m
5-
!! Define an abstraction for describing test intentions and results
5+
!! Define an abstraction for describing test results the test description and,
6+
!! if the test was not skipped, then also a test diagnosis.
67
use julienne_string_m, only : string_t
78
use julienne_test_diagnosis_m, only : test_diagnosis_t
89
implicit none
@@ -11,7 +12,10 @@ module julienne_test_result_m
1112
public :: test_result_t
1213

1314
type test_result_t
14-
!! Encapsulate test descriptions and outcomes
15+
!! Encapsulate a test-description string and optionally a test diagnosis.
16+
!! This type is similar to test_description_t and test_diagnosis_t type but
17+
!! 1. Doesn't need the former's procedure(diagnosis_function_i) component and
18+
!! 2. Allocates an instance of the latter if and only if the test wasn't skipped.
1519
private
1620
type(string_t) :: description_
1721
type(test_diagnosis_t), allocatable :: diagnosis_

0 commit comments

Comments
 (0)