AUnit.Reporter.Text

More...

Entities

Tagged types

Text_Reporter

Dispatching subprograms

Report
Report_Error_Tests
Report_Fail_Tests
Report_OK_Tests
Set_Use_ANSI_Colors

Description

Text_Reporter [source]

35 type Text_Reporter is new Reporter with private;

Inherits Reporter

Report [source]

44 procedure Report (Engine : Text_Reporter;
45 R : in out Result'Class;
46 Options : AUnit_Options := Default_Options);
Engine of type AUnit.Reporter.Text.Text_Reporter
R of type AUnit.Test_Results.Result
Options of type AUnit.Options.AUnit_Options

Report_Error_Tests [source]

52 procedure Report_Error_Tests (Engine : Text_Reporter;
53 R : Result'Class);

These subprograms implement the various parts of the Report. You can therefore chose in which order to report the various categories, and whether or not to report them. After calling any of these, the list of results has been modified in R, so you should get the counts first.

Engine of type AUnit.Reporter.Text.Text_Reporter
R of type AUnit.Test_Results.Result

Report_Fail_Tests [source]

50 procedure Report_Fail_Tests (Engine : Text_Reporter;
51 R : Result'Class);
Engine of type AUnit.Reporter.Text.Text_Reporter
R of type AUnit.Test_Results.Result

Report_OK_Tests [source]

48 procedure Report_OK_Tests (Engine : Text_Reporter;
49 R : Result'Class);
Engine of type AUnit.Reporter.Text.Text_Reporter
R of type AUnit.Test_Results.Result

Set_Use_ANSI_Colors [source]

37 procedure Set_Use_ANSI_Colors
38 (Engine : in out Text_Reporter;
39 Value : Boolean);

Setting this value will enable colors output on an ANSI compatible terminal. By default, no color is used.

Engine of type AUnit.Reporter.Text.Text_Reporter
Value of type Boolean