Type Summary
Result_Collection derived from Controlled |
Overridden Operations: |
Finalize
|
New Operations: |
Add_Child ,
Add_Error ,
Add_Failure ,
Add_Pass ,
Child_Depth ,
Direct_Test_Count ,
Error_Count ,
Failure_Count ,
First_Child ,
First_Error ,
First_Failure ,
First_Pass ,
Get_Execution_Time ,
Get_Parent ,
Get_Test_Name ,
Pass_Count ,
Set_Name ,
Set_Parent ,
Test_Count
|
Inherited Operations: |
Adjust ,
Initialize
|
Result_Collection_Access |
Result_Collection_Iterator |
Primitive Operations: |
Data ,
First_Child ,
Is_Valid ,
Next
|
Result_Info |
Primitive Operations: |
Add_Error ,
Add_Failure ,
Add_Pass ,
Data ,
Get_Execution_Time ,
Get_Long_Message ,
Get_Message ,
Get_Output_File ,
Get_Routine_Name ,
Get_Test_Name ,
Set_Execution_Time ,
Set_Long_Message ,
Set_Long_Message ,
Set_Message ,
Set_Message ,
Set_Output_File ,
Set_Output_File ,
Set_Routine_Name ,
Set_Routine_Name ,
Set_Test_Name ,
Set_Test_Name
|
Result_Info_Iterator |
Primitive Operations: |
Data ,
First_Error ,
First_Failure ,
First_Pass ,
Is_Valid ,
Next
|
|
Constants and Named Numbers
|
Other Items:
|
|
|
|
procedure Set_Message (Info : in out Result_Info;
Message : Unbounded_String);
|
Set a message for the result place.
|
|
procedure Set_Test_Name (Info : in out Result_Info; Name : String);
|
A helper function, which calls Set_Test_Name (.. ; Unbounded_String)
|
|
procedure Set_Routine_Name (Info : in out Result_Info; Name : String);
|
A helper function, which calls Set_Routine_Name (.. ; Unbounded_String)
|
|
procedure Set_Message (Info : in out Result_Info; Message : String);
|
A helper function, which calls Set_Message (.. ; Unbounded_String)
|
|
procedure Set_Long_Message (Info : in out Result_Info;
Message : Unbounded_String);
|
A helper function, which calls Set_Message (.. ; Unbounded_String)
|
|
procedure Set_Long_Message (Info : in out Result_Info; Message : String);
|
A helper function, which calls Set_Long_Message (.. ; Unbounded_String)
|
|
|
|
|
|
|
|
|
|
function Get_Output_File (Info : Result_Info) return Unbounded_String;
|
Return the name of the output file.
Empty string is returned in case there is no output file.
|
|
type Result_Collection is new Ada.Finalization.Controlled with private;
|
A collection of Result_Info objects.
Contains also child collections.
|
|
|
|
|
|
|
procedure Finalize (Collection : in out Result_Collection);
|
Finalize procedure for the collection. Frees also
all children added via Add_Child.
|
|
|
|
function Test_Count (Collection : Result_Collection) return Natural;
|
Return the amount of tests in the collection.
Tests in child collections are included.
|
|
function Direct_Test_Count (Collection : Result_Collection) return Natural;
|
Return the amount of tests in the collection.
The tests in the child collections are NOT included.
|
|
function Pass_Count (Collection : Result_Collection) return Natural;
|
Return the amount of passed tests in the collection.
Tests in child collections are included.
|
|
function Error_Count (Collection : Result_Collection) return Natural;
|
Return the amount of test errors in the collection.
Tests in child collections are included.
|
|
function Failure_Count (Collection : Result_Collection) return Natural;
|
Return the amount of test errors in the collection.
Tests in child collections are included.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private
|