updated generated code for tests
authorStefan Laner <laner@itestra.de>
Wed, 23 Oct 2013 15:20:16 +0000 (17:20 +0200)
committerStefan Laner <laner@itestra.de>
Wed, 23 Oct 2013 15:20:16 +0000 (17:20 +0200)
13 files changed:
src/test/commonapi/tests/DerivedTypeCollection.cpp
src/test/commonapi/tests/DerivedTypeCollection.h
src/test/commonapi/tests/PredefinedTypeCollection.h
src/test/commonapi/tests/TestInterface.h
src/test/commonapi/tests/TestInterfaceDBusProxy.cpp
src/test/commonapi/tests/TestInterfaceDBusProxy.h
src/test/commonapi/tests/TestInterfaceDBusStubAdapter.cpp
src/test/commonapi/tests/TestInterfaceDBusStubAdapter.h
src/test/commonapi/tests/TestInterfaceProxy.h
src/test/commonapi/tests/TestInterfaceProxyBase.h
src/test/commonapi/tests/TestInterfaceStub.h
src/test/commonapi/tests/TestInterfaceStubDefault.cpp
src/test/commonapi/tests/TestInterfaceStubDefault.h

index 985ae38..459de6f 100644 (file)
@@ -1,11 +1,9 @@
 /*
 * This file was generated by the CommonAPI Generators.
 *
-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/.
-
-Test workspace
+* 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/.
 */
 #include "DerivedTypeCollection.h"
 
index 26409d6..bad02f0 100755 (executable)
@@ -1,8 +1,12 @@
-/* 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/. */
-#ifndef COMMONAPI_TESTS_DERIVED_TYPE_COLLECTION_H_
-#define COMMONAPI_TESTS_DERIVED_TYPE_COLLECTION_H_
+/*
+* This file was generated by the CommonAPI Generators.
+*
+* 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/.
+*/
+#ifndef COMMONAPI_TESTS_Derived_Type_Collection_H_
+#define COMMONAPI_TESTS_Derived_Type_Collection_H_
 
 #include <CommonAPI/InputStream.h>
 #include <CommonAPI/OutputStream.h>
@@ -39,10 +43,10 @@ namespace DerivedTypeCollection {
     typedef std::unordered_map<uint32_t, TestArrayTestStruct> TestMap;
     
     enum class TestEnum: int32_t {
-        E_UNKNOWN = 0,
-        E_OK = 1,
-        E_OUT_OF_RANGE = 2,
-        E_NOT_USED = 3
+        E_UNKNOWN = 0x0,
+        E_OK = 0x1,
+        E_OUT_OF_RANGE = 0x2,
+        E_NOT_USED = 0x3
     };
     
     // XXX Definition of a comparator still is necessary for GCC 4.4.1, topic is fixed since 4.5.1
@@ -54,7 +58,7 @@ namespace DerivedTypeCollection {
         E_OUT_OF_RANGE = TestEnum::E_OUT_OF_RANGE,
         E_NOT_USED = TestEnum::E_NOT_USED
         ,
-        E_NEW = 4
+        E_NEW = 0x4
     };
     
     // XXX Definition of a comparator still is necessary for GCC 4.4.1, topic is fixed since 4.5.1
@@ -68,7 +72,7 @@ namespace DerivedTypeCollection {
         
         E_NEW = TestEnumExtended::E_NEW
         ,
-        E_NEW2 = 5
+        E_NEW2 = 0x5
     };
     
     // XXX Definition of a comparator still is necessary for GCC 4.4.1, topic is fixed since 4.5.1
@@ -92,7 +96,7 @@ namespace DerivedTypeCollection {
     typedef std::unordered_map<TestEnum, std::string> TestEnumMap;
     
     enum class TestEnumMissingValue: int32_t {
-        E1 = 10,
+        E1 = 0xa,
         E2,
         E3 = 2
     };
@@ -136,31 +140,31 @@ struct TestEnumExtended2Comparator {
 };
 
 
-inline bool operator==(const TestEnumExtended2& lhs, const TestEnum& rhs) {
+inline bool operator==(const TestEnumExtended2& lhs, const DerivedTypeCollection::TestEnum& rhs) {
     return static_cast<int32_t>(lhs) == static_cast<int32_t>(rhs);
 }
-inline bool operator==(const TestEnum& lhs, const TestEnumExtended2& rhs) {
+inline bool operator==(const DerivedTypeCollection::TestEnum& lhs, const TestEnumExtended2& rhs) {
     return static_cast<int32_t>(lhs) == static_cast<int32_t>(rhs);
-}
-inline bool operator!=(const TestEnumExtended2& lhs, const TestEnum& rhs) {
+} 
+inline bool operator!=(const TestEnumExtended2& lhs, const DerivedTypeCollection::TestEnum& rhs) {
     return static_cast<int32_t>(lhs) != static_cast<int32_t>(rhs);
 }
-inline bool operator!=(const TestEnum& lhs, const TestEnumExtended2& rhs) {
+inline bool operator!=(const DerivedTypeCollection::TestEnum& lhs, const TestEnumExtended2& rhs) {
     return static_cast<int32_t>(lhs) != static_cast<int32_t>(rhs);
-}
+} 
 
-inline bool operator==(const TestEnumExtended2& lhs, const TestEnumExtended& rhs) {
+inline bool operator==(const TestEnumExtended2& lhs, const DerivedTypeCollection::TestEnumExtended& rhs) {
     return static_cast<int32_t>(lhs) == static_cast<int32_t>(rhs);
 }
-inline bool operator==(const TestEnumExtended& lhs, const TestEnumExtended2& rhs) {
+inline bool operator==(const DerivedTypeCollection::TestEnumExtended& lhs, const TestEnumExtended2& rhs) {
     return static_cast<int32_t>(lhs) == static_cast<int32_t>(rhs);
-}
-inline bool operator!=(const TestEnumExtended2& lhs, const TestEnumExtended& rhs) {
+} 
+inline bool operator!=(const TestEnumExtended2& lhs, const DerivedTypeCollection::TestEnumExtended& rhs) {
     return static_cast<int32_t>(lhs) != static_cast<int32_t>(rhs);
 }
-inline bool operator!=(const TestEnumExtended& lhs, const TestEnumExtended2& rhs) {
+inline bool operator!=(const DerivedTypeCollection::TestEnumExtended& lhs, const TestEnumExtended2& rhs) {
     return static_cast<int32_t>(lhs) != static_cast<int32_t>(rhs);
-}
+} 
 inline CommonAPI::InputStream& operator>>(CommonAPI::InputStream& inputStream, TestEnumMissingValue& enumValue) {
     return inputStream.readEnumValue<int32_t>(enumValue);
 }
@@ -190,18 +194,18 @@ struct TestEnumExtendedComparator {
 };
 
 
-inline bool operator==(const TestEnumExtended& lhs, const TestEnum& rhs) {
+inline bool operator==(const TestEnumExtended& lhs, const DerivedTypeCollection::TestEnum& rhs) {
     return static_cast<int32_t>(lhs) == static_cast<int32_t>(rhs);
 }
-inline bool operator==(const TestEnum& lhs, const TestEnumExtended& rhs) {
+inline bool operator==(const DerivedTypeCollection::TestEnum& lhs, const TestEnumExtended& rhs) {
     return static_cast<int32_t>(lhs) == static_cast<int32_t>(rhs);
-}
-inline bool operator!=(const TestEnumExtended& lhs, const TestEnum& rhs) {
+} 
+inline bool operator!=(const TestEnumExtended& lhs, const DerivedTypeCollection::TestEnum& rhs) {
     return static_cast<int32_t>(lhs) != static_cast<int32_t>(rhs);
 }
-inline bool operator!=(const TestEnum& lhs, const TestEnumExtended& rhs) {
+inline bool operator!=(const DerivedTypeCollection::TestEnum& lhs, const TestEnumExtended& rhs) {
     return static_cast<int32_t>(lhs) != static_cast<int32_t>(rhs);
-}
+} 
 bool operator==(const TestStruct& lhs, const TestStruct& rhs);
 inline bool operator!=(const TestStruct& lhs, const TestStruct& rhs) {
     return !(lhs == rhs);
@@ -305,24 +309,28 @@ namespace CommonAPI {
 
 
 namespace std {
+    //Hash for TestEnum
     template<>
     struct hash<commonapi::tests::DerivedTypeCollection::TestEnum> {
         inline size_t operator()(const commonapi::tests::DerivedTypeCollection::TestEnum& testEnum) const {
             return static_cast<int32_t>(testEnum);
         }
     };
+    //Hash for TestEnumExtended2
     template<>
     struct hash<commonapi::tests::DerivedTypeCollection::TestEnumExtended2> {
         inline size_t operator()(const commonapi::tests::DerivedTypeCollection::TestEnumExtended2& testEnumExtended2) const {
             return static_cast<int32_t>(testEnumExtended2);
         }
     };
+    //Hash for TestEnumMissingValue
     template<>
     struct hash<commonapi::tests::DerivedTypeCollection::TestEnumMissingValue> {
         inline size_t operator()(const commonapi::tests::DerivedTypeCollection::TestEnumMissingValue& testEnumMissingValue) const {
             return static_cast<int32_t>(testEnumMissingValue);
         }
     };
+    //Hash for TestEnumExtended
     template<>
     struct hash<commonapi::tests::DerivedTypeCollection::TestEnumExtended> {
         inline size_t operator()(const commonapi::tests::DerivedTypeCollection::TestEnumExtended& testEnumExtended) const {
@@ -331,4 +339,4 @@ namespace std {
     };
 }
 
-#endif // COMMONAPI_TESTS_DERIVED_TYPE_COLLECTION_H_
+#endif // COMMONAPI_TESTS_Derived_Type_Collection_H_
index 31e4733..1da0943 100644 (file)
@@ -1,11 +1,9 @@
 /*
 * This file was generated by the CommonAPI Generators.
 *
-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/.
-
-Test workspace
+* 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/.
 */
 #ifndef COMMONAPI_TESTS_Predefined_Type_Collection_H_
 #define COMMONAPI_TESTS_Predefined_Type_Collection_H_
index 86311e0..e1a0a1f 100644 (file)
@@ -1,11 +1,9 @@
 /*
 * This file was generated by the CommonAPI Generators.
 *
-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/.
-
-Test workspace
+* 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/.
 */
 #ifndef COMMONAPI_TESTS_Test_Interface_H_
 #define COMMONAPI_TESTS_Test_Interface_H_
index 5ad1000..483dcbe 100755 (executable)
@@ -1,6 +1,10 @@
-/* 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/. */
+/*
+* This file was generated by the CommonAPI Generators.
+*
+* 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/.
+*/
 #include "TestInterfaceDBusProxy.h"
 #include <CommonAPI/types.h>
 
index 51ee3df..6ab43d1 100644 (file)
@@ -1,11 +1,9 @@
 /*
 * This file was generated by the CommonAPI Generators.
 *
-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/.
-
-Test workspace
+* 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/.
 */
 #ifndef COMMONAPI_TESTS_Test_Interface_DBUS_PROXY_H_
 #define COMMONAPI_TESTS_Test_Interface_DBUS_PROXY_H_
index 661ac82..5ef38bd 100755 (executable)
@@ -1,6 +1,10 @@
-/* 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/. */
+/*
+* This file was generated by the CommonAPI Generators.
+*
+* 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/.
+*/
 #include "TestInterfaceDBusStubAdapter.h"
 #include <commonapi/tests/TestInterface.h>
 #include <CommonAPI/types.h>
@@ -19,7 +23,8 @@ std::shared_ptr<CommonAPI::DBus::DBusStubAdapter> createTestInterfaceDBusStubAda
 }
 
 INITIALIZER(registerTestInterfaceDBusStubAdapter) {
-    CommonAPI::DBus::DBusFactory::registerAdapterFactoryMethod(TestInterface::getInterfaceId(), &createTestInterfaceDBusStubAdapter);
+    CommonAPI::DBus::DBusFactory::registerAdapterFactoryMethod(TestInterface::getInterfaceId(),
+                                                               &createTestInterfaceDBusStubAdapter);
 }
 
 TestInterfaceDBusStubAdapter::TestInterfaceDBusStubAdapter(
@@ -167,6 +172,7 @@ static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
     std::tuple<DerivedTypeCollection::TestEnumExtended2, DerivedTypeCollection::TestMap>
     > testDerivedTypeMethodStubDispatcher(&TestInterfaceStub::testDerivedTypeMethod, "ia{ua(sq)}");
 
+
 void TestInterfaceDBusStubAdapter::fireTestPredefinedTypeAttributeAttributeChanged(const uint32_t& value) {
        CommonAPI::DBus::DBusStubSignalHelper<CommonAPI::DBus::DBusSerializableArguments<uint32_t>>
         ::sendSignal(
@@ -210,16 +216,16 @@ void TestInterfaceDBusStubAdapter::fireTestPredefinedTypeBroadcastEvent(const ui
 
 template<>
 const commonapi::tests::TestInterfaceDBusStubAdapterHelper::StubDispatcherTable commonapi::tests::TestInterfaceDBusStubAdapterHelper::stubDispatcherTable_ = {
-       { { "getTestPredefinedTypeAttributeAttribute", "" }, &commonapi::tests::getTestPredefinedTypeAttributeAttributeStubDispatcher }
-       , { { "setTestPredefinedTypeAttributeAttribute", "u" }, &commonapi::tests::setTestPredefinedTypeAttributeAttributeStubDispatcher },
-       { { "getTestDerivedStructAttributeAttribute", "" }, &commonapi::tests::getTestDerivedStructAttributeAttributeStubDispatcher }
-       , { { "setTestDerivedStructAttributeAttribute", "(sqi)" }, &commonapi::tests::setTestDerivedStructAttributeAttributeStubDispatcher },
-       { { "getTestDerivedArrayAttributeAttribute", "" }, &commonapi::tests::getTestDerivedArrayAttributeAttributeStubDispatcher }
-       , { { "setTestDerivedArrayAttributeAttribute", "at" }, &commonapi::tests::setTestDerivedArrayAttributeAttributeStubDispatcher }
-       ,
-       { { "testEmptyMethod", "" }, &commonapi::tests::testEmptyMethodStubDispatcher },
-       { { "testVoidPredefinedTypeMethod", "us" }, &commonapi::tests::testVoidPredefinedTypeMethodStubDispatcher },
-       { { "testPredefinedTypeMethod", "us" }, &commonapi::tests::testPredefinedTypeMethodStubDispatcher },
-       { { "testVoidDerivedTypeMethod", "ia{ua(sq)}" }, &commonapi::tests::testVoidDerivedTypeMethodStubDispatcher },
-       { { "testDerivedTypeMethod", "ia{ua(sq)}" }, &commonapi::tests::testDerivedTypeMethodStubDispatcher }
+    { { "getTestPredefinedTypeAttributeAttribute", "" }, &commonapi::tests::getTestPredefinedTypeAttributeAttributeStubDispatcher }
+    , { { "setTestPredefinedTypeAttributeAttribute", "u" }, &commonapi::tests::setTestPredefinedTypeAttributeAttributeStubDispatcher },
+    { { "getTestDerivedStructAttributeAttribute", "" }, &commonapi::tests::getTestDerivedStructAttributeAttributeStubDispatcher }
+    , { { "setTestDerivedStructAttributeAttribute", "(sqi)" }, &commonapi::tests::setTestDerivedStructAttributeAttributeStubDispatcher },
+    { { "getTestDerivedArrayAttributeAttribute", "" }, &commonapi::tests::getTestDerivedArrayAttributeAttributeStubDispatcher }
+    , { { "setTestDerivedArrayAttributeAttribute", "at" }, &commonapi::tests::setTestDerivedArrayAttributeAttributeStubDispatcher }
+    ,
+    { { "testEmptyMethod", "" }, &commonapi::tests::testEmptyMethodStubDispatcher },
+    { { "testVoidPredefinedTypeMethod", "us" }, &commonapi::tests::testVoidPredefinedTypeMethodStubDispatcher },
+    { { "testPredefinedTypeMethod", "us" }, &commonapi::tests::testPredefinedTypeMethodStubDispatcher },
+    { { "testVoidDerivedTypeMethod", "ia{ua(sq)}" }, &commonapi::tests::testVoidDerivedTypeMethodStubDispatcher },
+    { { "testDerivedTypeMethod", "ia{ua(sq)}" }, &commonapi::tests::testDerivedTypeMethodStubDispatcher }
 };
index d018fac..de6d68a 100644 (file)
@@ -1,11 +1,9 @@
 /*
 * This file was generated by the CommonAPI Generators.
 *
-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/.
-
-Test workspace
+* 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/.
 */
 #ifndef COMMONAPI_TESTS_Test_Interface_DBUS_STUB_ADAPTER_H_
 #define COMMONAPI_TESTS_Test_Interface_DBUS_STUB_ADAPTER_H_
index 69645cd..be86bf4 100755 (executable)
@@ -1,8 +1,12 @@
-/* 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/. */
-#ifndef COMMONAPI_TESTS_TEST_INTERFACE_PROXY_H_
-#define COMMONAPI_TESTS_TEST_INTERFACE_PROXY_H_
+/*
+* This file was generated by the CommonAPI Generators.
+*
+* 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/.
+*/
+#ifndef COMMONAPI_TESTS_Test_Interface_PROXY_H_
+#define COMMONAPI_TESTS_Test_Interface_PROXY_H_
 
 #include "TestInterfaceProxyBase.h"
 #include <CommonAPI/AttributeExtension.h>
@@ -185,11 +189,10 @@ namespace TestInterfaceExtensions {
     
         static_assert(std::is_base_of<typename CommonAPI::AttributeExtension<TestInterfaceProxyBase::TestPredefinedTypeAttributeAttribute>, extension_type>::value,
                       "Not CommonAPI Attribute Extension!");
-    
-#ifdef WIN32
+    #ifdef WIN32
         TestPredefinedTypeAttributeAttributeExtension() {};
-#endif
-               TestPredefinedTypeAttributeAttributeExtension(TestInterfaceProxyBase& proxy): attributeExtension_(proxy.getTestPredefinedTypeAttributeAttribute()) {
+    #endif
+        TestPredefinedTypeAttributeAttributeExtension(TestInterfaceProxyBase& proxy): attributeExtension_(proxy.getTestPredefinedTypeAttributeAttribute()) {
         }
     
         inline extension_type& getTestPredefinedTypeAttributeAttributeExtension() {
@@ -207,10 +210,10 @@ namespace TestInterfaceExtensions {
     
         static_assert(std::is_base_of<typename CommonAPI::AttributeExtension<TestInterfaceProxyBase::TestDerivedStructAttributeAttribute>, extension_type>::value,
                       "Not CommonAPI Attribute Extension!");
-#ifdef WIN32
-               TestDerivedStructAttributeAttributeExtension() {};
-#endif
-               TestDerivedStructAttributeAttributeExtension(TestInterfaceProxyBase& proxy): attributeExtension_(proxy.getTestDerivedStructAttributeAttribute()) {
+    #ifdef WIN32
+        TestDerivedStructAttributeAttributeExtension() {};
+    #endif
+        TestDerivedStructAttributeAttributeExtension(TestInterfaceProxyBase& proxy): attributeExtension_(proxy.getTestDerivedStructAttributeAttribute()) {
         }
     
         inline extension_type& getTestDerivedStructAttributeAttributeExtension() {
@@ -228,10 +231,10 @@ namespace TestInterfaceExtensions {
     
         static_assert(std::is_base_of<typename CommonAPI::AttributeExtension<TestInterfaceProxyBase::TestDerivedArrayAttributeAttribute>, extension_type>::value,
                       "Not CommonAPI Attribute Extension!");
-#ifdef WIN32
-               TestDerivedArrayAttributeAttributeExtension() {};
-#endif
-               TestDerivedArrayAttributeAttributeExtension(TestInterfaceProxyBase& proxy): attributeExtension_(proxy.getTestDerivedArrayAttributeAttribute()) {
+    #ifdef WIN32
+        TestDerivedArrayAttributeAttributeExtension() {};
+    #endif
+        TestDerivedArrayAttributeAttributeExtension(TestInterfaceProxyBase& proxy): attributeExtension_(proxy.getTestDerivedArrayAttributeAttribute()) {
         }
     
         inline extension_type& getTestDerivedArrayAttributeAttributeExtension() {
@@ -253,7 +256,7 @@ TestInterfaceProxy<_AttributeExtensions...>::TestInterfaceProxy(std::shared_ptr<
 #ifndef WIN32
         , _AttributeExtensions(*(std::dynamic_pointer_cast<TestInterfaceProxyBase>(delegate)))...
 #endif
-{}
+{ }
 
 template <typename ... _AttributeExtensions>
 TestInterfaceProxy<_AttributeExtensions...>::~TestInterfaceProxy() {
@@ -361,4 +364,4 @@ struct DefaultAttributeProxyFactoryHelper<commonapi::tests::TestInterfaceProxy,
 }
 
 
-#endif // COMMONAPI_TESTS_TEST_INTERFACE_PROXY_H_
+#endif // COMMONAPI_TESTS_Test_Interface_PROXY_H_
index 6ae5263..a7bd29a 100755 (executable)
@@ -1,8 +1,12 @@
-/* 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/. */
-#ifndef COMMONAPI_TESTS_TEST_INTERFACE_PROXY_BASE_H_
-#define COMMONAPI_TESTS_TEST_INTERFACE_PROXY_BASE_H_
+/*
+* This file was generated by the CommonAPI Generators.
+*
+* 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/.
+*/
+#ifndef COMMONAPI_TESTS_Test_Interface_PROXY_BASE_H_
+#define COMMONAPI_TESTS_Test_Interface_PROXY_BASE_H_
 
 #include "TestInterface.h"
 #include <unordered_map>
@@ -55,8 +59,7 @@ class TestInterfaceProxyBase: virtual public CommonAPI::Proxy {
     virtual std::future<CommonAPI::CallStatus> testDerivedTypeMethodAsync(const DerivedTypeCollection::TestEnumExtended2& testEnumExtended2InValue, const DerivedTypeCollection::TestMap& testMapInValue, TestDerivedTypeMethodAsyncCallback callback) = 0;
 };
 
-
 } // namespace tests
 } // namespace commonapi
 
-#endif // COMMONAPI_TESTS_TEST_INTERFACE_PROXY_BASE_H_
+#endif // COMMONAPI_TESTS_Test_Interface_PROXY_BASE_H_
index 6d078ed..6e11921 100755 (executable)
@@ -1,8 +1,12 @@
-/* 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/. */
-#ifndef COMMONAPI_TESTS_TEST_INTERFACE_STUB_H_
-#define COMMONAPI_TESTS_TEST_INTERFACE_STUB_H_
+/*
+* This file was generated by the CommonAPI Generators.
+*
+* 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/.
+*/
+#ifndef COMMONAPI_TESTS_Test_Interface_STUB_H_
+#define COMMONAPI_TESTS_Test_Interface_STUB_H_
 
 #include <unordered_map>
 #include <cstdint>
@@ -108,4 +112,4 @@ class TestInterfaceStub : public CommonAPI::Stub<TestInterfaceStubAdapter , Test
 } // namespace tests
 } // namespace commonapi
 
-#endif // COMMONAPI_TESTS_TEST_INTERFACE_STUB_H_
+#endif // COMMONAPI_TESTS_Test_Interface_STUB_H_
index b562076..4e49232 100644 (file)
@@ -1,11 +1,9 @@
 /*
 * This file was generated by the CommonAPI Generators.
 *
-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/.
-
-Test workspace
+* 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/.
 */
 #include <commonapi/tests/TestInterfaceStubDefault.h>
 
index e8b3228..bdef836 100644 (file)
@@ -1,11 +1,9 @@
 /*
 * This file was generated by the CommonAPI Generators.
 *
-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/.
-
-Test workspace
+* 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/.
 */
 #ifndef COMMONAPI_TESTS_Test_Interface_STUB_DEFAULT_H_
 #define COMMONAPI_TESTS_Test_Interface_STUB_DEFAULT_H_