#include <memory>
#include <string>
-#include "notification-ex/bundle.h"
+#include "notification-ex/ex_bundle.h"
#ifndef EXPORT_API
#define EXPORT_API __attribute__((visibility("default")))
#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")))
#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
#include <string>
#include "notification-ex/abstract_action.h"
-#include "notification-ex/bundle.h"
+#include "notification-ex/ex_bundle.h"
namespace notification {
namespace item {
* limitations under the License.
*/
-#include "notification-ex/bundle.h"
+#include "notification-ex/ex_bundle.h"
#include "notification-ex/exception.h"
#ifdef LOG_TAG
+++ /dev/null
-/*
- * 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.
- */
-
-#ifndef NOTIFICATION_EX_BUNDLE_H_
-#define NOTIFICATION_EX_BUNDLE_H_
-
-#include <bundle.h>
-
-#include <string>
-
-#ifndef EXPORT_API
-#define EXPORT_API __attribute__((visibility("default")))
-#endif
-
-namespace notification {
-namespace item {
-
-class EXPORT_API Bundle {
- public:
- Bundle();
- explicit Bundle(std::string raw);
- explicit Bundle(bundle* raw);
- ~Bundle();
-
- Bundle(const Bundle&);
- Bundle& operator=(const Bundle&);
-
- Bundle(Bundle && other);
- Bundle& operator=(Bundle && other);
-
- const bundle* GetConstRaw() const;
- bundle* GetRaw();
- const char* ToString();
-
- private:
- bundle* raw_ = NULL;
- char* str_raw_ = NULL;
-};
-
-} // namespace item
-} // namespace notification
-
-#endif // NOTIFICATION_EX_BUNDLE_H_
#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")))
--- /dev/null
+/*
+ * 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.
+ */
+
+#ifndef NOTIFICATION_EX_BUNDLE_H_
+#define NOTIFICATION_EX_BUNDLE_H_
+
+#include <bundle.h>
+
+#include <string>
+
+#ifndef EXPORT_API
+#define EXPORT_API __attribute__((visibility("default")))
+#endif
+
+namespace notification {
+namespace item {
+
+class EXPORT_API Bundle {
+ public:
+ Bundle();
+ explicit Bundle(std::string raw);
+ explicit Bundle(bundle* raw);
+ ~Bundle();
+
+ Bundle(const Bundle&);
+ Bundle& operator=(const Bundle&);
+
+ Bundle(Bundle && other);
+ Bundle& operator=(Bundle && other);
+
+ const bundle* GetConstRaw() const;
+ bundle* GetRaw();
+ const char* ToString();
+
+ private:
+ bundle* raw_ = NULL;
+ char* str_raw_ = NULL;
+};
+
+} // namespace item
+} // namespace notification
+
+#endif // NOTIFICATION_EX_BUNDLE_H_
#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")))
#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")))
#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
} // namespace notification
-#endif
\ No newline at end of file
+#endif
${pkgs_LDFLAGS}
${pkgs_LIBRARIES}
gmock
+ notification-ex
)
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION /usr/bin/)
--- /dev/null
+/*
+ * 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() {
+ }
+};