Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
754e6216
Commit
754e6216
authored
Dec 30, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msrle32/tests: Added tests.
parent
66736b4a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
55 additions
and
0 deletions
+55
-0
configure
configure
+1
-0
configure.ac
configure.ac
+1
-0
Makefile.in
dlls/msrle32/tests/Makefile.in
+5
-0
msrle.c
dlls/msrle32/tests/msrle.c
+48
-0
No files found.
configure
View file @
754e6216
...
...
@@ -16976,6 +16976,7 @@ wine_fn_config_dll msls31 enable_msls31
wine_fn_config_dll msnet32 enable_msnet32
wine_fn_config_dll mspatcha enable_mspatcha
wine_fn_config_dll msrle32 enable_msrle32 po
wine_fn_config_test dlls/msrle32/tests msrle32_test
wine_fn_config_dll mssign32 enable_mssign32
wine_fn_config_dll mssip32 enable_mssip32
wine_fn_config_dll mstask enable_mstask clean
...
...
configure.ac
View file @
754e6216
...
...
@@ -3019,6 +3019,7 @@ WINE_CONFIG_DLL(msls31)
WINE_CONFIG_DLL(msnet32)
WINE_CONFIG_DLL(mspatcha)
WINE_CONFIG_DLL(msrle32,,[po])
WINE_CONFIG_TEST(dlls/msrle32/tests)
WINE_CONFIG_DLL(mssign32)
WINE_CONFIG_DLL(mssip32)
WINE_CONFIG_DLL(mstask,,[clean])
...
...
dlls/msrle32/tests/Makefile.in
0 → 100644
View file @
754e6216
TESTDLL
=
msrle32.dll
IMPORTS
=
msvfw32
C_SRCS
=
msrle.c
@MAKE_TEST_RULES@
dlls/msrle32/tests/msrle.c
0 → 100644
View file @
754e6216
/*
* Copyright 2013 Jacek Caban for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <vfw.h>
#include <aviriff.h>
#include "wine/test.h"
static
void
test_encode
(
void
)
{
ICINFO
info
;
HIC
hic
;
LRESULT
res
;
hic
=
ICOpen
(
FCC
(
'V'
,
'I'
,
'D'
,
'C'
),
FCC
(
'm'
,
'r'
,
'l'
,
'e'
),
ICMODE_COMPRESS
);
ok
(
hic
!=
NULL
,
"ICOpen failed
\n
"
);
res
=
ICGetInfo
(
hic
,
&
info
,
sizeof
(
info
));
ok
(
res
==
sizeof
(
info
),
"res = %ld
\n
"
,
res
);
ok
(
info
.
dwSize
==
sizeof
(
info
),
"dwSize = %d
\n
"
,
info
.
dwSize
);
ok
(
info
.
fccHandler
==
FCC
(
'M'
,
'R'
,
'L'
,
'E'
),
"fccHandler = %x
\n
"
,
info
.
fccHandler
);
todo_wine
ok
(
info
.
dwFlags
==
(
VIDCF_QUALITY
|
VIDCF_CRUNCH
|
VIDCF_TEMPORAL
),
"dwFlags = %x
\n
"
,
info
.
dwFlags
);
ok
(
info
.
dwVersionICM
==
ICVERSION
,
"dwVersionICM = %d
\n
"
,
info
.
dwVersionICM
);
ICClose
(
hic
);
}
START_TEST
(
msrle
)
{
test_encode
();
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment