index 9dc157068183b49c2e2c4e1e74276bcccee9c064..ff6a18edc3ae8f095988129231430b893a0a5b03 100644 (file)
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "core/store.h"
-#include "libsysdb_test.h"
+#include "testutils.h"
#include <assert.h>
}
END_TEST
-Suite *
-core_store_json_suite(void)
+TEST_MAIN("core::store_json")
{
- Suite *s = suite_create("core::store_json");
- TCase *tc;
-
- tc = tcase_create("core");
+ TCase *tc = tcase_create("core");
TC_ADD_LOOP_TEST(tc, store_tojson);
tcase_add_unchecked_fixture(tc, populate, sdb_store_clear);
- suite_add_tcase(s, tc);
-
- return s;
-} /* core_store_json_suite */
+ ADD_TCASE(tc);
+}
+TEST_MAIN_END
/* vim: set tw=78 sw=4 ts=4 noexpandtab : */