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
e092adfc
Commit
e092adfc
authored
Feb 24, 2006
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add trailing '\n's to ok() calls.
parent
29b5c987
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
file.c
dlls/msvcrt/tests/file.c
+1
-1
compobj.c
dlls/ole32/tests/compobj.c
+2
-2
editor.c
dlls/riched20/tests/editor.c
+1
-1
No files found.
dlls/msvcrt/tests/file.c
View file @
e092adfc
...
...
@@ -121,7 +121,7 @@ static void test_fileops( void )
fclose
(
file
);
file
=
fopen
(
"fdopen.tst"
,
"rb"
);
ok
(
file
!=
NULL
,
"fopen failed"
);
ok
(
file
!=
NULL
,
"fopen failed
\n
"
);
/* sizeof(buffer) > content of file */
ok
(
fread
(
buffer
,
sizeof
(
buffer
),
1
,
file
)
==
0
,
"fread test failed
\n
"
);
/* feof should be set now */
...
...
dlls/ole32/tests/compobj.c
View file @
e092adfc
...
...
@@ -87,7 +87,7 @@ static void test_CoCreateInstance(void)
REFCLSID
rclsid
=
&
CLSID_MyComputer
;
IUnknown
*
pUnk
=
(
IUnknown
*
)
0xdeadbeef
;
HRESULT
hr
=
CoCreateInstance
(
rclsid
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IUnknown
,
(
void
**
)
&
pUnk
);
ok
(
hr
==
CO_E_NOTINITIALIZED
,
"CoCreateInstance should have return
CO_E_NOTINITIALIZED instead of 0x%08lx
"
,
hr
);
ok
(
hr
==
CO_E_NOTINITIALIZED
,
"CoCreateInstance should have return
ed CO_E_NOTINITIALIZED instead of 0x%08lx
\n
"
,
hr
);
ok
(
pUnk
==
NULL
,
"CoCreateInstance should have changed the passed in pointer to NULL, instead of %p
\n
"
,
pUnk
);
OleInitialize
(
NULL
);
...
...
@@ -97,7 +97,7 @@ static void test_CoCreateInstance(void)
OleUninitialize
();
hr
=
CoCreateInstance
(
rclsid
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IUnknown
,
(
void
**
)
&
pUnk
);
ok
(
hr
==
CO_E_NOTINITIALIZED
,
"CoCreateInstance should have return
CO_E_NOTINITIALIZED instead of 0x%08lx
"
,
hr
);
ok
(
hr
==
CO_E_NOTINITIALIZED
,
"CoCreateInstance should have return
ed CO_E_NOTINITIALIZED instead of 0x%08lx
\n
"
,
hr
);
}
START_TEST
(
compobj
)
...
...
dlls/riched20/tests/editor.c
View file @
e092adfc
...
...
@@ -483,7 +483,7 @@ static void test_TM_PLAINTEXT()
/*Compare the two formattings. They should be the same.*/
ok
((
cf2
.
dwMask
==
cf2test
.
dwMask
)
&&
(
cf2
.
dwEffects
==
cf2test
.
dwEffects
),
"Copied text retained formatting - cf2.dwMask: %f, cf2test.dwMask: %f, cf2.dwEffects: %f, cf2test.dwEffects: %f"
,
"Copied text retained formatting - cf2.dwMask: %f, cf2test.dwMask: %f, cf2.dwEffects: %f, cf2test.dwEffects: %f
\n
"
,
(
double
)
cf2
.
dwMask
,
(
double
)
cf2test
.
dwMask
,
(
double
)
cf2
.
dwEffects
,
(
double
)
cf2test
.
dwEffects
);
DestroyWindow
(
hwndRichEdit
);
}
...
...
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