Vincent Sanders
40aa44e4f5
make options test use build directory for temporary files rather than /tmp
2019-09-21 13:25:45 +01:00
Vincent Sanders
737a09d53e
make the temporary file names unique so other tests do not overwrite them
2019-09-21 13:12:31 +01:00
Daniel Silverstone
1eb19587bf
Fix up tests with nslog changes
2017-09-09 10:59:28 +01:00
Vincent Sanders
01d7392a6a
replace tmpnam with something more suitable for the test files
2017-03-09 22:11:55 +00:00
Vincent Sanders
4bc029340e
add some basic url database iteration tests
2016-08-08 23:45:01 +01:00
Vincent Sanders
958fb6aa5e
add url databse write output to unit test
2016-08-08 23:13:23 +01:00
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