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.
|
#include <gtest/gtest.h>
|
|
#include <libconfig.h>
|
|
|
|
TEST(config, is_loadable)
|
|
{
|
|
config_t config;
|
|
config_init(&config);
|
|
|
|
int result = config_read_file(&config, "webfused.conf");
|
|
ASSERT_EQ(CONFIG_TRUE, result);
|
|
|
|
config_destroy(&config);
|
|
} |