tests: whitespace cleanup
authorAleksandar Kanchev <kanchev@itestra.com>
Fri, 22 Mar 2013 11:15:56 +0000 (12:15 +0100)
committerAleksandar Kanchev <kanchev@itestra.com>
Fri, 22 Mar 2013 11:15:56 +0000 (12:15 +0100)
src/test/test-derived-types.fidl
src/test/test-interface-proxy.fidl
src/test/test-predefined-types.fidl

index 48343f9..da82e80 100644 (file)
@@ -1,60 +1,60 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public\r
- * License, v. 2.0. If a copy of the MPL was not distributed with this\r
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */\r
-package commonapi.tests\r
-\r
-import commonapi.tests.* from "test-predefined-types.fidl"\r
-\r
-typeCollection DerivedTypeCollection {\r
-\r
-       map TestMap { UInt32 to TestArrayTestStruct }\r
-       \r
-       struct TestStructExtended extends TestStruct {\r
-               TestEnumExtended2 testEnumExtended2\r
-       }\r
-\r
-       map TestEnumMap { TestEnum to String }\r
-\r
-       <** @description : Common errors. **>\r
-       enumeration TestEnum {\r
-                <** @description : default **>\r
-               E_UNKNOWN = "0x00"\r
-               <** @description : no error - positive reply **>\r
-               E_OK = "0x01"\r
-               <** @description : value out of range **>\r
-               E_OUT_OF_RANGE = "0x02"\r
-           <** @description : not used **>\r
-               E_NOT_USED = "0x03"\r
-       }\r
-       \r
-       array TestArrayTestStruct of TestStruct\r
-       \r
-       enumeration TestEnumExtended2 extends TestEnumExtended {\r
-               <** @description : new error **>\r
-               E_NEW2 = "0x05"\r
-       }\r
-       \r
-       enumeration TestEnumMissingValue {\r
-                <** @description : default **>\r
-               E1 = "A"\r
-               E2\r
-               E3 = "2"\r
-       }\r
-       \r
-       enumeration TestEnumExtended extends TestEnum {\r
-               <** @description : new error **>\r
-               E_NEW = "0x04"\r
-       }\r
-\r
-       array TestArrayUInt64 of UInt64\r
-       \r
-       struct TestStruct {\r
-               <** @description : the name of the property **>\r
-               PredefinedTypeCollection.TestString testString\r
-\r
-               <** @description : the actual value **>\r
-               UInt16 uintValue\r
-       }\r
-}\r
-\r
-\r
+/* 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
+
+import commonapi.tests.* from "test-predefined-types.fidl"
+
+typeCollection DerivedTypeCollection {
+
+       map TestMap { UInt32 to TestArrayTestStruct }
+       
+       struct TestStructExtended extends TestStruct {
+               TestEnumExtended2 testEnumExtended2
+       }
+
+       map TestEnumMap { TestEnum to String }
+
+       <** @description : Common errors. **>
+       enumeration TestEnum {
+                <** @description : default **>
+               E_UNKNOWN = "0x00"
+               <** @description : no error - positive reply **>
+               E_OK = "0x01"
+               <** @description : value out of range **>
+               E_OUT_OF_RANGE = "0x02"
+           <** @description : not used **>
+               E_NOT_USED = "0x03"
+       }
+       
+       array TestArrayTestStruct of TestStruct
+       
+       enumeration TestEnumExtended2 extends TestEnumExtended {
+               <** @description : new error **>
+               E_NEW2 = "0x05"
+       }
+       
+       enumeration TestEnumMissingValue {
+                <** @description : default **>
+               E1 = "A"
+               E2
+               E3 = "2"
+       }
+       
+       enumeration TestEnumExtended extends TestEnum {
+               <** @description : new error **>
+               E_NEW = "0x04"
+       }
+
+       array TestArrayUInt64 of UInt64
+       
+       struct TestStruct {
+               <** @description : the name of the property **>
+               PredefinedTypeCollection.TestString testString
+
+               <** @description : the actual value **>
+               UInt16 uintValue
+       }
+}
+
+
index 094897b..774c1a8 100644 (file)
@@ -1,61 +1,61 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public\r
- * License, v. 2.0. If a copy of the MPL was not distributed with this\r
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */\r
-package commonapi.tests\r
-\r
-import commonapi.tests.* from "test-derived-types.fidl"\r
-\r
-interface TestInterface {\r
-       version { major 1 minor 0 }\r
-\r
-       attribute UInt32 TestPredefinedTypeAttribute\r
-       attribute DerivedTypeCollection.TestStructExtended TestDerivedStructAttribute\r
-       attribute DerivedTypeCollection.TestArrayUInt64 TestDerivedArrayAttribute\r
-\r
-       method testEmptyMethod {\r
-       }\r
-\r
-       method testVoidPredefinedTypeMethod {\r
-               in {\r
-                       UInt32 uint32Value\r
-                       String stringValue\r
-               }\r
-       }\r
-\r
-       method testPredefinedTypeMethod {\r
-               in {\r
-                       UInt32 uint32InValue\r
-                       String stringInValue\r
-               }\r
-               out {\r
-                       UInt32 uint32OutValue\r
-                       String stringOutValue\r
-               }\r
-       }\r
-\r
-       method testVoidDerivedTypeMethod {\r
-               in {\r
-                       DerivedTypeCollection.TestEnumExtended2 testEnumExtended2Value\r
-                       DerivedTypeCollection.TestMap testMapValue\r
-               }\r
-       }\r
-\r
-       method testDerivedTypeMethod {\r
-               in {\r
-                       DerivedTypeCollection.TestEnumExtended2 testEnumExtended2InValue\r
-                       DerivedTypeCollection.TestMap testMapInValue\r
-               }\r
-               out {\r
-                       DerivedTypeCollection.TestEnumExtended2 testEnumExtended2OutValue\r
-                       DerivedTypeCollection.TestMap testMapOutValue\r
-               }\r
-       }\r
-\r
-       broadcast TestPredefinedTypeBroadcast {\r
-               out {\r
-                       UInt32 uint32Value\r
-                       String stringValue\r
-               }\r
-       }\r
-}\r
-\r
+/* 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
+
+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
+               }
+       }
+
+       broadcast TestPredefinedTypeBroadcast {
+               out {
+                       UInt32 uint32Value
+                       String stringValue
+               }
+       }
+}
+
index 8a69103..6226ed2 100644 (file)
@@ -1,22 +1,22 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public\r
- * License, v. 2.0. If a copy of the MPL was not distributed with this\r
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */\r
-package commonapi.tests\r
-\r
-typeCollection PredefinedTypeCollection {\r
-       typedef TestUInt8 is UInt8\r
-       typedef TestUInt16 is UInt16\r
-       typedef TestUInt32 is UInt32\r
-       typedef TestUInt64 is UInt64\r
-       typedef TestInt8 is Int8\r
-       typedef TestInt16 is Int16\r
-       typedef TestInt32 is Int32\r
-       typedef TestInt64 is Int64\r
-       typedef TestBoolean is Boolean\r
-       typedef TestByteBuffer is ByteBuffer\r
-       typedef TestDouble is Double\r
-       typedef TestFloat is Float\r
-       typedef TestString is String\r
-}\r
-\r
-\r
+/* 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
+
+typeCollection PredefinedTypeCollection {
+       typedef TestUInt8 is UInt8
+       typedef TestUInt16 is UInt16
+       typedef TestUInt32 is UInt32
+       typedef TestUInt64 is UInt64
+       typedef TestInt8 is Int8
+       typedef TestInt16 is Int16
+       typedef TestInt32 is Int32
+       typedef TestInt64 is Int64
+       typedef TestBoolean is Boolean
+       typedef TestByteBuffer is ByteBuffer
+       typedef TestDouble is Double
+       typedef TestFloat is Float
+       typedef TestString is String
+}
+
+