Renamed bundle.h to ex_bundle.h 84/199884/2
authormk5004.lee <mk5004.lee@samsung.com>
Fri, 15 Feb 2019 07:23:20 +0000 (16:23 +0900)
committermk5004.lee <mk5004.lee@samsung.com>
Fri, 15 Feb 2019 07:26:06 +0000 (16:26 +0900)
Change-Id: I03fa437dddbb718891bf5b1b733a2bbe72d744d5
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
12 files changed:
notification-ex/abstract_action.h
notification-ex/abstract_item.h
notification-ex/action.cc
notification-ex/action.h
notification-ex/bundle.cc
notification-ex/dbus_sender.h
notification-ex/ex_bundle.h [moved from notification-ex/bundle.h with 100% similarity]
notification-ex/item.h
notification-ex/mock_sender.h
notification-ex/observer_interface.h
unittest/CMakeLists.txt
unittest/src/test_bundle.cc [new file with mode: 0644]

index a5431b1..347c659 100644 (file)
@@ -22,7 +22,7 @@
 #include <memory>
 #include <string>
 
-#include "notification-ex/bundle.h"
+#include "notification-ex/ex_bundle.h"
 
 #ifndef EXPORT_API
 #define EXPORT_API __attribute__((visibility("default")))
index 9069ee0..2919163 100644 (file)
@@ -23,7 +23,7 @@
 #include <string>
 
 #include "notification-ex/abstract_action.h"
-#include "notification-ex/bundle.h"
+#include "notification-ex/ex_bundle.h"
 
 #ifndef EXPORT_API
 #define EXPORT_API __attribute__((visibility("default")))
index f5f337f..4866dd3 100644 (file)
@@ -18,7 +18,7 @@
 #include <memory>
 
 #include "notification-ex/action.h"
-#include "notification-ex/bundle.h"
+#include "notification-ex/ex_bundle.h"
 #include "notification-ex/exception.h"
 
 #ifdef LOG_TAG
index 247e323..f6abb2e 100644 (file)
@@ -23,7 +23,7 @@
 #include <string>
 
 #include "notification-ex/abstract_action.h"
-#include "notification-ex/bundle.h"
+#include "notification-ex/ex_bundle.h"
 
 namespace notification {
 namespace item {
index 04d9a6e..a0b9b35 100644 (file)
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#include "notification-ex/bundle.h"
+#include "notification-ex/ex_bundle.h"
 #include "notification-ex/exception.h"
 
 #ifdef LOG_TAG
index 5fd1bed..b8063be 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef NOTIFICATION_EX_DBUS_SENDER_H_
 #define NOTIFICATION_EX_DBUS_SENDER_H_
 
-#include "notification-ex/bundle.h"
+#include "notification-ex/ex_bundle.h"
 
 #ifndef EXPORT_API
 #define EXPORT_API __attribute__((visibility("default")))
index b699336..adab148 100644 (file)
@@ -24,7 +24,7 @@
 #include <list>
 
 #include "notification-ex/abstract_item.h"
-#include "notification-ex/bundle.h"
+#include "notification-ex/ex_bundle.h"
 
 #ifndef EXPORT_API
 #define EXPORT_API __attribute__((visibility("default")))
index c4dea88..769c735 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef NOTIFICATION_EX_MOCK_SENDER_H_
 #define NOTIFICATION_EX_MOCK_SENDER_H_
 
-#include "notification-ex/bundle.h"
+#include "notification-ex/ex_bundle.h"
 
 #ifndef EXPORT_API
 #define EXPORT_API __attribute__((visibility("default")))
index 9c1e5d2..7ea61f6 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef NOTIFICATION_EX_OBSERVER_INTERFACE_H_
 #define NOTIFICATION_EX_OBSERVER_INTERFACE_H_
 
-#include "notification-ex/bundle.h"
+#include "notification-ex/ex_bundle.h"
 #include "notification-ex/event_info.h"
 
 #ifndef EXPORT_API
@@ -35,4 +35,4 @@ class EXPORT_API IEventObserver {
 
 }  // namespace notification
 
-#endif
\ No newline at end of file
+#endif
index 6fdede0..37b6014 100644 (file)
@@ -29,6 +29,7 @@ TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${notification-ex_unittests_LDFLAGS}
     ${pkgs_LDFLAGS}
     ${pkgs_LIBRARIES}
     gmock
+    notification-ex
 )
 
 INSTALL(TARGETS ${PROJECT_NAME} DESTINATION /usr/bin/)
diff --git a/unittest/src/test_bundle.cc b/unittest/src/test_bundle.cc
new file mode 100644 (file)
index 0000000..eea029c
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <string>
+
+#include <gtest/gtest.h>
+#include <gmock/gmock.h>
+
+#include "notification-ex/ex_bundle.h"
+
+class BUNDLE : public ::testing::Test {
+ public:
+  virtual void SetUp() {
+  }
+  virtual void TearDown() {
+  }
+};