Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
2e1708dc
Commit
2e1708dc
authored
Oct 01, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: Readying some tests for the compilation with -D__WINESRC__.
parent
2720e815
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
11 deletions
+11
-11
atl_ax.c
dlls/atl/tests/atl_ax.c
+2
-2
dplayx.c
dlls/dplayx/tests/dplayx.c
+1
-1
asmcache.c
dlls/fusion/tests/asmcache.c
+2
-2
lzexpand_main.c
dlls/lz32/tests/lzexpand_main.c
+2
-2
pdh.c
dlls/pdh/tests/pdh.c
+1
-1
util.c
dlls/snmpapi/tests/util.c
+1
-1
run.c
programs/wscript/tests/run.c
+2
-2
No files found.
dlls/atl/tests/atl_ax.c
View file @
2e1708dc
...
...
@@ -51,12 +51,12 @@ static ATOM register_class(void)
WNDCLASSA
wndclassA
;
wndclassA
.
style
=
0
;
wndclassA
.
lpfnWndProc
=
DefWindowProc
;
wndclassA
.
lpfnWndProc
=
DefWindowProc
A
;
wndclassA
.
cbClsExtra
=
0
;
wndclassA
.
cbWndExtra
=
0
;
wndclassA
.
hInstance
=
GetModuleHandleA
(
NULL
);
wndclassA
.
hIcon
=
NULL
;
wndclassA
.
hCursor
=
LoadCursorA
(
NULL
,
IDC_ARROW
);
wndclassA
.
hCursor
=
LoadCursorA
(
NULL
,
(
LPSTR
)
IDC_ARROW
);
wndclassA
.
hbrBackground
=
(
HBRUSH
)(
COLOR_BTNFACE
+
1
);
wndclassA
.
lpszMenuName
=
NULL
;
wndclassA
.
lpszClassName
=
"WineAtlTestClass"
;
...
...
dlls/dplayx/tests/dplayx.c
View file @
2e1708dc
...
...
@@ -667,7 +667,7 @@ static void init_TCPIP_provider( IDirectPlay4 *pDP, LPCSTR strIPAddressString, W
/* IP address string */
addressElements
[
1
].
guidDataType
=
DPAID_INet
;
addressElements
[
1
].
dwDataSize
=
lstrlen
(
strIPAddressString
)
+
1
;
addressElements
[
1
].
dwDataSize
=
lstrlen
A
(
strIPAddressString
)
+
1
;
addressElements
[
1
].
lpData
=
(
LPVOID
)
strIPAddressString
;
/* Optional Port number */
...
...
dlls/fusion/tests/asmcache.c
View file @
2e1708dc
...
...
@@ -944,7 +944,7 @@ static void test_InstallAssembly(void)
GetWindowsDirectoryA
(
dllpath
,
MAX_PATH
);
strcat
(
dllpath
,
"
\\
assembly
\\
GAC_MSIL
\\
wine
\\\\
1.0.0.0__2d03617b1c31e2f5
\\
wine.dll"
);
attr
=
GetFileAttributes
(
dllpath
);
attr
=
GetFileAttributes
A
(
dllpath
);
ok
(
attr
!=
INVALID_FILE_ATTRIBUTES
,
"Expected assembly to exist
\n
"
);
/* uninstall the assembly from the GAC */
...
...
@@ -954,7 +954,7 @@ static void test_InstallAssembly(void)
ok
(
disp
==
IASSEMBLYCACHE_UNINSTALL_DISPOSITION_UNINSTALLED
,
"Expected IASSEMBLYCACHE_UNINSTALL_DISPOSITION_UNINSTALLED, got %d
\n
"
,
disp
);
attr
=
GetFileAttributes
(
dllpath
);
attr
=
GetFileAttributes
A
(
dllpath
);
ok
(
attr
==
INVALID_FILE_ATTRIBUTES
,
"Expected assembly not to exist
\n
"
);
disp
=
0xf00dbad
;
...
...
dlls/lz32/tests/lzexpand_main.c
View file @
2e1708dc
...
...
@@ -83,8 +83,8 @@ static void full_file_path_name_in_a_CWD(const char *src, char *dst, BOOL expect
if
(
expect_short
)
{
memcpy
(
shortname
,
dst
,
MAX_PATH
);
retval
=
GetShortPathName
(
shortname
,
dst
,
MAX_PATH
-
1
);
ok
(
retval
>
0
,
"GetShortPathName returned %d for '%s', GLE=%d
\n
"
,
retval
=
GetShortPathName
A
(
shortname
,
dst
,
MAX_PATH
-
1
);
ok
(
retval
>
0
,
"GetShortPathName
A
returned %d for '%s', GLE=%d
\n
"
,
retval
,
dst
,
GetLastError
());
}
}
...
...
dlls/pdh/tests/pdh.c
View file @
2e1708dc
...
...
@@ -63,7 +63,7 @@ static BOOL is_lang_english(void)
static
void
init_function_ptrs
(
void
)
{
pdh
=
GetModuleHandle
(
"pdh"
);
pdh
=
GetModuleHandle
A
(
"pdh"
);
GETFUNCPTR
(
PdhAddEnglishCounterA
)
GETFUNCPTR
(
PdhAddEnglishCounterW
)
GETFUNCPTR
(
PdhCollectQueryDataWithTime
)
...
...
dlls/snmpapi/tests/util.c
View file @
2e1708dc
...
...
@@ -32,7 +32,7 @@ static INT (WINAPI *pSnmpUtilOctetsNCmp)(AsnOctetString*, AsnOctetString*, UINT
static
void
InitFunctionPtrs
(
void
)
{
HMODULE
hSnmpapi
=
GetModuleHandle
(
"snmpapi.dll"
);
HMODULE
hSnmpapi
=
GetModuleHandle
A
(
"snmpapi.dll"
);
#define SNMPAPI_GET_PROC(func) \
p ## func = (void*)GetProcAddress(hSnmpapi, #func); \
...
...
programs/wscript/tests/run.c
View file @
2e1708dc
...
...
@@ -366,7 +366,7 @@ static void run_test(const char *file_name)
CHECK_CALLED
(
reportSuccess
);
}
static
BOOL
WINAPI
test_enum_proc
(
HMODULE
module
,
LPC
T
STR
type
,
LPSTR
name
,
LONG_PTR
param
)
static
BOOL
WINAPI
test_enum_proc
(
HMODULE
module
,
LPCSTR
type
,
LPSTR
name
,
LONG_PTR
param
)
{
const
char
*
script_data
,
*
ext
;
DWORD
script_size
,
size
;
...
...
@@ -418,7 +418,7 @@ static BOOL init_key(const char *key_name, const char *def_value, BOOL init)
DWORD
res
;
if
(
!
init
)
{
RegDeleteKey
(
HKEY_CLASSES_ROOT
,
key_name
);
RegDeleteKey
A
(
HKEY_CLASSES_ROOT
,
key_name
);
return
TRUE
;
}
...
...
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