File: api-ahven-parameters.txt

package info (click to toggle)
ahven 2.1-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,724 kB
  • sloc: ada: 3,928; makefile: 259; xml: 108; sh: 57; python: 25; perl: 7
file content (112 lines) | stat: -rw-r--r-- 1,788 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
:mod:`Ahven.Parameters` -- Package
==================================

.. module:: Ahven.Parameters
.. moduleauthor:: Tero Koskinen <tero.koskinen@iki.fi>

-----
Types
-----

Parameter_Info
''''''''''''''

::

   type Parameter_Info is private;


Parameter_Mode
''''''''''''''

::

   type Parameter_Mode is (NORMAL_PARAMETERS, TAP_PARAMETERS);


------------------------
Procedures and Functions
------------------------

   procedure Parse_Parameters (Mode :     Parameter_Mode;
                               Info : out Parameter_Info);

Parse Ada.Command_Line parameters and put the results
to the Info parameter. Raises Invalid_Parameter if
some parameter is invalid.

Parse_Parameters
''''''''''''''''

::

   procedure Parse_Parameters (Mode :     Parameter_Mode;
                               Info : out Parameter_Info);

Parse Ada.Command_Line parameters and put the results
to the Info parameter. Raises Invalid_Parameter if
some parameter is invalid.

Usage
'''''

::

   procedure Usage (Mode : Parameter_Mode := NORMAL_PARAMETERS);

Print usage.

Capture
'''''''

::

   function Capture (Info : Parameter_Info) return Boolean;

Capture Ada.Text_IO output?

Verbose
'''''''

::

   function Verbose (Info : Parameter_Info) return Boolean;

Use verbose mode?

XML_Results
'''''''''''

::

   function XML_Results (Info : Parameter_Info) return Boolean;

Output XML?

Single_Test
'''''''''''

::

   function Single_Test (Info : Parameter_Info) return Boolean;

Run a single test (case/suite/routine) only?

Test_Name
'''''''''

::

   function Test_Name (Info : Parameter_Info) return String;

Return the name of the test passed as a parameter.

Result_Dir
''''''''''

::

   function Result_Dir (Info : Parameter_Info) return String;

Return the directory for XML results.