a highly automated and intuitive digital audio workstation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
675 B

// SPDX-FileCopyrightText: © 2021 Alexandros Theodotou <alex@zrythm.org>
// SPDX-License-Identifier: LicenseRef-ZrythmLicense
#include "zrythm-test-config.h"
#include "settings/settings.h"
#include "tests/helpers/zrythm.h"
static void
test_append_to_strv (void)
{
test_helper_zrythm_init ();
GSettings settings;
settings_append_to_strv (
&settings, "test-key", "test-val", false);
test_helper_zrythm_cleanup ();
}
int
main (int argc, char * argv[])
{
g_test_init (&argc, &argv, NULL);
#define TEST_PREFIX "/settings/settings/"
g_test_add_func (
TEST_PREFIX "test append to strv",
(GTestFunc) test_append_to_strv);
return g_test_run ();
}