summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2018-08-15 15:38:22 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2018-08-30 12:01:18 +0100
commitaf02dd42e2e9adb341900dac10f96e684458dee6 (patch)
tree8c845f12f8701f5568b0afc3811362e8aa5787a1
parentb34c357bbd4883e409a8d617c528db92bf0963c0 (diff)
downloadlibnslayout-master.tar.gz
libnslayout-master.tar.bz2
Tests: Rename the suite that just creates an empty layout.HEADmaster
-rw-r--r--test/Makefile2
-rw-r--r--test/basic-tests.c (renamed from test/nslayout-object-tests.c)2
-rw-r--r--test/tests.c2
-rw-r--r--test/tests.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/Makefile b/test/Makefile
index 967d8da..feb4d77 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,3 +1,3 @@
-DIR_TEST_ITEMS := testrunner:tests.c;assert-tests.c;nslayout-object-tests.c
+DIR_TEST_ITEMS := testrunner:tests.c;assert-tests.c;basic-tests.c
include $(NSBUILD)/Makefile.subdir
diff --git a/test/nslayout-object-tests.c b/test/basic-tests.c
index 4a3f2c4..c4be121 100644
--- a/test/nslayout-object-tests.c
+++ b/test/basic-tests.c
@@ -71,7 +71,7 @@ START_TEST (test_nsl_layout_create_ok)
END_TEST
-void nsl_nsl_object_suite(SRunner *sr)
+void nsl_basic_suite(SRunner *sr)
{
Suite *s = suite_create("libnslayout: nslayout object tests");
TCase *tc_layout_basic = tcase_create("Creation/Destruction");
diff --git a/test/tests.c b/test/tests.c
index 9ca987c..e2edf88 100644
--- a/test/tests.c
+++ b/test/tests.c
@@ -40,7 +40,7 @@ int main(int argc, char **argv)
#ifndef NDEBUG
nsl_assert_suite(sr);
#endif
- nsl_nsl_object_suite(sr);
+ nsl_basic_suite(sr);
srunner_set_fork_status(sr, CK_FORK);
srunner_run_all(sr, CK_ENV);
diff --git a/test/tests.h b/test/tests.h
index fd89bea..1f31da7 100644
--- a/test/tests.h
+++ b/test/tests.h
@@ -14,6 +14,6 @@
#include <libnslayout/nslayout.h>
extern void nsl_assert_suite(SRunner *);
-extern void nsl_nsl_object_suite(SRunner *);
+extern void nsl_basic_suite(SRunner *);
#endif