about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-01-28 01:35:11 +0000
committerJames Booth <boothj5@gmail.com>2013-01-28 01:35:11 +0000
commitc72d7ad6a6c919f09430d0781e99d59388871e4f (patch)
tree4e787b8905bd32f3154d426479feb42177f7c4a4 /tests
parent80e62cfa5fc4635f8f1f96467520da5bc05ef6cc (diff)
downloadprofani-tty-c72d7ad6a6c919f09430d0781e99d59388871e4f.tar.gz
Renamed history modules
Diffstat (limited to 'tests')
-rw-r--r--tests/test_history.c (renamed from tests/test_prof_history.c)6
-rw-r--r--tests/testsuite.c2
-rw-r--r--tests/testsuite.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_prof_history.c b/tests/test_history.c
index c58c5957..2f072488 100644
--- a/tests/test_prof_history.c
+++ b/tests/test_history.c
@@ -1,6 +1,6 @@
 #include <stdio.h>
 #include <head-unit.h>
-#include "prof_history.h"
+#include "history.h"
 
 void previous_on_empty_returns_null(void)
 {
@@ -214,9 +214,9 @@ void start_session_add_new_submit_previous(void)
     p_history_append(history, item3);
 }
 
-void register_prof_history_tests(void)
+void register_history_tests(void)
 {
-    TEST_MODULE("prof_history tests");
+    TEST_MODULE("history tests");
     TEST(previous_on_empty_returns_null);
     TEST(next_on_empty_returns_null);
     TEST(previous_once_returns_last);
diff --git a/tests/testsuite.c b/tests/testsuite.c
index 3720ca32..1d00e187 100644
--- a/tests/testsuite.c
+++ b/tests/testsuite.c
@@ -3,7 +3,7 @@
 
 int main(void)
 {
-    register_prof_history_tests();
+    register_history_tests();
     register_contact_list_tests();
     register_common_tests();
     register_autocomplete_tests();
diff --git a/tests/testsuite.h b/tests/testsuite.h
index eecf1b00..1ab77a5c 100644
--- a/tests/testsuite.h
+++ b/tests/testsuite.h
@@ -1,7 +1,7 @@
 #ifndef TESTSUITE_H
 #define TESTSUITE_H
 
-void register_prof_history_tests(void);
+void register_history_tests(void);
 void register_contact_list_tests(void);
 void register_common_tests(void);
 void register_autocomplete_tests(void);