tests: update test helpers and users

Move test-mu-common to mu-test-utils. Use mu_test_init as a wrapper for
g_test_init. Update users.
This commit is contained in:
Dirk-Jan C. Binnema
2022-08-10 08:20:58 +03:00
parent 84cd6942c4
commit 317fe53ff7
33 changed files with 355 additions and 406 deletions

View File

@ -26,6 +26,7 @@
#include <array>
#include "mu-utils.hh"
#include "mu-test-utils.hh"
#include "mu-error.hh"
using namespace Mu;
@ -301,7 +302,7 @@ test_error()
int
main(int argc, char* argv[])
{
g_test_init(&argc, &argv, nullptr);
mu_test_init(&argc, &argv);
g_test_add_func("/utils/date-basic", test_date_basic);
g_test_add_func("/utils/date-ymwdhMs", test_date_ymwdhMs);