Smart Home firewall
Profile-based Smart Home firewall
Functions
coap.c File Reference

Unit tests for the CoAP parser. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "packet_utils.h"
#include "header.h"
#include "coap.h"
#include <CUnit/CUnit.h>
#include <CUnit/Basic.h>
Include dependency graph for coap.c:

Functions

void test_coap_non_get ()
 Unit test for the CoAP parser, using a Non-Confirmable GET message.
 
int main (int argc, char const *argv[])
 

Detailed Description

Unit tests for the CoAP parser.

Date
2022-11-30

Function Documentation

◆ main()

int main ( int  argc,
char const *  argv[] 
)

Main function for the unit tests.