Commit Graph

12 Commits (8330e11ca743c861c325bc772820a94ac2441c08)

Author SHA1 Message Date
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