AUnit.Simple_Test_Cases

More...

Entities

Access types

Test_Case_Access

Tagged types

Test_Case

Dispatching subprograms

Name
Routine_Name
Run
Run_Test
Set_Up
Tear_Down

Description

Test_Case_Access [source]

45 type Test_Case_Access is access all Test_Case'Class;

Test_Case [source]

44 type Test_Case is abstract new AUnit.Assertions.Test with private;

Inherits Test

Inherited by Test_Case, Test_Case

Name [source]

47 function Name (Test : Test_Case) return Message_String is abstract;

Test case name

Test of type AUnit.Simple_Test_Cases.Test_Case
Return value

Routine_Name [source]

50 function Routine_Name (Test : Test_Case) return Message_String;

Routine name. By default return a null Message_String

Test of type AUnit.Simple_Test_Cases.Test_Case
Return value

Run [source]

67 procedure Run (Test : access Test_Case;
68 Options : AUnit.Options.AUnit_Options;
69 R : in out Result'Class;
70 Outcome : out Status);

Run test case. Do not override

Test of type
Options of type AUnit.Options.AUnit_Options
R of type AUnit.Test_Results.Result
Outcome of type AUnit.Status

Run_Test [source]

53 procedure Run_Test
54 (Test : in out Test_Case) is abstract;

Perform the test.

Test of type AUnit.Simple_Test_Cases.Test_Case

Set_Up [source]

57 procedure Set_Up (Test : in out Test_Case);

Set up performed before each test

Test of type AUnit.Simple_Test_Cases.Test_Case

Tear_Down [source]

60 procedure Tear_Down (Test : in out Test_Case);

Tear down performed after each test

Test of type AUnit.Simple_Test_Cases.Test_Case