From 06179cb2b763918e3414c5fa789accf1bf47e965 Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Sat, 14 Jan 2017 00:57:03 +0100 Subject: [PATCH] kernel32/tests: example usage for winetest_set_context. Signed-off-by: Mark Jansen --- dlls/kernel32/tests/actctx.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/dlls/kernel32/tests/actctx.c b/dlls/kernel32/tests/actctx.c index b68c895..23ab247 100644 --- a/dlls/kernel32/tests/actctx.c +++ b/dlls/kernel32/tests/actctx.c @@ -821,28 +821,29 @@ static void test_create_fail(void) ok(handle == INVALID_HANDLE_VALUE, "handle != INVALID_HANDLE_VALUE\n"); ok(GetLastError() == ERROR_FILE_NOT_FOUND, "GetLastError == %u\n", GetLastError()); - trace("wrong_manifest1\n"); + winetest_set_context(" wrong_manifest1"); test_create_and_fail(wrong_manifest1, NULL, 0 ); - trace("wrong_manifest2\n"); + winetest_set_context(" wrong_manifest2"); test_create_and_fail(wrong_manifest2, NULL, 0 ); - trace("wrong_manifest3\n"); + winetest_set_context(" wrong_manifest3"); test_create_and_fail(wrong_manifest3, NULL, 1 ); - trace("wrong_manifest4\n"); + winetest_set_context(" wrong_manifest4"); test_create_and_fail(wrong_manifest4, NULL, 1 ); - trace("wrong_manifest5\n"); + winetest_set_context(" wrong_manifest5"); test_create_and_fail(wrong_manifest5, NULL, 0 ); - trace("wrong_manifest6\n"); + winetest_set_context(" wrong_manifest6"); test_create_and_fail(wrong_manifest6, NULL, 0 ); - trace("wrong_manifest7\n"); + winetest_set_context(" wrong_manifest7"); test_create_and_fail(wrong_manifest7, NULL, 1 ); - trace("wrong_manifest8\n"); + winetest_set_context(" wrong_manifest8"); test_create_and_fail(wrong_manifest8, NULL, 0 ); - trace("UTF-16 manifest1 without BOM\n"); + winetest_set_context(" UTF-16 manifest1 without BOM"); test_create_wide_and_fail(manifest1, FALSE ); - trace("manifest2\n"); + winetest_set_context(" manifest2"); test_create_and_fail(manifest2, NULL, 0 ); - trace("manifest2+depmanifest1\n"); + winetest_set_context(" manifest2+depmanifest1"); test_create_and_fail(manifest2, wrong_depmanifest1, 0 ); + winetest_end_context(); } struct strsection_header -- 2.7.0.windows.2