Add uid attribute of ThemeInfo
[platform/core/appfw/tizen-theme-manager.git] / test / unit_tests / test_theme_parser.cc
index 2723413..500bab0 100644 (file)
@@ -32,9 +32,10 @@ class ThemeParserTest : public testing::Test {
 
 TEST_F(ThemeParserTest, Inflate) {
   ttm::plugin::ThemeParser parser("test_samples/test_theme.json");
-  auto info = parser.Inflate("testid", "testpkgid");
+  auto info = parser.Inflate("testid", "testpkgid", 5001);
   EXPECT_EQ(info.GetId(), "testid");
   EXPECT_EQ(info.GetPkgid(), "testpkgid");
+  EXPECT_EQ(info.GetUid(), 5001);
   EXPECT_EQ(info.GetVersion(), "1.0.0");
   EXPECT_EQ(info.GetToolVersion(), "1.00.38.820793");
   EXPECT_EQ(info.GetTitle(), "GOGO Theme");