Cleanup
This commit is contained in:
parent
8361040aec
commit
745485dde3
2 changed files with 2 additions and 6 deletions
|
@ -275,11 +275,6 @@ TestResult test_encode_publish_no_msg(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
TestResult test_encode_publish_dup_qos0(void) {
|
TestResult test_encode_publish_dup_qos0(void) {
|
||||||
char data[] = {
|
|
||||||
0x33, 0x0e, // header, qos1, retain
|
|
||||||
0x00, 0x0a, 't', 'e', 's', 't', '/', 't', 'o', 'p', 'i', 'c',
|
|
||||||
0x00, 0x0a // packet id
|
|
||||||
};
|
|
||||||
PublishPayload *payload = calloc(1, sizeof(PublishPayload));
|
PublishPayload *payload = calloc(1, sizeof(PublishPayload));
|
||||||
|
|
||||||
payload->qos = MQTT_QOS_0;
|
payload->qos = MQTT_QOS_0;
|
||||||
|
|
|
@ -66,10 +66,11 @@ static inline TestResult TESTMEMCMP(Buffer *template, Buffer *check) {
|
||||||
|
|
||||||
// not implemented placeholder
|
// not implemented placeholder
|
||||||
|
|
||||||
|
#if 0
|
||||||
static TestResult not_implemented(void) {
|
static TestResult not_implemented(void) {
|
||||||
TESTRESULT(TestStatusSkipped, "Not implemented");
|
TESTRESULT(TestStatusSkipped, "Not implemented");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void timetrial(DefinedTest *test);
|
void timetrial(DefinedTest *test);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue