Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
d4c6b06e
Commit
d4c6b06e
authored
Sep 19, 2006
by
Benjamin Arai
Committed by
Alexandre Julliard
Sep 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Updates tests for joins to include row and column ids in message.
parent
6192f77d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
db.c
dlls/msi/tests/db.c
+14
-14
No files found.
dlls/msi/tests/db.c
View file @
d4c6b06e
...
@@ -1877,7 +1877,7 @@ static void test_join(void)
...
@@ -1877,7 +1877,7 @@ static void test_join(void)
if
(
i
==
2
||
i
==
3
)
todo_wine
if
(
i
==
2
||
i
==
3
)
todo_wine
{
{
ok
(
!
lstrcmp
(
buf
,
join_res_first
[
i
].
one
),
ok
(
!
lstrcmp
(
buf
,
join_res_first
[
i
].
one
),
"
Expected '%s', got %s
\n
"
,
join_res_first
[
i
].
one
,
buf
);
"
For (row %ld, column 1) expected '%s', got %s
\n
"
,
i
,
join_res_first
[
i
].
one
,
buf
);
}
}
size
=
MAX_PATH
;
size
=
MAX_PATH
;
...
@@ -1886,7 +1886,7 @@ static void test_join(void)
...
@@ -1886,7 +1886,7 @@ static void test_join(void)
if
(
i
==
3
)
todo_wine
if
(
i
==
3
)
todo_wine
{
{
ok
(
!
lstrcmp
(
buf
,
join_res_first
[
i
].
two
),
ok
(
!
lstrcmp
(
buf
,
join_res_first
[
i
].
two
),
"
Expected '%s', got %s
\n
"
,
join_res_first
[
i
].
two
,
buf
);
"
For (row %ld, column 2) expected '%s', got %s
\n
"
,
i
,
join_res_first
[
i
].
two
,
buf
);
}
}
i
++
;
i
++
;
...
@@ -1923,13 +1923,13 @@ static void test_join(void)
...
@@ -1923,13 +1923,13 @@ static void test_join(void)
r
=
MsiRecordGetString
(
hrec
,
1
,
buf
,
&
size
);
r
=
MsiRecordGetString
(
hrec
,
1
,
buf
,
&
size
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
!
lstrcmp
(
buf
,
join_res_second
[
i
].
one
),
ok
(
!
lstrcmp
(
buf
,
join_res_second
[
i
].
one
),
"
Expected '%s', got %s
\n
"
,
join_res_second
[
i
].
one
,
buf
);
"
For (row %ld, column 1) expected '%s', got %s
\n
"
,
i
,
join_res_second
[
i
].
one
,
buf
);
size
=
MAX_PATH
;
size
=
MAX_PATH
;
r
=
MsiRecordGetString
(
hrec
,
2
,
buf
,
&
size
);
r
=
MsiRecordGetString
(
hrec
,
2
,
buf
,
&
size
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
!
lstrcmp
(
buf
,
join_res_second
[
i
].
two
),
ok
(
!
lstrcmp
(
buf
,
join_res_second
[
i
].
two
),
"
Expected '%s', got %s
\n
"
,
join_res_second
[
i
].
two
,
buf
);
"
For (row %ld, column 2) expected '%s', got %s
\n
"
,
i
,
join_res_second
[
i
].
two
,
buf
);
i
++
;
i
++
;
MsiCloseHandle
(
hrec
);
MsiCloseHandle
(
hrec
);
...
@@ -1963,13 +1963,13 @@ static void test_join(void)
...
@@ -1963,13 +1963,13 @@ static void test_join(void)
r
=
MsiRecordGetString
(
hrec
,
1
,
buf
,
&
size
);
r
=
MsiRecordGetString
(
hrec
,
1
,
buf
,
&
size
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
!
lstrcmp
(
buf
,
join_res_third
[
i
].
one
),
ok
(
!
lstrcmp
(
buf
,
join_res_third
[
i
].
one
),
"
Expected '%s', got %s
\n
"
,
join_res_third
[
i
].
one
,
buf
);
"
For (row %ld, column 1) expected '%s', got %s
\n
"
,
i
,
join_res_third
[
i
].
one
,
buf
);
size
=
MAX_PATH
;
size
=
MAX_PATH
;
r
=
MsiRecordGetString
(
hrec
,
2
,
buf
,
&
size
);
r
=
MsiRecordGetString
(
hrec
,
2
,
buf
,
&
size
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
!
lstrcmp
(
buf
,
join_res_third
[
i
].
two
),
ok
(
!
lstrcmp
(
buf
,
join_res_third
[
i
].
two
),
"
Expected '%s', got %s
\n
"
,
join_res_third
[
i
].
two
,
buf
);
"
For (row %ld, column 2) expected '%s', got %s
\n
"
,
i
,
join_res_third
[
i
].
two
,
buf
);
i
++
;
i
++
;
MsiCloseHandle
(
hrec
);
MsiCloseHandle
(
hrec
);
...
@@ -2000,13 +2000,13 @@ static void test_join(void)
...
@@ -2000,13 +2000,13 @@ static void test_join(void)
r
=
MsiRecordGetString
(
hrec
,
1
,
buf
,
&
size
);
r
=
MsiRecordGetString
(
hrec
,
1
,
buf
,
&
size
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
!
lstrcmp
(
buf
,
join_res_fourth
[
i
].
one
),
ok
(
!
lstrcmp
(
buf
,
join_res_fourth
[
i
].
one
),
"
Expected '%s', got %s
\n
"
,
join_res_fourth
[
i
].
one
,
buf
);
"
For (row %ld, column 1) expected '%s', got %s
\n
"
,
i
,
join_res_fourth
[
i
].
one
,
buf
);
size
=
MAX_PATH
;
size
=
MAX_PATH
;
r
=
MsiRecordGetString
(
hrec
,
2
,
buf
,
&
size
);
r
=
MsiRecordGetString
(
hrec
,
2
,
buf
,
&
size
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
!
lstrcmp
(
buf
,
join_res_fourth
[
i
].
two
),
ok
(
!
lstrcmp
(
buf
,
join_res_fourth
[
i
].
two
),
"
Expected '%s', got %s
\n
"
,
join_res_fourth
[
i
].
two
,
buf
);
"
For (row %ld, column 2) expected '%s', got %s
\n
"
,
i
,
join_res_fourth
[
i
].
two
,
buf
);
i
++
;
i
++
;
MsiCloseHandle
(
hrec
);
MsiCloseHandle
(
hrec
);
...
@@ -2044,13 +2044,13 @@ static void test_join(void)
...
@@ -2044,13 +2044,13 @@ static void test_join(void)
r
=
MsiRecordGetString
(
hrec
,
1
,
buf
,
&
size
);
r
=
MsiRecordGetString
(
hrec
,
1
,
buf
,
&
size
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
!
lstrcmp
(
buf
,
join_res_fifth
[
i
].
one
),
ok
(
!
lstrcmp
(
buf
,
join_res_fifth
[
i
].
one
),
"
Expected '%s', got %s
\n
"
,
join_res_fifth
[
i
].
one
,
buf
);
"
For (row %ld, column 1) expected '%s', got %s
\n
"
,
i
,
join_res_fifth
[
i
].
one
,
buf
);
size
=
MAX_PATH
;
size
=
MAX_PATH
;
r
=
MsiRecordGetString
(
hrec
,
2
,
buf
,
&
size
);
r
=
MsiRecordGetString
(
hrec
,
2
,
buf
,
&
size
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
!
lstrcmp
(
buf
,
join_res_fifth
[
i
].
two
),
ok
(
!
lstrcmp
(
buf
,
join_res_fifth
[
i
].
two
),
"
Expected '%s', got %s
\n
"
,
join_res_fifth
[
i
].
two
,
buf
);
"
For (row %ld, column 2) expected '%s', got %s
\n
"
,
i
,
join_res_fifth
[
i
].
two
,
buf
);
i
++
;
i
++
;
MsiCloseHandle
(
hrec
);
MsiCloseHandle
(
hrec
);
...
@@ -2090,13 +2090,13 @@ static void test_join(void)
...
@@ -2090,13 +2090,13 @@ static void test_join(void)
r
=
MsiRecordGetString
(
hrec
,
1
,
buf
,
&
size
);
r
=
MsiRecordGetString
(
hrec
,
1
,
buf
,
&
size
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
!
lstrcmp
(
buf
,
join_res_sixth
[
i
].
one
),
ok
(
!
lstrcmp
(
buf
,
join_res_sixth
[
i
].
one
),
"
Expected '%s', got %s
\n
"
,
join_res_sixth
[
i
].
one
,
buf
);
"
For (row %ld, column 1) expected '%s', got %s
\n
"
,
i
,
join_res_sixth
[
i
].
one
,
buf
);
size
=
MAX_PATH
;
size
=
MAX_PATH
;
r
=
MsiRecordGetString
(
hrec
,
2
,
buf
,
&
size
);
r
=
MsiRecordGetString
(
hrec
,
2
,
buf
,
&
size
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
!
lstrcmp
(
buf
,
join_res_sixth
[
i
].
two
),
ok
(
!
lstrcmp
(
buf
,
join_res_sixth
[
i
].
two
),
"
Expected '%s', got %s
\n
"
,
join_res_sixth
[
i
].
two
,
buf
);
"
For (row %ld, column 2) expected '%s', got %s
\n
"
,
i
,
join_res_sixth
[
i
].
two
,
buf
);
i
++
;
i
++
;
MsiCloseHandle
(
hrec
);
MsiCloseHandle
(
hrec
);
...
@@ -2137,13 +2137,13 @@ static void test_join(void)
...
@@ -2137,13 +2137,13 @@ static void test_join(void)
r
=
MsiRecordGetString
(
hrec
,
1
,
buf
,
&
size
);
r
=
MsiRecordGetString
(
hrec
,
1
,
buf
,
&
size
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
!
lstrcmp
(
buf
,
join_res_seventh
[
i
].
one
),
ok
(
!
lstrcmp
(
buf
,
join_res_seventh
[
i
].
one
),
"
Expected '%s', got %s
\n
"
,
join_res_seventh
[
i
].
one
,
buf
);
"
For (row %ld, column 1) expected '%s', got %s
\n
"
,
i
,
join_res_seventh
[
i
].
one
,
buf
);
size
=
MAX_PATH
;
size
=
MAX_PATH
;
r
=
MsiRecordGetString
(
hrec
,
2
,
buf
,
&
size
);
r
=
MsiRecordGetString
(
hrec
,
2
,
buf
,
&
size
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get record string: %d
\n
"
,
r
);
ok
(
!
lstrcmp
(
buf
,
join_res_seventh
[
i
].
two
),
ok
(
!
lstrcmp
(
buf
,
join_res_seventh
[
i
].
two
),
"
Expected '%s', got %s
\n
"
,
join_res_seventh
[
i
].
two
,
buf
);
"
For (row %ld, column 2) expected '%s', got %s
\n
"
,
i
,
join_res_seventh
[
i
].
two
,
buf
);
i
++
;
i
++
;
MsiCloseHandle
(
hrec
);
MsiCloseHandle
(
hrec
);
...
...
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