summaryrefslogtreecommitdiff
path: root/src/test/test-interface-proxy.fidl
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-interface-proxy.fidl')
-rw-r--r--src/test/test-interface-proxy.fidl130
1 files changed, 67 insertions, 63 deletions
diff --git a/src/test/test-interface-proxy.fidl b/src/test/test-interface-proxy.fidl
index 0f4b33c..3f12dec 100644
--- a/src/test/test-interface-proxy.fidl
+++ b/src/test/test-interface-proxy.fidl
@@ -8,50 +8,50 @@ package commonapi.tests
import commonapi.tests.* from "test-derived-types.fidl"
interface TestInterface {
- version { major 1 minor 0 }
-
- attribute UInt32 TestPredefinedTypeAttribute
- attribute DerivedTypeCollection.TestStructExtended TestDerivedStructAttribute
- attribute DerivedTypeCollection.TestArrayUInt64 TestDerivedArrayAttribute
-
- method testEmptyMethod {
- }
-
- method testVoidPredefinedTypeMethod {
- in {
- UInt32 uint32Value
- String stringValue
- }
- }
-
- method testPredefinedTypeMethod {
- in {
- UInt32 uint32InValue
- String stringInValue
- }
- out {
- UInt32 uint32OutValue
- String stringOutValue
- }
- }
-
- method testVoidDerivedTypeMethod {
- in {
- DerivedTypeCollection.TestEnumExtended2 testEnumExtended2Value
- DerivedTypeCollection.TestMap testMapValue
- }
- }
-
- method testDerivedTypeMethod {
- in {
- DerivedTypeCollection.TestEnumExtended2 testEnumExtended2InValue
- DerivedTypeCollection.TestMap testMapInValue
- }
- out {
- DerivedTypeCollection.TestEnumExtended2 testEnumExtended2OutValue
- DerivedTypeCollection.TestMap testMapOutValue
- }
- }
+ version { major 1 minor 0 }
+
+ attribute UInt32 TestPredefinedTypeAttribute
+ attribute DerivedTypeCollection.TestStructExtended TestDerivedStructAttribute
+ attribute DerivedTypeCollection.TestArrayUInt64 TestDerivedArrayAttribute
+
+ method testEmptyMethod {
+ }
+
+ method testVoidPredefinedTypeMethod {
+ in {
+ UInt32 uint32Value
+ String stringValue
+ }
+ }
+
+ method testPredefinedTypeMethod {
+ in {
+ UInt32 uint32InValue
+ String stringInValue
+ }
+ out {
+ UInt32 uint32OutValue
+ String stringOutValue
+ }
+ }
+
+ method testVoidDerivedTypeMethod {
+ in {
+ DerivedTypeCollection.TestEnumExtended2 testEnumExtended2Value
+ DerivedTypeCollection.TestMap testMapValue
+ }
+ }
+
+ method testDerivedTypeMethod {
+ in {
+ DerivedTypeCollection.TestEnumExtended2 testEnumExtended2InValue
+ DerivedTypeCollection.TestMap testMapInValue
+ }
+ out {
+ DerivedTypeCollection.TestEnumExtended2 testEnumExtended2OutValue
+ DerivedTypeCollection.TestMap testMapOutValue
+ }
+ }
method TestArrayOfPolymorphicStructMethod {
in {
@@ -66,34 +66,34 @@ interface TestInterface {
}
method TestStructWithPolymorphicMemberMethod {
- in {
- DerivedTypeCollection.StructWithPolymorphicMember inStruct
- }
+ in {
+ DerivedTypeCollection.StructWithPolymorphicMember inStruct
+ }
}
method TestStructWithEnumKeyMapMember {
- in {
- DerivedTypeCollection.StructWithEnumKeyMap inStruct
- }
+ in {
+ DerivedTypeCollection.StructWithEnumKeyMap inStruct
+ }
}
- broadcast TestPredefinedTypeBroadcast {
- out {
- UInt32 uint32Value
- String stringValue
- }
- }
+ broadcast TestPredefinedTypeBroadcast {
+ out {
+ UInt32 uint32Value
+ String stringValue
+ }
+ }
- broadcast TestSelectiveBroadcast selective {
- }
-
- broadcast TestBroadcastWithOutArgs selective {
+ broadcast TestSelectiveBroadcast selective {
+ }
+
+ broadcast TestBroadcastWithOutArgs selective {
out {
UInt32 uint32Value
String stringValue
- }
- }
+ }
+ }
}
interface ExtendedInterface extends TestInterface {
@@ -104,4 +104,8 @@ interface ExtendedInterface extends TestInterface {
UInt32 inInt
}
}
-} \ No newline at end of file
+}
+
+interface TestInterfaceManager manages TestInterface {
+ version { major 1 minor 0 }
+}