|
|
@ -4,7 +4,7 @@ |
|
|
|
#include "munit/munit.h" |
|
|
|
#include "munit/munit.h" |
|
|
|
#ifndef REQUESTRESPONSE_C |
|
|
|
#ifndef REQUESTRESPONSE_C |
|
|
|
#define REQUESTRESPONSE_C value |
|
|
|
#define REQUESTRESPONSE_C value |
|
|
|
#include "requestresponse.test.c" |
|
|
|
#include "../src/requestresponse.c" |
|
|
|
#endif /* ifndef REQUESTRESPONSE_C */ |
|
|
|
#endif /* ifndef REQUESTRESPONSE_C */ |
|
|
|
#include "../src/response.c" |
|
|
|
#include "../src/response.c" |
|
|
|
|
|
|
|
|
|
|
@ -47,6 +47,7 @@ MunitResult testResponseToString(const MunitParameter params[], |
|
|
|
return MUNIT_OK; |
|
|
|
return MUNIT_OK; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static MunitTest response_tests[] = { |
|
|
|
static MunitTest response_tests[] = { |
|
|
|
{ |
|
|
|
{ |
|
|
|
"/new/status", /* name */ |
|
|
|
"/new/status", /* name */ |
|
|
|