summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/testclient.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/testclient.cc b/src/testclient.cc
index c0c5797..31632d5 100644
--- a/src/testclient.cc
+++ b/src/testclient.cc
@@ -102,6 +102,7 @@ static int callback_task(struct libwebsocket_context *me,
l, LWS_WRITE_TEXT);
if(current_test->result == NULL) {
+ current_test->success = true;
current_test++;
libwebsocket_callback_on_writable(me, wsi);
}
@@ -189,10 +190,12 @@ TEST_BEGIN;
static struct test tests[] = {
{ "observe 0", BASE, false },
{ "unobserve 0", RMBASE, false },
+ { "create 0", NULL, false },
+ { "observe 0", BASE"0 create 5 0", false },
+ { "update 5 \"My title\"", "0 update 5 \"My title\"", false },
/*
- { "create 0", "", false },
- { "observe 0", BASE"0 create 0 5", false },
{ "unobserve 0", NULL, false },
+ { "observe 0", BASE"0 create 5 0", false },
{ "observe 0", BASE"0 add title description 5", false },
{ "add title2 description 0", BASE"0 add title2 description 6", false },
{ "unobserve 0", NULL, false },