domo-io WIP: add nats broker. and setup the rest handler.

This commit is contained in:
NADAL Jean-Baptiste
2019-12-26 11:33:45 +01:00
parent a0a3c90e3c
commit c43fc0b195
13 changed files with 629 additions and 245 deletions

15
lib/tests/test_restd.c Normal file
View File

@@ -0,0 +1,15 @@
#include "qunit.h"
#include "qlibc.h"
QUNIT_START("Test title");
TEST("Test name1") {
ASSERT_EQUAL_STR("abc", "abc");
ASSERT_EQUAL_INT(8, 8);
}
TEST("Test name2") {
ASSERT_EQUAL_PT(NULL == NULL);
}
QUNIT_END();