AUnit.Test_Caller

More...

Entities

Access types

Fixture_Access
Test_Case_Access
Test_Method

Tagged types

Test_Case

Subprograms

Create
Create

Dispatching subprograms

Name
Run_Test
Set_Up
Tear_Down

Description

Fixture_Access [source]

112 type Fixture_Access is access all Test_Fixture;

Test_Case_Access [source]

81 type Test_Case_Access is access all Test_Case'Class;

Test_Method [source]

83 procedure (Test : in out Test_Fixture);

Test_Case [source]

80 type Test_Case is new AUnit.Simple_Test_Cases.Test_Case with private;

Inherits Test_Case

Create [source]

85 function Create
86 (Name : String;
87 Test : Test_Method) return Test_Case_Access;

Return a test case from a test fixture method, reporting the result of the test using the Name parameter.

Name of type String
Test of type AUnit.Test_Caller.Test_Method
Return value

Create [source]

91 procedure Create
92 (TC : out Test_Case'Class;
93 Name : String;
94 Test : Test_Method);

Initialize a test case from a test fixture method, reporting the result of the test using the Name parameter.

TC of type AUnit.Test_Caller.Test_Case
Name of type String
Test of type AUnit.Test_Caller.Test_Method

Name [source]

98 function Name (Test : Test_Case) return Message_String;

Test case name

Test of type AUnit.Test_Caller.Test_Case
Return value

Run_Test [source]

101 procedure Run_Test (Test : in out Test_Case);

Perform the test.

Test of type AUnit.Test_Caller.Test_Case

Set_Up [source]

104 procedure Set_Up (Test : in out Test_Case);

Set up performed before each test case

Test of type AUnit.Test_Caller.Test_Case

Tear_Down [source]

107 procedure Tear_Down (Test : in out Test_Case);

Tear down performed after each test case

Test of type AUnit.Test_Caller.Test_Case