mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-04 23:51:17 +00:00
85c6ac2ff8
And unref it after we're done. Otherwise we're leaking memory because the dummy provider only keeps actively unrefs the origin it added itself.
20 lines
489 B
C
20 lines
489 B
C
/*
|
|
* Copyright (C) 2018 Purism SPC
|
|
*
|
|
* SPDX-License-Identifier: GPL-3.0+
|
|
*/
|
|
|
|
#include "setup-provider.h"
|
|
#include "calls-dummy-origin.h"
|
|
|
|
#define TEST_ORIGIN_NAME "Test Dummy origin"
|
|
|
|
#define TEST_CALL_NUMBER "0123456789"
|
|
|
|
typedef struct {
|
|
ProviderFixture parent;
|
|
CallsDummyOrigin *dummy_origin;
|
|
} OriginFixture;
|
|
|
|
void test_dummy_origin_set_up (OriginFixture *fixture, gconstpointer user_data);
|
|
void test_dummy_origin_tear_down (OriginFixture *fixture, gconstpointer user_data);
|