1 | ------------------------------------------------------------------------------ |
---|---|
2 | -- -- |
3 | -- GNAT COMPILER COMPONENTS -- |
4 | -- -- |
5 | -- A U N I T . O P T I O N S -- |
6 | -- -- |
7 | -- S p e c -- |
8 | -- -- |
9 | -- -- |
10 | -- Copyright (C) 2009-2013, AdaCore -- |
11 | -- -- |
12 | -- GNAT is free software; you can redistribute it and/or modify it under -- |
13 | -- terms of the GNU General Public License as published by the Free Soft- -- |
14 | -- ware Foundation; either version 3, or (at your option) any later ver- -- |
15 | -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- |
16 | -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- |
17 | -- or FITNESS FOR A PARTICULAR PURPOSE. -- |
18 | -- -- |
19 | -- As a special exception under Section 7 of GPL version 3, you are granted -- |
20 | -- additional permissions described in the GCC Runtime Library Exception, -- |
21 | -- version 3.1, as published by the Free Software Foundation. -- |
22 | -- -- |
23 | -- You should have received a copy of the GNU General Public License and -- |
24 | -- a copy of the GCC Runtime Library Exception along with this program; -- |
25 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- |
26 | -- <http://www.gnu.org/licenses/>. -- |
27 | -- -- |
28 | -- GNAT is maintained by AdaCore (http://www.adacore.com) -- |
29 | -- -- |
30 | ------------------------------------------------------------------------------ |
31 | |
32 | with AUnit.Test_Filters; |
33 | |
34 | package AUnit.Options is |
35 | |
36 | type AUnit_Options is record |
37 | Global_Timer : Boolean := False; |
38 | Test_Case_Timer : Boolean := False; |
39 | Report_Successes : Boolean := True; |
40 | Filter : AUnit.Test_Filters.Test_Filter_Access := null; |
41 | end record; |
42 | -- Options used to determine how a test should be run. |
43 | |
44 | Default_Options : constant AUnit_Options := |
45 | (Global_Timer => False, |
46 | Test_Case_Timer => False, |
47 | Report_Successes => True, |
48 | Filter => null); |
49 | |
50 | end AUnit.Options; |