Skip to content

net/nanocoap: test coap_get_uri() boundaries#9444

Merged
kb2ma merged 1 commit intoRIOT-OS:masterfrom
kb2ma:nanocoap/test_get_uri_path
Jun 28, 2018
Merged

net/nanocoap: test coap_get_uri() boundaries#9444
kb2ma merged 1 commit intoRIOT-OS:masterfrom
kb2ma:nanocoap/test_get_uri_path

Conversation

@kb2ma
Copy link
Copy Markdown
Member

@kb2ma kb2ma commented Jun 28, 2018

Contribution description

Adds unit tests for retrieval of large and small URI paths via coap_get_uri(). See PR comment for motivation.

Issues/PRs references

Supports #9156.

@kb2ma kb2ma added Area: tests Area: tests and testing framework Area: CoAP Area: Constrained Application Protocol implementations labels Jun 28, 2018
@kb2ma kb2ma requested a review from bergzand June 28, 2018 03:34
Copy link
Copy Markdown
Member

@smlng smlng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, tested ACK. Though I feel there is (much) room for lots of code deduplication here - or in unittests in general, but that's another PRs work 😄

@smlng smlng added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Jun 28, 2018
@kb2ma
Copy link
Copy Markdown
Member Author

kb2ma commented Jun 28, 2018

Thanks, @smlng! Yes, there definitely is room to streamline the tests. :-/ At least I added a comment to describe how one builds on another.

I've been working with @bergzand on this, but will accept without his comments since the purpose is straightforward.

Off we go!

@kb2ma kb2ma merged commit 03115a7 into RIOT-OS:master Jun 28, 2018
@kb2ma kb2ma deleted the nanocoap/test_get_uri_path branch June 28, 2018 17:06
@cladmi cladmi added this to the Release 2018.07 milestone Jul 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: CoAP Area: Constrained Application Protocol implementations Area: tests Area: tests and testing framework CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants