Commit Graph

17 Commits

Author SHA1 Message Date
Michael Stefaniuc a49b28cc77 snmpapi/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-31 09:25:06 +02:00
Michael Stefaniuc 2e1708dc1b tests: Readying some tests for the compilation with -D__WINESRC__. 2013-10-02 11:03:26 +02:00
Paul Vriens 2cde604211 snmpapi/tests: Fix a crash on some 64bit systems. 2009-11-24 15:53:37 +01:00
Francois Gouget 96848a0605 Remove spaces before '\n's. 2009-03-09 12:05:58 +01:00
Francois Gouget 392b8cc689 snmpapi/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-25 12:49:50 +01:00
Juan Lang dd75176d34 snmpapi: Relax tests to fix some failures.
The tests were overly restrictive.  The functions are supposed to
return values less than 0, 0, or greater than 0, whereas the tests
restricted the return values to -1, 0, or 1.  Using less than
0/greater than 0 comparisons rather than == -1 or == 1 should fix a
few failing tests, and match the API descriptions better.
2009-02-16 11:48:04 +01:00
Paul Vriens ad8efd9340 snmpapi/tests: Fix failures on NT4 and below. 2008-11-12 13:11:04 +01:00
Hans Leidekker b72d636062 snmpapi: Fix a memory leak in the test. 2008-07-21 12:21:14 +02:00
Alistair Leslie-Hughes 294573a594 snmpapi: Correct snmpapi tests under win98. 2008-06-04 12:31:45 +02:00
Juan Lang 3108e3605c snmpapi: Test and correct SnmpUtilOidNCmp when count is less than Oid length. 2008-05-19 20:20:11 +02:00
Juan Lang a96e118ddb snmpapi: Test and correct SnmpUtilOidNCmp when Oid lengths don't match. 2008-05-19 20:20:08 +02:00
Hans Leidekker 42aa4e46b6 snmpapi: Make a test pass on Vista. 2007-11-12 11:40:55 +01:00
Paul Vriens 47c5c590f5 snmpapi/tests: Be more verbose on missing functions. 2007-08-10 16:19:07 +02:00
Paul Vriens 5aeb63eb45 snmpapi/tests: Run tests again on win98 and NT4. 2007-08-09 13:53:07 +02:00
Alexandre Julliard be570f4655 snmpapi: Fix printf format warnings in tests. 2007-01-26 13:07:05 +01:00
Hans Leidekker 318a71fddb snmpapi: Add tests for SnmpUtilVarBind{, List}{Cpy, Free}. Make them pass. 2007-01-23 11:37:46 +01:00
Hans Leidekker 396f6c05d1 snmpapi: Add a bunch of tests. 2007-01-23 11:31:59 +01:00