fusion/tests: Fix remaining win98 failures in asmcache.

This commit is contained in:
Detlef Riekenberg 2009-02-21 12:17:43 +01:00 committed by Alexandre Julliard
parent d68c2956f5
commit cfb33d1894
1 changed files with 30 additions and 10 deletions

View File

@ -1193,7 +1193,9 @@ static void test_QueryAssemblyInfo(void)
"Expected 0, got %d\n", info.uliAssemblySizeInKB.u.HighPart);
todo_wine
{
ok(info.uliAssemblySizeInKB.u.LowPart == 4,
/* win9x: 32 */
ok((info.uliAssemblySizeInKB.u.LowPart == 4) ||
broken(info.uliAssemblySizeInKB.u.LowPart == 32),
"Expected 4, got %d\n", info.uliAssemblySizeInKB.u.LowPart);
ok(!lstrcmpW(info.pszCurrentAssemblyPathBuf, asmpath),
"Wrong assembly path returned\n");
@ -1214,7 +1216,9 @@ static void test_QueryAssemblyInfo(void)
"Expected 0, got %d\n", info.uliAssemblySizeInKB.u.HighPart);
todo_wine
{
ok(info.uliAssemblySizeInKB.u.LowPart == 4,
/* win9x: 32 */
ok((info.uliAssemblySizeInKB.u.LowPart == 4) ||
broken(info.uliAssemblySizeInKB.u.LowPart == 32),
"Expected 4, got %d\n", info.uliAssemblySizeInKB.u.LowPart);
ok(!lstrcmpW(info.pszCurrentAssemblyPathBuf, asmpath),
"Wrong assembly path returned\n");
@ -1237,7 +1241,9 @@ static void test_QueryAssemblyInfo(void)
{
ok(hr == HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER),
"Expected HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), got %08x\n", hr);
ok(info.uliAssemblySizeInKB.u.LowPart == 4,
/* win9x: 32 */
ok((info.uliAssemblySizeInKB.u.LowPart == 4) ||
broken(info.uliAssemblySizeInKB.u.LowPart == 32),
"Expected 4, got %d\n", info.uliAssemblySizeInKB.u.LowPart);
ok(info.cchBuf == lstrlenW(asmpath) + 1,
"Expected %d, got %d\n", lstrlenW(asmpath) + 1, info.cchBuf);
@ -1260,7 +1266,9 @@ static void test_QueryAssemblyInfo(void)
{
ok(hr == HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER),
"Expected HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), got %08x\n", hr);
ok(info.uliAssemblySizeInKB.u.LowPart == 4,
/* win9x: 32 */
ok((info.uliAssemblySizeInKB.u.LowPart == 4) ||
broken(info.uliAssemblySizeInKB.u.LowPart == 32),
"Expected 4, got %d\n", info.uliAssemblySizeInKB.u.LowPart);
ok(info.cchBuf == lstrlenW(asmpath) + 1,
"Expected %d, got %d\n", lstrlenW(asmpath) + 1, info.cchBuf);
@ -1282,7 +1290,9 @@ static void test_QueryAssemblyInfo(void)
"Expected %d, got %d\n", lstrlenW(asmpath) + 1, info.cchBuf);
todo_wine
{
ok(info.uliAssemblySizeInKB.u.LowPart == 4,
/* win9x: 32 */
ok((info.uliAssemblySizeInKB.u.LowPart == 4) ||
broken(info.uliAssemblySizeInKB.u.LowPart == 32),
"Expected 4, got %d\n", info.uliAssemblySizeInKB.u.LowPart);
ok(!lstrcmpW(info.pszCurrentAssemblyPathBuf, asmpath),
"Wrong assembly path returned\n");
@ -1304,7 +1314,9 @@ static void test_QueryAssemblyInfo(void)
"Expected 0, got %d\n", info.uliAssemblySizeInKB.u.HighPart);
todo_wine
{
ok(info.uliAssemblySizeInKB.u.LowPart == 4,
/* win9x: 32 */
ok((info.uliAssemblySizeInKB.u.LowPart == 4) ||
broken(info.uliAssemblySizeInKB.u.LowPart == 32),
"Expected 4, got %d\n", info.uliAssemblySizeInKB.u.LowPart);
ok(!lstrcmpW(info.pszCurrentAssemblyPathBuf, asmpath),
"Wrong assembly path returned\n");
@ -1328,7 +1340,9 @@ static void test_QueryAssemblyInfo(void)
"Expected 0, got %d\n", info.uliAssemblySizeInKB.u.HighPart);
todo_wine
{
ok(info.uliAssemblySizeInKB.u.LowPart == 4,
/* win9x: 32 */
ok((info.uliAssemblySizeInKB.u.LowPart == 4) ||
broken(info.uliAssemblySizeInKB.u.LowPart == 32),
"Expected 4, got %d\n", info.uliAssemblySizeInKB.u.LowPart);
ok(!lstrcmpW(info.pszCurrentAssemblyPathBuf, asmpath),
"Wrong assembly path returned\n");
@ -1372,7 +1386,9 @@ static void test_QueryAssemblyInfo(void)
"Expected 0, got %d\n", info.uliAssemblySizeInKB.u.HighPart);
todo_wine
{
ok(info.uliAssemblySizeInKB.u.LowPart == 4,
/* win9x: 32 */
ok((info.uliAssemblySizeInKB.u.LowPart == 4) ||
broken(info.uliAssemblySizeInKB.u.LowPart == 32),
"Expected 4, got %d\n", info.uliAssemblySizeInKB.u.LowPart);
ok(!lstrcmpW(info.pszCurrentAssemblyPathBuf, asmpath),
"Wrong assembly path returned\n");
@ -1419,7 +1435,9 @@ static void test_QueryAssemblyInfo(void)
"Expected 0, got %d\n", info.uliAssemblySizeInKB.u.HighPart);
todo_wine
{
ok(info.uliAssemblySizeInKB.u.LowPart == 4,
/* win9x: 32 */
ok((info.uliAssemblySizeInKB.u.LowPart == 4) ||
broken(info.uliAssemblySizeInKB.u.LowPart == 32),
"Expected 4, got %d\n", info.uliAssemblySizeInKB.u.LowPart);
ok(!lstrcmpW(info.pszCurrentAssemblyPathBuf, asmpath),
"Wrong assembly path returned\n");
@ -1463,7 +1481,9 @@ static void test_QueryAssemblyInfo(void)
"Expected 0, got %d\n", info.uliAssemblySizeInKB.u.HighPart);
todo_wine
{
ok(info.uliAssemblySizeInKB.u.LowPart == 4,
/* win9x: 32 */
ok((info.uliAssemblySizeInKB.u.LowPart == 4) ||
broken(info.uliAssemblySizeInKB.u.LowPart == 32),
"Expected 4, got %d\n", info.uliAssemblySizeInKB.u.LowPart);
ok(!lstrcmpW(info.pszCurrentAssemblyPathBuf, asmpath),
"Wrong assembly path returned\n");