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
401b1b36
Commit
401b1b36
authored
Feb 13, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Feb 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
odbccp32: Fix a couple failing tests, and log more information about remaining failures.
parent
6991d557
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
misc.c
dlls/odbccp32/tests/misc.c
+14
-4
No files found.
dlls/odbccp32/tests/misc.c
View file @
401b1b36
...
...
@@ -112,14 +112,24 @@ static void test_SQLInstallDriverManager(void)
/* Length OK */
bool_ret
=
SQLInstallDriverManager
(
target_path
,
MAX_PATH
,
NULL
);
sql_ret
=
SQLInstallerErrorW
(
1
,
&
error_code
,
NULL
,
0
,
NULL
);
ok
(
bool_ret
,
"SQLInstallDriverManager unexpectedly failed
\n
"
);
ok
(
sql_ret
==
SQL_NO_DATA
,
"Expected SQL_NO_DATA, got %d
\n
"
,
sql_ret
);
ok
(
bool_ret
,
"SQLInstallDriverManager unexpectedly failed: %d
\n
"
,
error_code
);
if
(
bool_ret
)
ok
(
sql_ret
==
SQL_NO_DATA
,
"Expected SQL_NO_DATA, got %d
\n
"
,
sql_ret
);
else
ok
(
sql_ret
==
SQL_SUCCESS_WITH_INFO
,
"Expected SQL_SUCCESS_WITH_INFO, got %d
\n
"
,
sql_ret
);
path_out
=
0xcafe
;
bool_ret
=
SQLInstallDriverManager
(
target_path
,
MAX_PATH
,
&
path_out
);
sql_ret
=
SQLInstallerErrorW
(
1
,
&
error_code
,
NULL
,
0
,
NULL
);
ok
(
bool_ret
,
"SQLInstallDriverManager unexpectedly failed
\n
"
);
ok
(
sql_ret
==
SQL_NO_DATA
,
"Expected SQL_NO_DATA, got %d
\n
"
,
sql_ret
);
ok
(
bool_ret
,
"SQLInstallDriverManager unexpectedly failed: %d
\n
"
,
error_code
);
if
(
bool_ret
)
ok
(
sql_ret
==
SQL_NO_DATA
,
"Expected SQL_NO_DATA, got %d
\n
"
,
sql_ret
);
else
ok
(
sql_ret
==
SQL_SUCCESS_WITH_INFO
,
"Expected SQL_SUCCESS_WITH_INFO, got %d
\n
"
,
sql_ret
);
/* path_out should in practice be less than 0xcafe */
ok
(
path_out
!=
0xcafe
,
"Expected path_out to show the correct amount of bytes
\n
"
);
}
...
...
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