Sebastian Lackner : avifil32/tests: Remove a couple of unnecessary tests.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Feb 11 09:59:46 CST 2016


Module: wine
Branch: master
Commit: ec010ce3615d38be79d8f20cbca9a649c5ae2a55
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ec010ce3615d38be79d8f20cbca9a649c5ae2a55

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Thu Feb 11 07:12:01 2016 +0100

avifil32/tests: Remove a couple of unnecessary tests.

Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/avifil32/tests/api.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/dlls/avifil32/tests/api.c b/dlls/avifil32/tests/api.c
index 552a356..137062ad8 100644
--- a/dlls/avifil32/tests/api.c
+++ b/dlls/avifil32/tests/api.c
@@ -371,11 +371,6 @@ static void test_default_data(void)
     create_avi_file(&cah, filename);
 
     res = AVIFileOpenA(&pFile, filename, OF_SHARE_DENY_WRITE, 0L);
-    ok(res != AVIERR_BADFORMAT, "Unable to open file: error1=%u\n", AVIERR_BADFORMAT);
-    ok(res != AVIERR_MEMORY, "Unable to open file: error2=%u\n", AVIERR_MEMORY);
-    ok(res != AVIERR_FILEREAD, "Unable to open file: error3=%u\n", AVIERR_FILEREAD);
-    ok(res != AVIERR_FILEOPEN, "Unable to open file: error4=%u\n", AVIERR_FILEOPEN);
-    ok(res != REGDB_E_CLASSNOTREG, "Unable to open file: error5=%u\n", REGDB_E_CLASSNOTREG);
     ok(res == 0, "Unable to open file: error=%u\n", res);
 
     res = AVIFileGetStream(pFile, &pStream0, 0, 0);




More information about the wine-cvs mailing list