about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-09-30 22:42:42 +0100
committerJames Booth <boothj5@gmail.com>2015-09-30 22:42:42 +0100
commite9aff68947668b6e720d353ed395ed3369ca7ed0 (patch)
treeb045c0c38100b6902967ef5d4167ae6178a65cb7
parentb9948a4c018b25b3d5dc0a876740d8621b210070 (diff)
downloadprofani-tty-e9aff68947668b6e720d353ed395ed3369ca7ed0.tar.gz
Fixed functional tests
-rw-r--r--tests/functionaltests/proftest.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/tests/functionaltests/proftest.c b/tests/functionaltests/proftest.c
index aa24ba5b..b839ee48 100644
--- a/tests/functionaltests/proftest.c
+++ b/tests/functionaltests/proftest.c
@@ -172,9 +172,19 @@ init_prof_test(void **state)
     assert_true(prof_output_exact("Word wrap disabled"));
     prof_input("/roster hide");
     assert_true(prof_output_exact("Roster disabled"));
-    prof_input("/time main off");
-    prof_input("/time main off");
-    assert_true(prof_output_exact("Time display disabled"));
+    prof_input("/time console off");
+    prof_input("/time console off");
+    assert_true(prof_output_exact("Console time display disabled."));
+    prof_input("/time chat off");
+    assert_true(prof_output_exact("Chat time display disabled."));
+    prof_input("/time muc off");
+    assert_true(prof_output_exact("MUC time display disabled."));
+    prof_input("/time mucconfig off");
+    assert_true(prof_output_exact("MUC config time display disabled."));
+    prof_input("/time private off");
+    assert_true(prof_output_exact("Private chat time display disabled."));
+    prof_input("/time xml off");
+    assert_true(prof_output_exact("XML Console time display disabled."));
 }
 
 void