Skip to content

Commit

Permalink
Update test_trace_properties.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
x86phil authored Aug 1, 2024
1 parent 5113413 commit 7617ff3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/krabstests/test_trace_properties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace krabstests
constexpr auto TEST_TRACE_NAME = L"krabs properties test";
krabs::user_trace trace(TEST_TRACE_NAME);
trace.set_trace_properties(&properties);
(void)trace.open();
(void)trace.start();

krabs::details::trace_info info = {};
info.properties.Wnode.BufferSize = sizeof(krabs::details::trace_info);
Expand All @@ -48,7 +48,7 @@ namespace krabstests
{
constexpr auto TEST_TRACE_NAME = L"krabs properties test";
krabs::user_trace trace(TEST_TRACE_NAME);
(void)trace.open();
(void)trace.start();

krabs::details::trace_info info = {};
info.properties.Wnode.BufferSize = sizeof(krabs::details::trace_info);
Expand All @@ -65,4 +65,4 @@ namespace krabstests
Assert::IsTrue(EVENT_TRACE_NO_PER_PROCESSOR_BUFFERING == (info.properties.LogFileMode & EVENT_TRACE_NO_PER_PROCESSOR_BUFFERING));
}
};
}
}

0 comments on commit 7617ff3

Please sign in to comment.