rpcrt4/tests: Avoid "misleading indentation" warnings.

Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Fabian Maurer 2022-01-29 00:36:44 +01:00 committed by Alexandre Julliard
parent 2d6fad7bda
commit 0d7f7bec9d
2 changed files with 5 additions and 5 deletions

View File

@ -1843,7 +1843,7 @@ static void test_server_init(void)
ok(stubMsg.Buffer == buffer, "stubMsg.Buffer should have been %p instead of %p\n", buffer, stubMsg.Buffer); ok(stubMsg.Buffer == buffer, "stubMsg.Buffer should have been %p instead of %p\n", buffer, stubMsg.Buffer);
ok(stubMsg.BufferStart == buffer, "stubMsg.BufferStart should have been %p instead of %p\n", buffer, stubMsg.BufferStart); ok(stubMsg.BufferStart == buffer, "stubMsg.BufferStart should have been %p instead of %p\n", buffer, stubMsg.BufferStart);
ok(stubMsg.BufferEnd == buffer + sizeof(buffer), "stubMsg.BufferEnd should have been %p instead of %p\n", buffer + sizeof(buffer), stubMsg.BufferEnd); ok(stubMsg.BufferEnd == buffer + sizeof(buffer), "stubMsg.BufferEnd should have been %p instead of %p\n", buffer + sizeof(buffer), stubMsg.BufferEnd);
todo_wine todo_wine
ok(stubMsg.BufferLength == 0, "stubMsg.BufferLength should have been 0 instead of %u\n", stubMsg.BufferLength); ok(stubMsg.BufferLength == 0, "stubMsg.BufferLength should have been 0 instead of %u\n", stubMsg.BufferLength);
ok(stubMsg.IsClient == 0, "stubMsg.IsClient should have been 0 instead of %u\n", stubMsg.IsClient); ok(stubMsg.IsClient == 0, "stubMsg.IsClient should have been 0 instead of %u\n", stubMsg.IsClient);
ok(stubMsg.ReuseBuffer == 0 || ok(stubMsg.ReuseBuffer == 0 ||
@ -2649,7 +2649,7 @@ static void test_ndr_buffer(void)
ok(StubMsg.Buffer != NULL, "Buffer should not have been NULL\n"); ok(StubMsg.Buffer != NULL, "Buffer should not have been NULL\n");
ok(!StubMsg.BufferStart, "BufferStart should have been NULL instead of %p\n", StubMsg.BufferStart); ok(!StubMsg.BufferStart, "BufferStart should have been NULL instead of %p\n", StubMsg.BufferStart);
ok(!StubMsg.BufferEnd, "BufferEnd should have been NULL instead of %p\n", StubMsg.BufferEnd); ok(!StubMsg.BufferEnd, "BufferEnd should have been NULL instead of %p\n", StubMsg.BufferEnd);
todo_wine todo_wine
ok(StubMsg.BufferLength == 0, "BufferLength should have left as 0 instead of being set to %d\n", StubMsg.BufferLength); ok(StubMsg.BufferLength == 0, "BufferLength should have left as 0 instead of being set to %d\n", StubMsg.BufferLength);
old_buffer_valid_location = !StubMsg.fBufferValid; old_buffer_valid_location = !StubMsg.fBufferValid;
if (old_buffer_valid_location) if (old_buffer_valid_location)
@ -2942,7 +2942,7 @@ static void test_MesEncodeFixedBufferHandleCreate(void)
ok(status == RPC_S_INVALID_ARG, "got %d\n", status); ok(status == RPC_S_INVALID_ARG, "got %d\n", status);
status = MesEncodeFixedBufferHandleCreate(buffer, 0, &encoded_size, &handle); status = MesEncodeFixedBufferHandleCreate(buffer, 0, &encoded_size, &handle);
todo_wine todo_wine
ok(status == RPC_S_INVALID_ARG, "got %d\n", status); ok(status == RPC_S_INVALID_ARG, "got %d\n", status);
if (status == RPC_S_OK) { if (status == RPC_S_OK) {
MesHandleFree(handle); MesHandleFree(handle);

View File

@ -1084,7 +1084,7 @@ void __cdecl s_stop_autolisten(void)
{ {
RPC_STATUS status; RPC_STATUS status;
status = RpcServerUnregisterIf(NULL, NULL, FALSE); status = RpcServerUnregisterIf(NULL, NULL, FALSE);
todo_wine todo_wine
ok(status == RPC_S_UNKNOWN_MGR_TYPE, "got %u\n", status); ok(status == RPC_S_UNKNOWN_MGR_TYPE, "got %u\n", status);
} }
@ -2000,7 +2000,7 @@ client(const char *test)
run_tests(); run_tests();
authinfo_test(RPC_PROTSEQ_LRPC, 0); authinfo_test(RPC_PROTSEQ_LRPC, 0);
todo_wine todo_wine
test_is_server_listening(IMixedServer_IfHandle, RPC_S_NOT_LISTENING); test_is_server_listening(IMixedServer_IfHandle, RPC_S_NOT_LISTENING);
stop_autolisten(); stop_autolisten();