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
508028ae
Commit
508028ae
authored
Apr 25, 2009
by
Hib Eris
Committed by
Alexandre Julliard
Apr 28, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Test type for LONGCHAR columns.
parent
5e829d13
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
db.c
dlls/msi/tests/db.c
+5
-1
No files found.
dlls/msi/tests/db.c
View file @
508028ae
...
...
@@ -1133,7 +1133,8 @@ static void test_viewgetcolumninfo(void)
" `Intvalue` INT, "
" `Integervalue` INTEGER, "
" `Shortvalue` SHORT, "
" `Longvalue` LONG "
" `Longvalue` LONG, "
" `Longcharvalue` LONGCHAR "
" PRIMARY KEY `Property`)"
);
ok
(
r
==
ERROR_SUCCESS
,
"Failed to create table
\n
"
);
...
...
@@ -1147,6 +1148,7 @@ static void test_viewgetcolumninfo(void)
ok
(
check_record
(
rec
,
4
,
"I2"
),
"wrong record type
\n
"
);
ok
(
check_record
(
rec
,
5
,
"I2"
),
"wrong record type
\n
"
);
ok
(
check_record
(
rec
,
6
,
"I4"
),
"wrong record type
\n
"
);
todo_wine
ok
(
check_record
(
rec
,
7
,
"S0"
),
"wrong record type
\n
"
);
MsiCloseHandle
(
rec
);
...
...
@@ -1157,6 +1159,7 @@ static void test_viewgetcolumninfo(void)
ok
(
0x1502
==
get_columns_table_type
(
hdb
,
"Properties"
,
4
),
"_columns table wrong
\n
"
);
ok
(
0x1502
==
get_columns_table_type
(
hdb
,
"Properties"
,
5
),
"_columns table wrong
\n
"
);
ok
(
0x1104
==
get_columns_table_type
(
hdb
,
"Properties"
,
6
),
"_columns table wrong
\n
"
);
todo_wine
ok
(
0x1d00
==
get_columns_table_type
(
hdb
,
"Properties"
,
7
),
"_columns table wrong
\n
"
);
/* now try the names */
rec
=
get_column_info
(
hdb
,
"select * from `Properties`"
,
MSICOLINFO_NAMES
);
...
...
@@ -1168,6 +1171,7 @@ static void test_viewgetcolumninfo(void)
ok
(
check_record
(
rec
,
4
,
"Integervalue"
),
"wrong record type
\n
"
);
ok
(
check_record
(
rec
,
5
,
"Shortvalue"
),
"wrong record type
\n
"
);
ok
(
check_record
(
rec
,
6
,
"Longvalue"
),
"wrong record type
\n
"
);
ok
(
check_record
(
rec
,
7
,
"Longcharvalue"
),
"wrong record type
\n
"
);
MsiCloseHandle
(
rec
);
...
...
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