projects
/
framework
/
web
/
wrt-commons.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tizen 2.4 release
[framework/web/wrt-commons.git]
/
tests
/
dao
/
TestCases_PropertyDAO.cpp
diff --git
a/tests/dao/TestCases_PropertyDAO.cpp
b/tests/dao/TestCases_PropertyDAO.cpp
index
8ff2ad6
..
378c815
100644
(file)
--- a/
tests/dao/TestCases_PropertyDAO.cpp
+++ b/
tests/dao/TestCases_PropertyDAO.cpp
@@
-35,13
+35,13
@@
using namespace WrtDB::PropertyDAOReadOnly;
// Widgets used "tizenid201", "tizenid202", "tizenid203", 2003(saved by
// wrt_dao_tests_prepare_db.sh)
// Widgets used "tizenid201", "tizenid202", "tizenid203", 2003(saved by
// wrt_dao_tests_prepare_db.sh)
-#define RUNNER_ASSERT_WHAT_EQUALS(in, test) \
- { std::string tmp(in); \
+#define RUNNER_ASSERT_WHAT_EQUALS(in, test)
\
+ { std::string tmp(in);
\
RUNNER_ASSERT_MSG(tmp == test, "Equals: [" + tmp + "]"); }
RUNNER_ASSERT_MSG(tmp == test, "Equals: [" + tmp + "]"); }
-#define RUNNER_ASSERT_WHAT_EQUALS_OPTIONAL(in, test) \
- { \
- if (
in.IsNull()) { RUNNER_ASSERT_MSG(false, "NULL"); }
\
+#define RUNNER_ASSERT_WHAT_EQUALS_OPTIONAL(in, test)
\
+ {
\
+ if (
!in) { RUNNER_ASSERT_MSG(false, "NULL"); }
\
else { RUNNER_ASSERT_WHAT_EQUALS(DPL::ToUTF8String(*in), test); } \
}
else { RUNNER_ASSERT_WHAT_EQUALS(DPL::ToUTF8String(*in), test); } \
}