msi: Adds tests to check if joins return the correct number of rows.

This commit is contained in:
Benjamin Arai 2006-09-19 16:11:50 -07:00 committed by Alexandre Julliard
parent d4c6b06ed7
commit 32d002c7ed
1 changed files with 29 additions and 0 deletions

View File

@ -1893,6 +1893,11 @@ static void test_join(void)
MsiCloseHandle(hrec);
}
todo_wine
{
ok( i == 5, "Expected 5 rows, got %ld\n", i );
}
ok( r == ERROR_NO_MORE_ITEMS, "expected no more items: %d\n", r );
MsiViewClose(hview);
@ -1935,6 +1940,11 @@ static void test_join(void)
MsiCloseHandle(hrec);
}
todo_wine
{
ok( i == 2, "Expected 2 rows, got %ld\n", i );
}
todo_wine
{
ok( r == ERROR_NO_MORE_ITEMS, "expected no more items: %d\n", r );
@ -1975,6 +1985,8 @@ static void test_join(void)
MsiCloseHandle(hrec);
}
ok( i == 2, "Expected 2 rows, got %ld\n", i );
ok( r == ERROR_NO_MORE_ITEMS, "expected no more items: %d\n", r );
MsiViewClose(hview);
@ -2012,6 +2024,8 @@ static void test_join(void)
MsiCloseHandle(hrec);
}
ok( i == 1, "Expected 1 rows, got %ld\n", i );
ok( r == ERROR_NO_MORE_ITEMS, "expected no more items: %d\n", r );
MsiViewClose(hview);
@ -2056,6 +2070,11 @@ static void test_join(void)
MsiCloseHandle(hrec);
}
todo_wine
{
ok( i == 1, "Expected 1 rows, got %ld\n", i );
}
todo_wine
{
ok( r == ERROR_NO_MORE_ITEMS, "expected no more items: %d\n", r );
@ -2102,6 +2121,11 @@ static void test_join(void)
MsiCloseHandle(hrec);
}
todo_wine
{
ok( i == 6, "Expected 6 rows, got %ld\n", i );
}
todo_wine
{
ok( r == ERROR_NO_MORE_ITEMS, "expected no more items: %d\n", r );
@ -2149,6 +2173,11 @@ static void test_join(void)
MsiCloseHandle(hrec);
}
todo_wine
{
ok( i == 3, "Expected 3 rows, got %ld\n", i );
}
todo_wine
{
ok( r == ERROR_NO_MORE_ITEMS, "expected no more items: %d\n", r );