tests: Add tests for Origin and Calls
This commit is contained in:
22
tests/setup-provider.c
Normal file
22
tests/setup-provider.c
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Copyright (C) 2018 Purism SPC
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0+
|
||||
*/
|
||||
|
||||
#include "setup-provider.h"
|
||||
|
||||
void
|
||||
test_dummy_provider_set_up (ProviderFixture *fixture,
|
||||
gconstpointer user_data)
|
||||
{
|
||||
fixture->dummy_provider = calls_dummy_provider_new ();
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
test_dummy_provider_tear_down (ProviderFixture *fixture,
|
||||
gconstpointer user_data)
|
||||
{
|
||||
g_clear_object (&fixture->dummy_provider);
|
||||
}
|
||||
Reference in New Issue
Block a user