uxtheme/tests: Don't test for themed app
Alexandre Julliard
julliard at winehq.org
Tue Apr 2 07:56:18 CDT 2013
André Hentschel <nerv at dawncrow.de> writes:
> @@ -84,18 +84,14 @@ static void test_IsThemed(void)
> SetLastError(0xdeadbeef);
> bThemeActive = pIsThemeActive();
> trace("Theming is %s\n", (bThemeActive) ? "active" : "inactive");
> + ok( GetLastError() == ERROR_SUCCESS ||
> + broken(GetLastError() == ERROR_FILE_NOT_FOUND /* Win2k8 */),
> + "Expected ERROR_SUCCESS, got 0x%08x\n",
> + GetLastError());
Testing last error when there's no failure is not useful.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list