Skip to content

Commit

Permalink
ConsumeWindowsEventLogTests.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
martinzink committed Feb 20, 2025
1 parent 6dfd2c8 commit d6e5eee
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,8 @@ TEST_CASE("ConsumeWindowsEventLog output format can be set", "[create][output_fo

TEST_CASE("ConsumeWindowsEventLog prints events in plain text correctly", "[onTrigger]") {
std::string event = SimpleFormatTestController{APPLICATION_CHANNEL, QUERY, "Plaintext"}.run();

std::cout << event << std::endl;
CHECK(!event.empty());
CHECK(event.find(R"(Log Name: Application)") != std::string::npos);
CHECK(event.find(R"(Source: Application)") != std::string::npos);
Expand Down

0 comments on commit d6e5eee

Please sign in to comment.