cn-uofbasel / ccn-lite

CCN-lite, a lightweight implementation of the CCNx protocol and its variations
ISC License
74 stars 63 forks source link

adds tests for ccnl-sockunion.c #314

Closed mfrey closed 5 years ago

mfrey commented 5 years ago

Contribution description

Introduces some unit tests for ccnl-sockunion.{c,h}. The PR lacks support for ccnl_addr2ascii and ccnl_addr_cmp. This is mostly due to the fact that some ifdef statements include/exclude parts of the functions. Hence, the tests need to be split up and build files need to changed.