summaryrefslogtreecommitdiff
path: root/src/test/DBusVariantTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/DBusVariantTest.cpp')
-rw-r--r--src/test/DBusVariantTest.cpp21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/test/DBusVariantTest.cpp b/src/test/DBusVariantTest.cpp
index a05ae03..b2b4b8b 100644
--- a/src/test/DBusVariantTest.cpp
+++ b/src/test/DBusVariantTest.cpp
@@ -1,12 +1,15 @@
-/* Copyright (C) 2013 BMW Group
- * Author: Manfred Bathelt (manfred.bathelt@bmw.de)
- * Author: Juergen Gehring (juergen.gehring@bmw.de)
- * 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/. */
+// Copyright (C) 2013-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
+// 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 <gtest/gtest.h>
-#include <CommonAPI/SerializableVariant.h>
+
+#ifndef COMMONAPI_INTERNAL_COMPILATION
+#define COMMONAPI_INTERNAL_COMPILATION
+#endif
+
+#include <CommonAPI/Variant.hpp>
using namespace CommonAPI;
@@ -166,9 +169,9 @@ TEST_F(VariantTest, VariantStringArray) {
delete vectorVariant;
}
-#ifndef WIN32
+#ifndef __NO_MAIN__
int main(int argc, char** argv) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
-#endif \ No newline at end of file
+#endif