summaryrefslogtreecommitdiff
path: root/src/test/VariantTest.cpp
diff options
context:
space:
mode:
authorStefan Laner <laner@itestra.de>2014-02-24 09:41:53 +0100
committerStefan Laner <laner@itestra.de>2014-02-26 10:52:17 +0100
commitb94ed2030fd13d100a757d531983b2fd2498b62e (patch)
treecc2c675f7999130edbd4ea76ebd6458d0d730c9b /src/test/VariantTest.cpp
parentfa209eed0e5c81c277601aa24069fa23f61b675d (diff)
downloadgenivi-common-api-runtime-b94ed2030fd13d100a757d531983b2fd2498b62e.tar.gz
Windows compatible version
Change-Id: I775e584175ec3dcde258e7bed261c61e763d20ce
Diffstat (limited to 'src/test/VariantTest.cpp')
-rwxr-xr-xsrc/test/VariantTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/VariantTest.cpp b/src/test/VariantTest.cpp
index ed793f5..e83ebe6 100755
--- a/src/test/VariantTest.cpp
+++ b/src/test/VariantTest.cpp
@@ -2,7 +2,7 @@
* 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 <src/CommonAPI/SerializableVariant.h>
+#include "../CommonAPI/SerializableVariant.h"
using namespace CommonAPI;
@@ -64,7 +64,7 @@ struct test2: CommonAPI::SerializableStruct {
TEST_F(VariantTest, VariantTestPack) {
int fromInt = 5;
- double fromDouble = 12.344d;
+ double fromDouble = 12.344;
std::string fromString = "123abcsadfaljkawlöfasklöerklöfjasklfjysklfjaskfjsklösdfdko4jdfasdjioögjopefgip3rtgjiprg!";
Variant<int, double, std::string> myVariant(fromInt);