Commit Graph

8 Commits

Author SHA1 Message Date
Vincent Sanders 4448fa6cbf Fix warnings in unit tests 2016-08-08 22:12:16 +01:00
Vincent Sanders c0f4bbb308 remove erroneous parameter check to nsoption_snoptionf
The API check and bounds check for option indexes was from an unsigned
enum so checking for negative numbers was causing "comparison is always
false" errors in compilation.
2016-08-06 10:27:32 +01:00
Vincent Sanders 40ae120360 fix formatted option no init test 2016-08-06 01:29:43 +01:00
Vincent Sanders 62b76bf31a improve option test coverage futher 2016-08-06 01:20:37 +01:00
Vincent Sanders b2a78c5c6e improve user option testing to cover all the API 2016-08-06 00:06:44 +01:00
Vincent Sanders afc79d5912 Improve user option testing and API parameter checking 2016-08-05 22:34:44 +01:00
Vincent Sanders cb3f267d45 Add coverage to the unit test makefile targets
The tests now only require that the test name is added to the TESTS
variable and a testname_SRCS is set with a list of required sources to
compile.
2015-07-08 22:17:20 +01:00
Vincent Sanders c1e864656d add tests for new options API 2013-05-28 14:16:10 +01:00