Debian Codegraph @

tests/arguments_basic_tests.ads

raw
1 --
2 -- D_Bus/Ada - An Ada binding to D-Bus
3 --
4 -- Copyright (C) 2011, 2012 Reto Buerki <[email protected]>
5 --
6 -- This program is free software; you can redistribute it and/or
7 -- modify it under the terms of the GNU General Public License
8 -- as published by the Free Software Foundation; either version 2
9 -- of the License, or (at your option) any later version.
10 --
11 -- This program is distributed in the hope that it will be useful,
12 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
13 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 -- GNU General Public License for more details.
15 --
16 -- You should have received a copy of the GNU General Public License
17 -- along with this program; if not, write to the Free Software
18 -- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
19 -- USA.
20 --
21 -- As a special exception, if other files instantiate generics from this
22 -- unit, or you link this unit with other files to produce an
23 -- executable this unit does not by itself cause the resulting
24 -- executable to be covered by the GNU General Public License. This
25 -- exception does not however invalidate any other reasons why the
26 -- executable file might be covered by the GNU Public License.
27 --
28
29 with Ahven.Framework;
30
31 package Arguments_Basic_Tests is
32
33 type Testcase is new Ahven.Framework.Test_Case with null record;
34
35 procedure Initialize (T : in out Testcase);
36 -- Initialize testcase.
37
38 procedure Marshal_String_Type;
39 -- Verify serialization/deserialization of string type.
40
41 procedure Marshal_Object_Path_Type;
42 -- Verify serialization/deserialization of object path type.
43
44 procedure Marshal_Boolean_Type;
45 -- Verify serialization/deserialization of boolean type.
46
47 procedure Marshal_U_Int64_Type;
48 -- Verify serialization/deserialization of U_Int64 type.
49
50 procedure Marshal_Int64_Type;
51 -- Verify serialization/deserialization of Int64 type.
52
53 procedure Marshal_U_Int32_Type;
54 -- Verify serialization/deserialization of U_Int32 type.
55
56 procedure Marshal_Int32_Type;
57 -- Verify serialization/deserialization of Int32 type.
58
59 procedure Marshal_U_Int16_Type;
60 -- Verify serialization/deserialization of U_Int16 type.
61
62 procedure Marshal_Int16_Type;
63 -- Verify serialization/deserialization of Int16 type.
64
65 procedure Marshal_Byte_Type;
66 -- Verify serialization/deserialization of byte type.
67
68 end Arguments_Basic_Tests;