test_fixture_t Derived Type

type, public :: test_fixture_t


Inherits

type~~test_fixture_t~~InheritsGraph type~test_fixture_t test_fixture_t type~test_t test_t type~test_fixture_t->type~test_t test_

Inherited by

type~~test_fixture_t~~InheritedByGraph type~test_fixture_t test_fixture_t type~test_harness_t test_harness_t type~test_harness_t->type~test_fixture_t test_fixture_

Components

Type Visibility Attributes Name Initial
class(test_t), private, allocatable :: test_

Constructor

public interface test_fixture_t

  • private module function component_constructor(test) result(test_fixture)

    Construct a test_fixture_t object from its components

    Arguments

    Type IntentOptional Attributes Name
    class(test_t), intent(in) :: test

    Return Value type(test_fixture_t)


Type-Bound Procedures

procedure, public :: report

  • interface

    private module subroutine report(self, passes, tests, skips)

    Print the test results and increment the tallies of passing tests, total tests, and skipped tests.

    Arguments

    Type IntentOptional Attributes Name
    class(test_fixture_t), intent(in) :: self
    integer, intent(inout) :: passes
    integer, intent(inout) :: tests
    integer, intent(inout) :: skips