projects
/
platform
/
core
/
uifw
/
libds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0710cb4
)
DSWindow: add TCs
66/243466/1
author
Doyoun Kang
<doyoun.kang@samsung.com>
Thu, 3 Sep 2020 02:14:45 +0000
(11:14 +0900)
committer
Sung-Jin Park
<sj76.park@samsung.com>
Mon, 7 Sep 2020 10:36:15 +0000
(19:36 +0900)
Change-Id: I15d8b6af8bce600fea21da5e50687129eccfab9f
tests/DSWindow-test.cpp
patch
|
blob
|
history
diff --git
a/tests/DSWindow-test.cpp
b/tests/DSWindow-test.cpp
index
d0f7695
..
0cb0eaf
100644
(file)
--- a/
tests/DSWindow-test.cpp
+++ b/
tests/DSWindow-test.cpp
@@
-194,3
+194,17
@@
TEST_F(DSWindowTest, UserGeometryTest)
EXPECT_TRUE(win->isAllowUserGeometry());
}
+TEST_F(DSWindowTest, TypeTest)
+{
+ auto win = std::make_shared<DSWindow>();
+ EXPECT_TRUE(win != nullptr);
+
+ int type;
+ type = win->getType();
+ EXPECT_TRUE(type == 0);
+
+ win->setType(3);
+
+ type = win->getType();
+ EXPECT_TRUE(type == 3);
+}