diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2014-11-03 13:10:31 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2014-11-09 17:58:13 +0100 |
commit | 496ce55c3933279b2b877cef586db3ca3f4c4451 (patch) | |
tree | 9cd95bd324081087e4b975c3795a4d50b33e4add /src/libqmi-glib/test/test-generated.c | |
parent | 32d95f442ea7fcc75984c02d9ae4548bf9802c5f (diff) |
libqmi,test: setup testing framework to test content of generated messages
Diffstat (limited to 'src/libqmi-glib/test/test-generated.c')
-rw-r--r-- | src/libqmi-glib/test/test-generated.c | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/libqmi-glib/test/test-generated.c b/src/libqmi-glib/test/test-generated.c new file mode 100644 index 0000000..0a6275c --- /dev/null +++ b/src/libqmi-glib/test/test-generated.c @@ -0,0 +1,38 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details: + * + * Copyright (C) 2014 Aleksander Morgado <aleksander@aleksander.es> + */ + +#include <config.h> +#include <libqmi-glib.h> + +#include "test-fixture.h" + +static void +test_generated_core (TestFixture *fixture) +{ + /* Noop */ +} + +/*****************************************************************************/ + +int main (int argc, char **argv) +{ + g_type_init (); + g_test_init (&argc, &argv, NULL); + + /* Test the setup/teardown test methods */ + TEST_ADD ("/libqmi-glib/generated/core", test_generated_core); + + return g_test_run (); +} |