aboutsummaryrefslogtreecommitdiff
path: root/tests/01base.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2014-10-14 00:24:47 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2014-10-14 00:24:47 +0200
commit77878abe90a3bec0055faf6bd6e4871cc6f1a474 (patch)
tree02d281593addcb5232540781c02c6a8454ae1494 /tests/01base.c
parente98d9c0fd1a148adc844046d568d40de135fb366 (diff)
downloadtermo-77878abe90a3bec0055faf6bd6e4871cc6f1a474.tar.gz
termo-77878abe90a3bec0055faf6bd6e4871cc6f1a474.tar.xz
termo-77878abe90a3bec0055faf6bd6e4871cc6f1a474.zip
Renaming continued
Diffstat (limited to 'tests/01base.c')
-rw-r--r--tests/01base.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/01base.c b/tests/01base.c
index 39e0e39..b5e1f76 100644
--- a/tests/01base.c
+++ b/tests/01base.c
@@ -1,29 +1,29 @@
#include <stdio.h>
-#include "../termkey.h"
+#include "../termo.h"
#include "taplib.h"
int
main (int argc, char *argv[])
{
- termkey_t *tk;
+ termo_t *tk;
plan_tests (6);
- tk = termkey_new_abstract ("vt100", NULL, 0);
- ok (!!tk, "termkey_new_abstract");
- is_int (termkey_get_buffer_size (tk), 256, "termkey_get_buffer_size");
- ok (termkey_is_started (tk), "termkey_is_started true after construction");
+ tk = termo_new_abstract ("vt100", NULL, 0);
+ ok (!!tk, "termo_new_abstract");
+ is_int (termo_get_buffer_size (tk), 256, "termo_get_buffer_size");
+ ok (termo_is_started (tk), "termo_is_started true after construction");
- termkey_stop (tk);
- ok (!termkey_is_started (tk),
- "termkey_is_started false after termkey_stop()");
+ termo_stop (tk);
+ ok (!termo_is_started (tk),
+ "termo_is_started false after termo_stop()");
- termkey_start (tk);
- ok (termkey_is_started (tk),
- "termkey_is_started true after termkey_start()");
+ termo_start (tk);
+ ok (termo_is_started (tk),
+ "termo_is_started true after termo_start()");
- termkey_destroy (tk);
+ termo_destroy (tk);
- ok (1, "termkey_free");
+ ok (1, "termo_free");
return exit_status ();
}