2 * Unit tests for video playback
4 * Copyright 2008 Jörg Höhle
5 * Copyright 2008 Austin English
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 #define WIN32_LEAN_AND_MEAN
26 #include "wine/test.h"
28 static void test_OpenCase(void)
31 /* Open a compressor with combinations of lowercase
32 * and uppercase compressortype and handler.
34 h = ICOpen(mmioFOURCC('v','i','d','c'),mmioFOURCC('m','s','v','c'),ICMODE_DECOMPRESS);
35 ok(0!=h,"ICOpen(vidc.msvc) failed\n");
37 ok(ICClose(h)==ICERR_OK,"ICClose failed\n");
39 h = ICOpen(mmioFOURCC('v','i','d','c'),mmioFOURCC('M','S','V','C'),ICMODE_DECOMPRESS);
40 ok(0!=h,"ICOpen(vidc.MSVC) failed\n");
42 ok(ICClose(h)==ICERR_OK,"ICClose failed\n");
44 h = ICOpen(mmioFOURCC('V','I','D','C'),mmioFOURCC('m','s','v','c'),ICMODE_DECOMPRESS);
45 ok(0!=h,"ICOpen(VIDC.msvc) failed\n");
47 ok(ICClose(h)==ICERR_OK,"ICClose failed\n");
49 h = ICOpen(mmioFOURCC('V','I','D','C'),mmioFOURCC('M','S','V','C'),ICMODE_DECOMPRESS);
50 ok(0!=h,"ICOpen(VIDC.MSVC) failed\n");
52 ok(ICClose(h)==ICERR_OK,"ICClose failed\n");
54 h = ICOpen(mmioFOURCC('v','i','d','c'),mmioFOURCC('m','S','v','C'),ICMODE_DECOMPRESS);
55 ok(0!=h,"ICOpen(vidc.mSvC) failed\n");
57 ok(ICClose(h)==ICERR_OK,"ICClose failed\n");
59 h = ICOpen(mmioFOURCC('v','I','d','C'),mmioFOURCC('m','s','v','c'),ICMODE_DECOMPRESS);
60 ok(0!=h,"ICOpen(vIdC.msvc) failed\n");
62 ok(ICClose(h)==ICERR_OK,"ICClose failed\n");