summaryrefslogtreecommitdiff
path: root/libgweather/tests/gweather-test-utils.h
blob: f94014ecf22ca11641a46c1a25d6a3db782cf4d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* gweather-test-utils.h: Utility API for GWeather tests
 *
 * SPDX-FileCopyrightText: 2021  Emmanuele Bassi
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#pragma once

#include <glib.h>
#include <glib/gstdio.h>
#include <locale.h>
#include <string.h>

#include <libgweather/gweather.h>

G_BEGIN_DECLS

void
gweather_test_reset_world (void);

/* Set up the temporary directory with the GSettings schemas */
char *
gweather_test_setup_gsettings (void);

void
gweather_test_teardown_gsettings (const char *schemas_dir);

G_END_DECLS