diff options
author | Marcus Fritzsch <marcus.fritzsch@xse.de> | 2014-08-19 15:35:14 +0200 |
---|---|---|
committer | Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp> | 2014-09-01 15:55:44 +0900 |
commit | 130aa6b426f8311463ff71fc049e6014930a2216 (patch) | |
tree | b7fccccd630ee56e821212defb41ca759ba8299e | |
parent | cd67b74fe548c59161df9f3e1e04139fac272123 (diff) | |
download | wayland-ivi-extension-130aa6b426f8311463ff71fc049e6014930a2216.tar.gz |
tests: check surfaceProperties.creatorPid too
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
-rw-r--r-- | ivi-layermanagement-api/test/ilm_control_test.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ivi-layermanagement-api/test/ilm_control_test.cpp b/ivi-layermanagement-api/test/ilm_control_test.cpp index b1217e7..6251737 100644 --- a/ivi-layermanagement-api/test/ilm_control_test.cpp +++ b/ivi-layermanagement-api/test/ilm_control_test.cpp @@ -20,6 +20,10 @@ #include <gtest/gtest.h> #include <stdio.h> + +#include <unistd.h> +#include <sys/types.h> + #include "TestBase.h" extern "C" { @@ -746,6 +750,7 @@ TEST_F(IlmCommandTest, ilm_getPropertiesOfSurface_ilm_surfaceSetSourceRectangle_ ASSERT_EQ(9u, surfaceProperties.destHeight); ASSERT_EQ(ILM_NINETY, surfaceProperties.orientation); ASSERT_TRUE( surfaceProperties.visibility); + ASSERT_EQ(getpid(), surfaceProperties.creatorPid); ASSERT_EQ(ILM_SUCCESS, ilm_surfaceSetOpacity(surface, 0.436)); ASSERT_EQ(ILM_SUCCESS, ilm_surfaceSetSourceRectangle(surface, 784, 546, 235, 78)); |