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
e5d95409
Commit
e5d95409
authored
Oct 22, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32/tests: Use BOOL type where appropriate.
parent
189ac56e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
filedlg.c
dlls/comdlg32/tests/filedlg.c
+7
-7
No files found.
dlls/comdlg32/tests/filedlg.c
View file @
e5d95409
...
...
@@ -111,7 +111,7 @@ static void test_DialogCancel(void)
"expected CDERR_INITIALIZATION, got %d
\n
"
,
CommDlgExtendedError
());
result
=
GetOpenFileNameA
(
&
ofn
);
ok
(
0
==
result
,
"expected 0
, got %d
\n
"
,
result
);
ok
(
FALSE
==
result
,
"expected FALSE
, got %d
\n
"
,
result
);
ok
(
0
==
CommDlgExtendedError
(),
"expected 0, got %d
\n
"
,
CommDlgExtendedError
());
...
...
@@ -120,7 +120,7 @@ static void test_DialogCancel(void)
"expected CDERR_INITIALIZATION, got %d
\n
"
,
CommDlgExtendedError
());
result
=
GetSaveFileNameA
(
&
ofn
);
ok
(
0
==
result
,
"expected 0
, got %d
\n
"
,
result
);
ok
(
FALSE
==
result
,
"expected FALSE
, got %d
\n
"
,
result
);
ok
(
0
==
CommDlgExtendedError
(),
"expected 0, got %d
\n
"
,
CommDlgExtendedError
());
...
...
@@ -143,7 +143,7 @@ static void test_DialogCancel(void)
win_skip
(
"GetOpenFileNameW is not implemented
\n
"
);
else
{
ok
(
0
==
result
,
"expected 0
, got %d
\n
"
,
result
);
ok
(
FALSE
==
result
,
"expected FALSE
, got %d
\n
"
,
result
);
ok
(
0
==
CommDlgExtendedError
(),
"expected 0, got %d
\n
"
,
CommDlgExtendedError
());
}
...
...
@@ -153,7 +153,7 @@ static void test_DialogCancel(void)
win_skip
(
"GetSaveFileNameW is not implemented
\n
"
);
else
{
ok
(
0
==
result
,
"expected 0
, got %d
\n
"
,
result
);
ok
(
FALSE
==
result
,
"expected FALSE
, got %d
\n
"
,
result
);
ok
(
0
==
CommDlgExtendedError
(),
"expected 0, got %d
\n
"
,
CommDlgExtendedError
());
}
}
...
...
@@ -928,12 +928,12 @@ static void test_getfolderpath(void)
ofn
.
lpstrInitialDir
=
szInitialDir
;
result
=
GetOpenFileNameA
(
&
ofn
);
ok
(
0
==
result
,
"expected 0
, got %d
\n
"
,
result
);
ok
(
FALSE
==
result
,
"expected FALSE
, got %d
\n
"
,
result
);
ok
(
0
==
CommDlgExtendedError
(),
"expected 0, got %d
\n
"
,
CommDlgExtendedError
());
result
=
GetSaveFileNameA
(
&
ofn
);
ok
(
0
==
result
,
"expected 0
, got %d
\n
"
,
result
);
ok
(
FALSE
==
result
,
"expected FALSE
, got %d
\n
"
,
result
);
ok
(
0
==
CommDlgExtendedError
(),
"expected 0, got %d
\n
"
,
CommDlgExtendedError
());
}
...
...
@@ -956,7 +956,7 @@ static void test_resizable2(void)
ofn
.
hInstance
=
GetModuleHandleA
(
NULL
);
ofn
.
lpTemplateName
=
"template1"
;
ofn
.
Flags
=
OFN_EXPLORER
;
#define ISSIZABLE
1
#define ISSIZABLE
TRUE
ret
=
GetOpenFileNameA
(
&
ofn
);
ok
(
ret
==
ISSIZABLE
,
"File Dialog should have been sizable
\n
"
);
ret
=
CommDlgExtendedError
();
...
...
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