[APITESTS] Improve and fix tests

This commit is contained in:
Timo Kreuzer 2019-12-09 17:16:02 +01:00
parent cd5cc017cb
commit 465745b683
45 changed files with 832 additions and 566 deletions

View file

@ -81,7 +81,7 @@ START_TEST(CRegKey)
memset(buffer, 0, sizeof(buffer));
lret = key3.QueryValue(_T("APITEST_VALUE_NAME"), &type, buffer, &buffer_size);
ok(lret == ERROR_ACCESS_DENIED, "Expected lret to be ERROR_ACCESS_DENIED, was: %lu\n", lret);
ok(type == 0 || broken(type == 203), "Expected type to be 0, was: %lu\n", type);
ok(type == 0 || broken(type == 203) || broken(type == 2292784), "Expected type to be 0, was: %lu\n", type);
ok(buffer_size == sizeof(buffer), "Expected buffer_size to be %u, was: %lu\n", sizeof(buffer), buffer_size);