| commit 507: | 4a1b2db597cb |
| parent 506: | 23b7763b8540 |
| branch: | default |
Align code a little.
Changed (Δ41 bytes):
raw changeset »
src/ahven-results.adb (6 lines added, 6 lines removed)
Up to file-list src/ahven-results.adb:
| … | … | @@ -115,19 +115,19 @@ package body Ahven.Results is |
115 |
115 |
end Get_Output_File; |
116 |
116 |
|
117 |
117 |
procedure Add_Child (Collection : in out Result_Collection; |
118 |
Child |
|
118 |
Child : Result_Collection_Access) is |
|
119 |
119 |
begin |
120 |
120 |
Append (Collection.Children, Result_Collection_Wrapper'(Ptr => Child)); |
121 |
121 |
end Add_Child; |
122 |
122 |
|
123 |
123 |
procedure Add_Error (Collection : in out Result_Collection; |
124 |
Info |
|
124 |
Info : Result_Info) is |
|
125 |
125 |
begin |
126 |
126 |
Append (Collection.Errors, Info); |
127 |
127 |
end Add_Error; |
128 |
128 |
|
129 |
129 |
procedure Add_Failure (Collection : in out Result_Collection; |
130 |
Info |
|
130 |
Info : Result_Info) is |
|
131 |
131 |
begin |
132 |
132 |
Append (Collection.Failures, Info); |
133 |
133 |
end Add_Failure; |
| … | … | @@ -203,7 +203,7 @@ package body Ahven.Results is |
203 |
203 |
end Direct_Test_Count; |
204 |
204 |
|
205 |
205 |
function Pass_Count (Collection : Result_Collection) return Natural is |
206 |
Count |
|
206 |
Count : Natural := Length (Collection.Passes); |
|
207 |
207 |
Position : Result_List.Cursor := First (Collection.Children); |
208 |
208 |
begin |
209 |
209 |
loop |
| … | … | @@ -216,7 +216,7 @@ package body Ahven.Results is |
216 |
216 |
end Pass_Count; |
217 |
217 |
|
218 |
218 |
function Error_Count (Collection : Result_Collection) return Natural is |
219 |
Count |
|
219 |
Count : Natural := Length (Collection.Errors); |
|
220 |
220 |
Position : Result_List.Cursor := First (Collection.Children); |
221 |
221 |
begin |
222 |
222 |
loop |
| … | … | @@ -229,7 +229,7 @@ package body Ahven.Results is |
229 |
229 |
end Error_Count; |
230 |
230 |
|
231 |
231 |
function Failure_Count (Collection : Result_Collection) return Natural is |
232 |
Count |
|
232 |
Count : Natural := Length (Collection.Failures); |
|
233 |
233 |
Position : Result_List.Cursor := First (Collection.Children); |
234 |
234 |
begin |
235 |
235 |
loop |
