AUnit.Test_Suites

More...

Entities

Simple types

Test_Suite_Elt_Kind

Access types

Access_Test_Suite

Record types

Test_Suite_Element

Tagged types

Test_Suite

Subprograms

Add_Test
Add_Test
New_Suite

Dispatching subprograms

Run

Generic instantiations

Test_Lists (generic instantiation)

Description

Test_Suite_Elt_Kind [source]

63 type Test_Suite_Elt_Kind is
64 (TC_Elt,
65 TS_Elt);
TC_Elt
TS_Elt

Access_Test_Suite [source]

44 type Access_Test_Suite is access all Test_Suite'Class;

Test_Suite_Element [source]

67 type Test_Suite_Element (Kind : Test_Suite_Elt_Kind := TC_Elt) is record
68 case Kind is
69 when TC_Elt =>
70 TC : Test_Case_Access;
71 when TS_Elt =>
72 TS : Access_Test_Suite;
73 end case;
74 end record;
Kind of type AUnit.Test_Suites.Test_Suite_Elt_Kind
TC of type AUnit.Simple_Test_Cases.Test_Case_Access
TS of type AUnit.Test_Suites.Access_Test_Suite

Test_Suite [source]

43 type Test_Suite is new AUnit.Tests.Test with private;

Inherits Test

Add_Test [source]

46 procedure Add_Test (S : access Test_Suite'Class;
47 T : access Test_Suite'Class);
S of type
T of type

Add_Test [source]

48 procedure Add_Test (S : access Test_Suite'Class;
49 T : access Test_Case'Class);

Add a test case or suite to this suite

S of type
T of type

New_Suite [source]

58 function New_Suite return Access_Test_Suite;

Create a new test suite

Return value

Run [source]

52 procedure Run (Suite : access Test_Suite;
53 Options : AUnit_Options;
54 R : in out Result'Class;
55 Outcome : out Status);

Run all tests collected into this suite

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

Test_Lists (generic instantiation) [source]

78package Test_Lists is new Ada_Containers.AUnit_Lists (Test_Suite_Element);

Instantiation of Ada_Containers.AUnit_Lists