diff options
Diffstat (limited to 'unittest/mock/notification_fake.h')
-rw-r--r-- | unittest/mock/notification_fake.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/unittest/mock/notification_fake.h b/unittest/mock/notification_fake.h new file mode 100644 index 0000000..28e86f2 --- /dev/null +++ b/unittest/mock/notification_fake.h @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved + * + * 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 MOCK_NOTIFICATION_H_ +#define MOCK_NOTIFICATION_H_ + +#include <glib.h> +#include <notification.h> +#include <notification_ipc.h> + +#include "mock.h" + +DECLARE_FAKE_VALUE_FUNC(notification_h, notification_create, notification_type_e); +DECLARE_FAKE_VALUE_FUNC(GVariant*, notification_ipc_make_gvariant_from_noti, + notification_h, bool); + +#endif //MOCK_NOTIFICATION_H_ |