FV3 Bundle
unittest_define Module Reference

Data Types

interface  get_multiplier
 
interface  unittest_isequal
 
interface  unittest_isequalwithin
 
type  unittest_type
 

Functions/Subroutines

subroutine, public unittest_init (UnitTest, Verbose)
 
subroutine, public unittest_setup (UnitTest, Title, Caller, Verbose)
 
subroutine, public unittest_report (UnitTest)
 
subroutine, public unittest_summary (UnitTest)
 
pure integer function, public unittest_n_passed (UnitTest)
 
pure integer function, public unittest_n_failed (UnitTest)
 
pure logical function, public unittest_passed (UnitTest)
 
pure logical function, public unittest_failed (UnitTest)
 
subroutine, public unittest_assert (UnitTest, Test)
 
subroutine intbyte_isequal_scalar (UnitTest, Expected, Actual)
 
subroutine intbyte_isequal_rank1 (UnitTest, Expected, Actual)
 
subroutine intbyte_isequal_rank2 (UnitTest, Expected, Actual)
 
subroutine intshort_isequal_scalar (UnitTest, Expected, Actual)
 
subroutine intshort_isequal_rank1 (UnitTest, Expected, Actual)
 
subroutine intshort_isequal_rank2 (UnitTest, Expected, Actual)
 
subroutine intlong_isequal_scalar (UnitTest, Expected, Actual)
 
subroutine intlong_isequal_rank1 (UnitTest, Expected, Actual)
 
subroutine intlong_isequal_rank2 (UnitTest, Expected, Actual)
 
subroutine realsp_isequal_scalar (UnitTest, Expected, Actual)
 
subroutine realsp_isequal_rank1 (UnitTest, Expected, Actual)
 
subroutine realsp_isequal_rank2 (UnitTest, Expected, Actual)
 
subroutine realdp_isequal_scalar (UnitTest, Expected, Actual)
 
subroutine realdp_isequal_rank1 (UnitTest, Expected, Actual)
 
subroutine realdp_isequal_rank2 (UnitTest, Expected, Actual)
 
subroutine complexsp_isequal_scalar (UnitTest, Expected, Actual)
 
subroutine complexsp_isequal_rank1 (UnitTest, Expected, Actual)
 
subroutine complexsp_isequal_rank2 (UnitTest, Expected, Actual)
 
subroutine complexdp_isequal_scalar (UnitTest, Expected, Actual)
 
subroutine complexdp_isequal_rank1 (UnitTest, Expected, Actual)
 
subroutine complexdp_isequal_rank2 (UnitTest, Expected, Actual)
 
subroutine char_isequal_scalar (UnitTest, Expected, Actual)
 
subroutine char_isequal_rank1 (UnitTest, Expected, Actual)
 
subroutine char_isequal_rank2 (UnitTest, Expected, Actual)
 
subroutine realsp_isequalwithin_scalar (UnitTest, Expected, Actual, Tolerance, Epsilon_Scale)
 
subroutine realsp_isequalwithin_rank1 (UnitTest, Expected, Actual, Tolerance, Epsilon_Scale)
 
subroutine realsp_isequalwithin_rank2 (UnitTest, Expected, Actual, Tolerance, Epsilon_Scale)
 
subroutine realdp_isequalwithin_scalar (UnitTest, Expected, Actual, Tolerance, Epsilon_Scale)
 
subroutine realdp_isequalwithin_rank1 (UnitTest, Expected, Actual, Tolerance, Epsilon_Scale)
 
subroutine realdp_isequalwithin_rank2 (UnitTest, Expected, Actual, Tolerance, Epsilon_Scale)
 
subroutine complexsp_isequalwithin_scalar (UnitTest, Expected, Actual, Tolerance, Epsilon_Scale)
 
subroutine complexsp_isequalwithin_rank1 (UnitTest, Expected, Actual, Tolerance, Epsilon_Scale)
 
subroutine complexsp_isequalwithin_rank2 (UnitTest, Expected, Actual, Tolerance, Epsilon_Scale)
 
subroutine complexdp_isequalwithin_scalar (UnitTest, Expected, Actual, Tolerance, Epsilon_Scale)
 
subroutine complexdp_isequalwithin_rank1 (UnitTest, Expected, Actual, Tolerance, Epsilon_Scale)
 
subroutine complexdp_isequalwithin_rank2 (UnitTest, Expected, Actual, Tolerance, Epsilon_Scale)
 
subroutine, public unittest_defineversion (Id)
 
pure subroutine set_property (UnitTest, Verbose, Title, Caller, Level, Procedure, Message, Test_Result, n_Tests, n_Passed_Tests, n_Failed_Tests, n_AllTests, n_Passed_AllTests, n_Failed_AllTests)
 
pure subroutine get_property (UnitTest, Verbose, Title, Caller, Level, Procedure, Message, Test_Result, n_Tests, n_Passed_Tests, n_Failed_Tests, n_AllTests, n_Passed_AllTests, n_Failed_AllTests)
 
subroutine test_passed (UnitTest)
 
subroutine test_failed (UnitTest)
 
subroutine test_increment (UnitTest)
 
subroutine display_message (UnitTest)
 
subroutine test_info_string (UnitTest, info)
 
elemental real(single) function realsp_get_multiplier (x)
 
elemental real(double) function realdp_get_multiplier (x)
 

Variables

character(*), parameter module_version_id = '$Id: UnitTest_Define.f90 60152 2015-08-13 19:19:13Z paul.vandelst@noaa.gov $'
 
integer, parameter sl = 512
 
integer, parameter cr = 13
 
integer, parameter lf = 10
 
character(2), parameter crlf = ACHAR(CR)//ACHAR(LF)
 
character(*), parameter rfmt = 'es25.18'
 
character(*), parameter zfmt = '"(",'//RFMT//',",",'//RFMT//',")"'
 
logical, parameter default_verbose = .FALSE.
 
character(*), parameter green_colour = ACHAR(27)//'[1;32m'
 
character(*), parameter red_colour = ACHAR(27)//'[1;31m'
 
character(*), parameter no_colour = ACHAR(27)//'[0m'
 
integer, parameter n_message_levels = 6
 
integer, parameter init_level = 1
 
integer, parameter setup_level = 2
 
integer, parameter test_level = 3
 
integer, parameter report_level = 4
 
integer, parameter summary_level = 5
 
integer, parameter internal_fail_level = 6
 
character(*), dimension(n_message_levels), parameter message_level = [ 'INIT ', 'SETUP ', 'TEST ', 'REPORT ', 'SUMMARY ', 'INTERNAL FAILURE' ]
 

Function/Subroutine Documentation

◆ char_isequal_rank1()

subroutine unittest_define::char_isequal_rank1 ( type(unittest_type), intent(inout)  UnitTest,
character(*), dimension(:), intent(in)  Expected,
character(*), dimension(:), intent(in)  Actual 
)
private

Definition at line 1549 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ char_isequal_rank2()

subroutine unittest_define::char_isequal_rank2 ( type(unittest_type), intent(inout)  UnitTest,
character(*), dimension(:,:), intent(in)  Expected,
character(*), dimension(:,:), intent(in)  Actual 
)
private

Definition at line 1582 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ char_isequal_scalar()

subroutine unittest_define::char_isequal_scalar ( type(unittest_type), intent(inout)  UnitTest,
character(*), intent(in)  Expected,
character(*), intent(in)  Actual 
)
private

Definition at line 1510 of file UnitTest_Define.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ complexdp_isequal_rank1()

subroutine unittest_define::complexdp_isequal_rank1 ( type(unittest_type), intent(inout)  UnitTest,
complex(double), dimension(:), intent(in)  Expected,
complex(double), dimension(:), intent(in)  Actual 
)
private

Definition at line 1440 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ complexdp_isequal_rank2()

subroutine unittest_define::complexdp_isequal_rank2 ( type(unittest_type), intent(inout)  UnitTest,
complex(double), dimension(:,:), intent(in)  Expected,
complex(double), dimension(:,:), intent(in)  Actual 
)
private

Definition at line 1473 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ complexdp_isequal_scalar()

subroutine unittest_define::complexdp_isequal_scalar ( type(unittest_type), intent(inout)  UnitTest,
complex(double), intent(in)  Expected,
complex(double), intent(in)  Actual 
)
private

Definition at line 1398 of file UnitTest_Define.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ complexdp_isequalwithin_rank1()

subroutine unittest_define::complexdp_isequalwithin_rank1 ( type(unittest_type), intent(inout)  UnitTest,
complex(double), dimension(:), intent(in)  Expected,
complex(double), dimension(:), intent(in)  Actual,
complex(double), dimension(:), intent(in)  Tolerance,
logical, intent(in), optional  Epsilon_Scale 
)
private

Definition at line 2232 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ complexdp_isequalwithin_rank2()

subroutine unittest_define::complexdp_isequalwithin_rank2 ( type(unittest_type), intent(inout)  UnitTest,
complex(double), dimension(:,:), intent(in)  Expected,
complex(double), dimension(:,:), intent(in)  Actual,
complex(double), dimension(:,:), intent(in)  Tolerance,
logical, intent(in), optional  Epsilon_Scale 
)
private

Definition at line 2277 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ complexdp_isequalwithin_scalar()

subroutine unittest_define::complexdp_isequalwithin_scalar ( type(unittest_type), intent(inout)  UnitTest,
complex(double), intent(in)  Expected,
complex(double), intent(in)  Actual,
complex(double), intent(in)  Tolerance,
logical, intent(in), optional  Epsilon_Scale 
)
private

Definition at line 2164 of file UnitTest_Define.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ complexsp_isequal_rank1()

subroutine unittest_define::complexsp_isequal_rank1 ( type(unittest_type), intent(inout)  UnitTest,
complex(single), dimension(:), intent(in)  Expected,
complex(single), dimension(:), intent(in)  Actual 
)
private

Definition at line 1328 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ complexsp_isequal_rank2()

subroutine unittest_define::complexsp_isequal_rank2 ( type(unittest_type), intent(inout)  UnitTest,
complex(single), dimension(:,:), intent(in)  Expected,
complex(single), dimension(:,:), intent(in)  Actual 
)
private

Definition at line 1361 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ complexsp_isequal_scalar()

subroutine unittest_define::complexsp_isequal_scalar ( type(unittest_type), intent(inout)  UnitTest,
complex(single), intent(in)  Expected,
complex(single), intent(in)  Actual 
)
private

Definition at line 1286 of file UnitTest_Define.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ complexsp_isequalwithin_rank1()

subroutine unittest_define::complexsp_isequalwithin_rank1 ( type(unittest_type), intent(inout)  UnitTest,
complex(single), dimension(:), intent(in)  Expected,
complex(single), dimension(:), intent(in)  Actual,
complex(single), dimension(:), intent(in)  Tolerance,
logical, intent(in), optional  Epsilon_Scale 
)
private

Definition at line 2067 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ complexsp_isequalwithin_rank2()

subroutine unittest_define::complexsp_isequalwithin_rank2 ( type(unittest_type), intent(inout)  UnitTest,
complex(single), dimension(:,:), intent(in)  Expected,
complex(single), dimension(:,:), intent(in)  Actual,
complex(single), dimension(:,:), intent(in)  Tolerance,
logical, intent(in), optional  Epsilon_Scale 
)
private

Definition at line 2112 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ complexsp_isequalwithin_scalar()

subroutine unittest_define::complexsp_isequalwithin_scalar ( type(unittest_type), intent(inout)  UnitTest,
complex(single), intent(in)  Expected,
complex(single), intent(in)  Actual,
complex(single), intent(in)  Tolerance,
logical, intent(in), optional  Epsilon_Scale 
)
private

Definition at line 1999 of file UnitTest_Define.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ display_message()

subroutine unittest_define::display_message ( type(unittest_type), intent(in)  UnitTest)
private

Definition at line 2878 of file UnitTest_Define.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_property()

pure subroutine unittest_define::get_property ( type(unittest_type), intent(in)  UnitTest,
logical, intent(out), optional  Verbose,
character(*), intent(out), optional  Title,
character(*), intent(out), optional  Caller,
integer, intent(out), optional  Level,
character(*), intent(out), optional  Procedure,
character(*), intent(out), optional  Message,
logical, intent(out), optional  Test_Result,
integer, intent(out), optional  n_Tests,
integer, intent(out), optional  n_Passed_Tests,
integer, intent(out), optional  n_Failed_Tests,
integer, intent(out), optional  n_AllTests,
integer, intent(out), optional  n_Passed_AllTests,
integer, intent(out), optional  n_Failed_AllTests 
)
private

Definition at line 2692 of file UnitTest_Define.f90.

Here is the caller graph for this function:

◆ intbyte_isequal_rank1()

subroutine unittest_define::intbyte_isequal_rank1 ( type(unittest_type), intent(inout)  UnitTest,
integer(byte), dimension(:), intent(in)  Expected,
integer(byte), dimension(:), intent(in)  Actual 
)
private

Definition at line 774 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ intbyte_isequal_rank2()

subroutine unittest_define::intbyte_isequal_rank2 ( type(unittest_type), intent(inout)  UnitTest,
integer(byte), dimension(:,:), intent(in)  Expected,
integer(byte), dimension(:,:), intent(in)  Actual 
)
private

Definition at line 807 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ intbyte_isequal_scalar()

subroutine unittest_define::intbyte_isequal_scalar ( type(unittest_type), intent(inout)  UnitTest,
integer(byte), intent(in)  Expected,
integer(byte), intent(in)  Actual 
)
private

Definition at line 735 of file UnitTest_Define.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ intlong_isequal_rank1()

subroutine unittest_define::intlong_isequal_rank1 ( type(unittest_type), intent(inout)  UnitTest,
integer(long), dimension(:), intent(in)  Expected,
integer(long), dimension(:), intent(in)  Actual 
)
private

Definition at line 992 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ intlong_isequal_rank2()

subroutine unittest_define::intlong_isequal_rank2 ( type(unittest_type), intent(inout)  UnitTest,
integer(long), dimension(:,:), intent(in)  Expected,
integer(long), dimension(:,:), intent(in)  Actual 
)
private

Definition at line 1025 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ intlong_isequal_scalar()

subroutine unittest_define::intlong_isequal_scalar ( type(unittest_type), intent(inout)  UnitTest,
integer(long), intent(in)  Expected,
integer(long), intent(in)  Actual 
)
private

Definition at line 953 of file UnitTest_Define.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ intshort_isequal_rank1()

subroutine unittest_define::intshort_isequal_rank1 ( type(unittest_type), intent(inout)  UnitTest,
integer(short), dimension(:), intent(in)  Expected,
integer(short), dimension(:), intent(in)  Actual 
)
private

Definition at line 883 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ intshort_isequal_rank2()

subroutine unittest_define::intshort_isequal_rank2 ( type(unittest_type), intent(inout)  UnitTest,
integer(short), dimension(:,:), intent(in)  Expected,
integer(short), dimension(:,:), intent(in)  Actual 
)
private

Definition at line 916 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ intshort_isequal_scalar()

subroutine unittest_define::intshort_isequal_scalar ( type(unittest_type), intent(inout)  UnitTest,
integer(short), intent(in)  Expected,
integer(short), intent(in)  Actual 
)
private

Definition at line 844 of file UnitTest_Define.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ realdp_get_multiplier()

elemental real(double) function unittest_define::realdp_get_multiplier ( real(double), intent(in)  x)
private

Definition at line 3012 of file UnitTest_Define.f90.

◆ realdp_isequal_rank1()

subroutine unittest_define::realdp_isequal_rank1 ( type(unittest_type), intent(inout)  UnitTest,
real(double), dimension(:), intent(in)  Expected,
real(double), dimension(:), intent(in)  Actual 
)
private

Definition at line 1216 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ realdp_isequal_rank2()

subroutine unittest_define::realdp_isequal_rank2 ( type(unittest_type), intent(inout)  UnitTest,
real(double), dimension(:,:), intent(in)  Expected,
real(double), dimension(:,:), intent(in)  Actual 
)
private

Definition at line 1249 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ realdp_isequal_scalar()

subroutine unittest_define::realdp_isequal_scalar ( type(unittest_type), intent(inout)  UnitTest,
real(double), intent(in)  Expected,
real(double), intent(in)  Actual 
)
private

Definition at line 1174 of file UnitTest_Define.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ realdp_isequalwithin_rank1()

subroutine unittest_define::realdp_isequalwithin_rank1 ( type(unittest_type), intent(inout)  UnitTest,
real(double), dimension(:), intent(in)  Expected,
real(double), dimension(:), intent(in)  Actual,
real(double), dimension(:), intent(in)  Tolerance,
logical, intent(in), optional  Epsilon_Scale 
)
private

Definition at line 1902 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ realdp_isequalwithin_rank2()

subroutine unittest_define::realdp_isequalwithin_rank2 ( type(unittest_type), intent(inout)  UnitTest,
real(double), dimension(:,:), intent(in)  Expected,
real(double), dimension(:,:), intent(in)  Actual,
real(double), dimension(:,:), intent(in)  Tolerance,
logical, intent(in), optional  Epsilon_Scale 
)
private

Definition at line 1947 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ realdp_isequalwithin_scalar()

subroutine unittest_define::realdp_isequalwithin_scalar ( type(unittest_type), intent(inout)  UnitTest,
real(double), intent(in)  Expected,
real(double), intent(in)  Actual,
real(double), intent(in)  Tolerance,
logical, intent(in), optional  Epsilon_Scale 
)
private

Definition at line 1845 of file UnitTest_Define.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ realsp_get_multiplier()

elemental real(single) function unittest_define::realsp_get_multiplier ( real(single), intent(in)  x)
private

Definition at line 3002 of file UnitTest_Define.f90.

◆ realsp_isequal_rank1()

subroutine unittest_define::realsp_isequal_rank1 ( type(unittest_type), intent(inout)  UnitTest,
real(single), dimension(:), intent(in)  Expected,
real(single), dimension(:), intent(in)  Actual 
)
private

Definition at line 1104 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ realsp_isequal_rank2()

subroutine unittest_define::realsp_isequal_rank2 ( type(unittest_type), intent(inout)  UnitTest,
real(single), dimension(:,:), intent(in)  Expected,
real(single), dimension(:,:), intent(in)  Actual 
)
private

Definition at line 1137 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ realsp_isequal_scalar()

subroutine unittest_define::realsp_isequal_scalar ( type(unittest_type), intent(inout)  UnitTest,
real(single), intent(in)  Expected,
real(single), intent(in)  Actual 
)
private

Definition at line 1062 of file UnitTest_Define.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ realsp_isequalwithin_rank1()

subroutine unittest_define::realsp_isequalwithin_rank1 ( type(unittest_type), intent(inout)  UnitTest,
real(single), dimension(:), intent(in)  Expected,
real(single), dimension(:), intent(in)  Actual,
real(single), dimension(:), intent(in)  Tolerance,
logical, intent(in), optional  Epsilon_Scale 
)
private

Definition at line 1748 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ realsp_isequalwithin_rank2()

subroutine unittest_define::realsp_isequalwithin_rank2 ( type(unittest_type), intent(inout)  UnitTest,
real(single), dimension(:,:), intent(in)  Expected,
real(single), dimension(:,:), intent(in)  Actual,
real(single), dimension(:,:), intent(in)  Tolerance,
logical, intent(in), optional  Epsilon_Scale 
)
private

Definition at line 1793 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ realsp_isequalwithin_scalar()

subroutine unittest_define::realsp_isequalwithin_scalar ( type(unittest_type), intent(inout)  UnitTest,
real(single), intent(in)  Expected,
real(single), intent(in)  Actual,
real(single), intent(in)  Tolerance,
logical, intent(in), optional  Epsilon_Scale 
)
private

Definition at line 1691 of file UnitTest_Define.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_property()

pure subroutine unittest_define::set_property ( type(unittest_type), intent(inout)  UnitTest,
logical, intent(in), optional  Verbose,
character(*), intent(in), optional  Title,
character(*), intent(in), optional  Caller,
integer, intent(in), optional  Level,
character(*), intent(in), optional  Procedure,
character(*), intent(in), optional  Message,
logical, intent(in), optional  Test_Result,
integer, intent(in), optional  n_Tests,
integer, intent(in), optional  n_Passed_Tests,
integer, intent(in), optional  n_Failed_Tests,
integer, intent(in), optional  n_AllTests,
integer, intent(in), optional  n_Passed_AllTests,
integer, intent(in), optional  n_Failed_AllTests 
)
private

Definition at line 2512 of file UnitTest_Define.f90.

Here is the caller graph for this function:

◆ test_failed()

subroutine unittest_define::test_failed ( type(unittest_type), intent(inout)  UnitTest)
private

Definition at line 2792 of file UnitTest_Define.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_increment()

subroutine unittest_define::test_increment ( type(unittest_type), intent(inout)  UnitTest)
private

Definition at line 2839 of file UnitTest_Define.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_info_string()

subroutine unittest_define::test_info_string ( type(unittest_type), intent(in)  UnitTest,
character(*), intent(out)  info 
)
private

Definition at line 2955 of file UnitTest_Define.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_passed()

subroutine unittest_define::test_passed ( type(unittest_type), intent(inout)  UnitTest)
private

Definition at line 2745 of file UnitTest_Define.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unittest_assert()

subroutine, public unittest_define::unittest_assert ( type(unittest_type), intent(inout)  UnitTest,
logical, intent(in)  Test 
)

Definition at line 654 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ unittest_defineversion()

subroutine, public unittest_define::unittest_defineversion ( character(*), intent(out)  Id)

Definition at line 2347 of file UnitTest_Define.f90.

◆ unittest_failed()

pure logical function, public unittest_define::unittest_failed ( type(unittest_type), intent(in)  UnitTest)

Definition at line 618 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ unittest_init()

subroutine, public unittest_define::unittest_init ( type(unittest_type), intent(out)  UnitTest,
logical, intent(in), optional  Verbose 
)

Definition at line 219 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ unittest_n_failed()

pure integer function, public unittest_define::unittest_n_failed ( type(unittest_type), intent(in)  UnitTest)

Definition at line 542 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ unittest_n_passed()

pure integer function, public unittest_define::unittest_n_passed ( type(unittest_type), intent(in)  UnitTest)

Definition at line 507 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ unittest_passed()

pure logical function, public unittest_define::unittest_passed ( type(unittest_type), intent(in)  UnitTest)

Definition at line 579 of file UnitTest_Define.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unittest_report()

subroutine, public unittest_define::unittest_report ( type(unittest_type), intent(inout)  UnitTest)

Definition at line 363 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ unittest_setup()

subroutine, public unittest_define::unittest_setup ( type(unittest_type), intent(inout)  UnitTest,
character(*), intent(in)  Title,
character(*), intent(in), optional  Caller,
logical, intent(in), optional  Verbose 
)

Definition at line 300 of file UnitTest_Define.f90.

Here is the call graph for this function:

◆ unittest_summary()

subroutine, public unittest_define::unittest_summary ( type(unittest_type), intent(inout)  UnitTest)

Definition at line 433 of file UnitTest_Define.f90.

Here is the call graph for this function:

Variable Documentation

◆ cr

integer, parameter unittest_define::cr = 13
private

Definition at line 117 of file UnitTest_Define.f90.

◆ crlf

character(2), parameter unittest_define::crlf = ACHAR(CR)//ACHAR(LF)
private

Definition at line 119 of file UnitTest_Define.f90.

◆ default_verbose

logical, parameter unittest_define::default_verbose = .FALSE.
private

Definition at line 122 of file UnitTest_Define.f90.

◆ green_colour

character(*), parameter unittest_define::green_colour = ACHAR(27)//'[1;32m'
private

Definition at line 125 of file UnitTest_Define.f90.

◆ init_level

integer, parameter unittest_define::init_level = 1
private

Definition at line 131 of file UnitTest_Define.f90.

◆ internal_fail_level

integer, parameter unittest_define::internal_fail_level = 6
private

Definition at line 136 of file UnitTest_Define.f90.

◆ lf

integer, parameter unittest_define::lf = 10
private

Definition at line 118 of file UnitTest_Define.f90.

◆ message_level

character(*), dimension(n_message_levels), parameter unittest_define::message_level = [ 'INIT ', 'SETUP ', 'TEST ', 'REPORT ', 'SUMMARY ', 'INTERNAL FAILURE' ]
private

Definition at line 137 of file UnitTest_Define.f90.

◆ module_version_id

character(*), parameter unittest_define::module_version_id = '$Id: UnitTest_Define.f90 60152 2015-08-13 19:19:13Z paul.vandelst@noaa.gov $'
private

Definition at line 114 of file UnitTest_Define.f90.

◆ n_message_levels

integer, parameter unittest_define::n_message_levels = 6
private

Definition at line 130 of file UnitTest_Define.f90.

◆ no_colour

character(*), parameter unittest_define::no_colour = ACHAR(27)//'[0m'
private

Definition at line 127 of file UnitTest_Define.f90.

◆ red_colour

character(*), parameter unittest_define::red_colour = ACHAR(27)//'[1;31m'
private

Definition at line 126 of file UnitTest_Define.f90.

◆ report_level

integer, parameter unittest_define::report_level = 4
private

Definition at line 134 of file UnitTest_Define.f90.

◆ rfmt

character(*), parameter unittest_define::rfmt = 'es25.18'
private

Definition at line 120 of file UnitTest_Define.f90.

◆ setup_level

integer, parameter unittest_define::setup_level = 2
private

Definition at line 132 of file UnitTest_Define.f90.

◆ sl

integer, parameter unittest_define::sl = 512
private

Definition at line 116 of file UnitTest_Define.f90.

◆ summary_level

integer, parameter unittest_define::summary_level = 5
private

Definition at line 135 of file UnitTest_Define.f90.

◆ test_level

integer, parameter unittest_define::test_level = 3
private

Definition at line 133 of file UnitTest_Define.f90.

◆ zfmt

character(*), parameter unittest_define::zfmt = '"(",'//RFMT//',",",'//RFMT//',")"'
private

Definition at line 121 of file UnitTest_Define.f90.