about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-02-02 22:54:16 +0000
committerJames Booth <boothj5@gmail.com>2013-02-02 22:54:16 +0000
commit86bad48f4114092a5fbe8c01d620e4e8389c0e84 (patch)
treec9882854e1748d82b7535481432d9226f4bceafd
parentb762f2c670be71e45f1f4d3a9ccfb499201658c4 (diff)
downloadprofani-tty-86bad48f4114092a5fbe8c01d620e4e8389c0e84.tar.gz
Fixed tests
-rw-r--r--Makefile.am6
-rw-r--r--tests/test_autocomplete.c2
-rw-r--r--tests/test_history.c2
-rw-r--r--tests/test_parser.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am
index 6f2e0bc9..d09f8072 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,9 +22,9 @@ profanity_SOURCES = src/contact.c src/contact.h src/log.c src/common.c \
 TESTS = tests/testsuite
 check_PROGRAMS = tests/testsuite
 tests_testsuite_SOURCES = tests/test_contact_list.c src/contact_list.c src/contact.c \
-	tests/test_common.c tests/test_history.c src/history.c src/common.c \
-	tests/test_autocomplete.c src/autocomplete.c tests/testsuite.c \
-	tests/test_parser.c src/command_parser.c tests/test_jid.c src/jid.c
+	tests/test_common.c tests/test_history.c src/tools/history.c src/common.c \
+	tests/test_autocomplete.c src/tools/autocomplete.c tests/testsuite.c \
+	tests/test_parser.c src/command/parser.c tests/test_jid.c src/jid.c
 tests_testsuite_LDADD = -lheadunit -lstdc++
 
 man_MANS = docs/profanity.1
diff --git a/tests/test_autocomplete.c b/tests/test_autocomplete.c
index ee90e0cb..b7d70e9b 100644
--- a/tests/test_autocomplete.c
+++ b/tests/test_autocomplete.c
@@ -5,7 +5,7 @@
 #include <glib.h>
 
 #include "contact.h"
-#include "autocomplete.h"
+#include "tools/autocomplete.h"
 
 static void clear_empty(void)
 {
diff --git a/tests/test_history.c b/tests/test_history.c
index 75ee8535..91e5aa99 100644
--- a/tests/test_history.c
+++ b/tests/test_history.c
@@ -1,6 +1,6 @@
 #include <stdio.h>
 #include <head-unit.h>
-#include "history.h"
+#include "tools/history.h"
 
 void previous_on_empty_returns_null(void)
 {
diff --git a/tests/test_parser.c b/tests/test_parser.c
index d72fd5c0..fd1b1e1c 100644
--- a/tests/test_parser.c
+++ b/tests/test_parser.c
@@ -1,7 +1,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <head-unit.h>
-#include "command.h"
+#include "command/parser.h"
 
 void
 parse_null_returns_null(void)