Commit 32d002c7 authored by Benjamin Arai's avatar Benjamin Arai Committed by Alexandre Julliard

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

parent d4c6b06e
......@@ -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);
......@@ -1937,6 +1942,11 @@ static void test_join(void)
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);
......@@ -2058,6 +2072,11 @@ static void test_join(void)
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 );
}
......@@ -2104,6 +2123,11 @@ static void test_join(void)
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 );
}
......@@ -2151,6 +2175,11 @@ static void test_join(void)
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 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment