summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2015-07-29 18:59:13 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2015-08-03 22:30:20 +0100
commit1fec3408932e9f9b8bb10cd64ff6c1f56a4c09aa (patch)
treeba69176bd3d5f80dacdb9c257db5ad65e5a11f05
parent4155e6fb1e8d85dbc777fa85fb61b745647d6505 (diff)
downloadlibnslayout-1fec3408932e9f9b8bb10cd64ff6c1f56a4c09aa.tar.gz
libnslayout-1fec3408932e9f9b8bb10cd64ff6c1f56a4c09aa.tar.bz2
Move nslayout object tests.
-rw-r--r--test/Makefile2
-rw-r--r--test/nslayout_object-tests.c (renamed from test/basic-layout-tests.c)4
-rw-r--r--test/tests.c2
-rw-r--r--test/tests.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/test/Makefile b/test/Makefile
index 5703e79..24a036e 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,3 +1,3 @@
-DIR_TEST_ITEMS := testrunner:tests.c;assert-tests.c;basic-layout-tests.c
+DIR_TEST_ITEMS := testrunner:tests.c;assert-tests.c;nslayout_object-tests.c
include $(NSBUILD)/Makefile.subdir
diff --git a/test/basic-layout-tests.c b/test/nslayout_object-tests.c
index 273cdf9..a2f9afc 100644
--- a/test/basic-layout-tests.c
+++ b/test/nslayout_object-tests.c
@@ -67,9 +67,9 @@ START_TEST (test_nslayout_layout_create_ok)
END_TEST
-void nslayout_basic_layout_suite(SRunner *sr)
+void nslayout_nslayout_object_suite(SRunner *sr)
{
- Suite *s = suite_create("libnslayout: basic layout tests");
+ Suite *s = suite_create("libnslayout: nslayout object tests");
TCase *tc_layout_basic = tcase_create("Creation/Destruction");
tcase_add_test(tc_layout_basic, test_nslayout_layout_create_ok);
diff --git a/test/tests.c b/test/tests.c
index a58e038..48fc68c 100644
--- a/test/tests.c
+++ b/test/tests.c
@@ -40,7 +40,7 @@ int main(int argc, char **argv)
#ifndef NDEBUG
nslayout_assert_suite(sr);
#endif
- nslayout_basic_layout_suite(sr);
+ nslayout_nslayout_object_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 4f7795f..9f05d9c 100644
--- a/test/tests.h
+++ b/test/tests.h
@@ -14,6 +14,6 @@
#include <libnslayout/nslayout.h>
extern void nslayout_assert_suite(SRunner *);
-extern void nslayout_basic_layout_suite(SRunner *);
+extern void nslayout_nslayout_object_suite(SRunner *);
#endif