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
2adb302a
Commit
2adb302a
authored
Nov 10, 2005
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 10, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add trailing '\n's to ok() and TRACE() calls.
parent
63f8bdaa
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
12 deletions
+12
-12
toolbar.c
dlls/comctl32/tests/toolbar.c
+1
-1
device.c
dlls/d3d9/device.c
+1
-1
thread.c
dlls/kernel/tests/thread.c
+2
-2
domdoc.c
dlls/msxml3/tests/domdoc.c
+3
-3
parser.c
dlls/setupapi/tests/parser.c
+3
-3
msg.c
dlls/user/tests/msg.c
+2
-2
No files found.
dlls/comctl32/tests/toolbar.c
View file @
2adb302a
...
...
@@ -59,7 +59,7 @@ static LRESULT CALLBACK MyWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPa
0
,
NULL
,
(
UINT
)
0
,
buttons
,
sizeof
(
buttons
)
/
sizeof
(
buttons
[
0
]),
0
,
0
,
20
,
16
,
sizeof
(
TBBUTTON
));
ok
(
hToolbar
!=
NULL
,
"Toolbar creation"
);
ok
(
hToolbar
!=
NULL
,
"Toolbar creation
\n
"
);
SendMessage
(
hToolbar
,
TB_ADDSTRINGA
,
0
,
(
LPARAM
)
"test
\000
"
);
...
...
dlls/d3d9/device.c
View file @
2adb302a
...
...
@@ -104,7 +104,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_GetDirect3D(LPDIRECT3DDEVICE9 iface, IDire
FIXME
(
"Call to IWineD3DDevice_GetDirect3D failed
\n
"
);
*
ppD3D9
=
NULL
;
}
TRACE
(
"(%p) returning %p
\
b
"
,
This
,
*
ppD3D9
);
TRACE
(
"(%p) returning %p
\
n
"
,
This
,
*
ppD3D9
);
return
hr
;
}
...
...
dlls/kernel/tests/thread.c
View file @
2adb302a
...
...
@@ -236,7 +236,7 @@ static VOID test_CreateThread_basic(void)
thread
[
0
]
=
CreateThread
(
NULL
,
0
,
threadFunc2
,
NULL
,
0
,
NULL
);
GLE
=
GetLastError
();
if
(
thread
[
0
])
{
/* NT */
ok
(
GLE
==
0xFACEaBAD
,
"CreateThread set last error to %ld, expected 4207848365"
,
GLE
);
ok
(
GLE
==
0xFACEaBAD
,
"CreateThread set last error to %ld, expected 4207848365
\n
"
,
GLE
);
ret
=
WaitForSingleObject
(
thread
[
0
],
100
);
ok
(
ret
==
WAIT_OBJECT_0
,
"threadFunc2 did not exit during 100 ms
\n
"
);
ret
=
GetExitCodeThread
(
thread
[
0
],
&
exitCode
);
...
...
@@ -245,7 +245,7 @@ static VOID test_CreateThread_basic(void)
ok
(
CloseHandle
(
thread
[
0
])
!=
0
,
"Error closing thread handle
\n
"
);
}
else
{
/* 9x */
ok
(
GLE
==
ERROR_INVALID_PARAMETER
,
"CreateThread set last error to %ld, expected 87"
,
GLE
);
ok
(
GLE
==
ERROR_INVALID_PARAMETER
,
"CreateThread set last error to %ld, expected 87
\n
"
,
GLE
);
}
}
...
...
dlls/msxml3/tests/domdoc.c
View file @
2adb302a
...
...
@@ -157,7 +157,7 @@ void test_domdoc( void )
/* check if nodename is correct */
r
=
IXMLDOMDocument_get_nodeName
(
doc
,
NULL
);
ok
(
r
==
E_INVALIDARG
,
"get_nodeName (NULL) wrong code"
);
ok
(
r
==
E_INVALIDARG
,
"get_nodeName (NULL) wrong code
\n
"
);
/* content doesn't matter here */
str
=
SysAllocString
(
szNonExistentFile
);
...
...
@@ -307,7 +307,7 @@ void test_domnode( void )
/* check if nodename is correct */
r
=
IXMLDOMElement_get_nodeName
(
element
,
NULL
);
ok
(
r
==
E_INVALIDARG
,
"get_nodeName (NULL) wrong code"
);
ok
(
r
==
E_INVALIDARG
,
"get_nodeName (NULL) wrong code
\n
"
);
/* content doesn't matter here */
str
=
SysAllocString
(
szNonExistentFile
);
...
...
@@ -358,7 +358,7 @@ void test_domnode( void )
ok
(
node
!=
NULL
,
"should be attribute
\n
"
);
r
=
IXMLDOMNode_get_nodeName
(
node
,
NULL
);
ok
(
r
==
E_INVALIDARG
,
"get_nodeName (NULL) wrong code"
);
ok
(
r
==
E_INVALIDARG
,
"get_nodeName (NULL) wrong code
\n
"
);
/* content doesn't matter here */
str
=
SysAllocString
(
szNonExistentFile
);
...
...
dlls/setupapi/tests/parser.c
View file @
2adb302a
...
...
@@ -218,13 +218,13 @@ static void test_section_names(void)
trace
(
"hinf=%p ret=%ld err=%lx
\n
"
,
hinf
,
ret
,
err
);
if
(
ret
!=
-
1
)
{
ok
(
!
section_names
[
i
].
error
,
"line %u: section name %s found"
,
ok
(
!
section_names
[
i
].
error
,
"line %u: section name %s found
\n
"
,
i
,
section_names
[
i
].
section
);
ok
(
!
err
,
"line %u: bad error code %lx"
,
i
,
err
);
ok
(
!
err
,
"line %u: bad error code %lx
\n
"
,
i
,
err
);
}
else
{
ok
(
section_names
[
i
].
error
,
"line %u: section name %s not found"
,
ok
(
section_names
[
i
].
error
,
"line %u: section name %s not found
\n
"
,
i
,
section_names
[
i
].
section
);
ok
(
err
==
section_names
[
i
].
error
,
"line %u: bad error %lx/%lx
\n
"
,
i
,
err
,
section_names
[
i
].
error
);
...
...
dlls/user/tests/msg.c
View file @
2adb302a
...
...
@@ -3735,7 +3735,7 @@ static void test_paint_messages(void)
*/
trace
(
"testing ValidateRect(0, NULL)
\n
"
);
SetRectEmpty
(
&
rect
);
ok
(
ValidateRect
(
0
,
&
rect
),
"ValidateRect(0, &rc) should not fail"
);
ok
(
ValidateRect
(
0
,
&
rect
),
"ValidateRect(0, &rc) should not fail
\n
"
);
check_update_rgn
(
hwnd
,
hrgn
);
ok_sequence
(
WmInvalidateErase
,
"InvalidateErase"
,
FALSE
);
while
(
PeekMessage
(
&
msg
,
0
,
0
,
0
,
PM_REMOVE
))
DispatchMessage
(
&
msg
);
...
...
@@ -3753,7 +3753,7 @@ static void test_paint_messages(void)
trace
(
"testing ValidateRgn(0, NULL)
\n
"
);
SetLastError
(
0xdeadbeef
);
ok
(
!
ValidateRgn
(
0
,
NULL
),
"ValidateRgn(0, NULL) should fail"
);
ok
(
!
ValidateRgn
(
0
,
NULL
),
"ValidateRgn(0, NULL) should fail
\n
"
);
ok
(
GetLastError
()
==
ERROR_INVALID_WINDOW_HANDLE
,
"wrong error code %ld
\n
"
,
GetLastError
());
check_update_rgn
(
hwnd
,
0
);
while
(
PeekMessage
(
&
msg
,
0
,
0
,
0
,
PM_REMOVE
))
DispatchMessage
(
&
msg
);
...
...
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