summaryrefslogtreecommitdiff
path: root/src/test/root.fidl
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/root.fidl')
-rw-r--r--src/test/root.fidl51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/test/root.fidl b/src/test/root.fidl
new file mode 100644
index 0000000..1183953
--- /dev/null
+++ b/src/test/root.fidl
@@ -0,0 +1,51 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+package commonapi.tests.managed
+
+import commonapi.tests.managed.* from "leaf.fidl"
+
+
+interface BranchInterface {
+ version { major 1 minor 0 }
+
+
+ method testBranchMethod {
+ in {
+ Int32 inInt
+ String inString
+ }
+ out {
+ Int32 outInt
+ String outString
+ }
+ error {
+ OK
+ NOTOK
+ }
+ }
+
+}
+
+
+
+interface RootInterface manages LeafInterface, BranchInterface {
+ version { major 1 minor 0 }
+
+ method testRootMethod {
+ in {
+ Int32 inInt
+ String inString
+ }
+ out {
+ Int32 outInt
+ String outString
+ }
+ error {
+ OK
+ NOTOK
+ }
+ }
+
+}
+