tests: fix blocking semantic in DBusProxyTest
[profile/ivi/common-api-dbus-runtime.git] / src / test / test-interface-proxy.fidl
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 package commonapi.tests
5
6 import commonapi.tests.* from "test-derived-types.fidl"
7
8 interface TestInterface {
9         version { major 1 minor 0 }
10
11         attribute UInt32 TestPredefinedTypeAttribute
12         attribute DerivedTypeCollection.TestStructExtended TestDerivedStructAttribute
13         attribute DerivedTypeCollection.TestArrayUInt64 TestDerivedArrayAttribute
14
15         method testVoidPredefinedTypeMethod {
16                 in {
17                         UInt32 uint32Value
18                         String stringValue
19                 }
20         }
21
22         method testPredefinedTypeMethod {
23                 in {
24                         UInt32 uint32InValue
25                         String stringInValue
26                 }
27                 out {
28                         UInt32 uint32OutValue
29                         String stringOutValue
30                 }
31         }
32
33         method testVoidDerivedTypeMethod {
34                 in {
35                         DerivedTypeCollection.TestEnumExtended2 testEnumExtended2Value
36                         DerivedTypeCollection.TestMap testMapValue
37                 }
38         }
39
40         method testDerivedTypeMethod {
41                 in {
42                         DerivedTypeCollection.TestEnumExtended2 testEnumExtended2InValue
43                         DerivedTypeCollection.TestMap testMapInValue
44                 }
45                 out {
46                         DerivedTypeCollection.TestEnumExtended2 testEnumExtended2OutValue
47                         DerivedTypeCollection.TestMap testMapOutValue
48                 }
49         }
50
51         broadcast TestPredefinedTypeBroadcast {
52                 out {
53                         UInt32 uint32Value
54                         String stringValue
55                 }
56         }
57 }
58