tests: Add tests for Origin and Calls

This commit is contained in:
Bob Ham
2018-10-03 14:21:28 +00:00
parent 58c3820f29
commit b727916bc8
12 changed files with 386 additions and 91 deletions
+22
View 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);
}