MCPcopy Create free account
hub / github.com/ClassicOldSong/Apollo / TEST

Function TEST

tests/unit/test_entry_handler.cpp:10–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include <src/entry_handler.h>
9
10TEST(EntryHandlerTests, LogPublisherDataTest) {
11 // call log_publisher_data
12 log_publisher_data();
13
14 // check if specific log messages exist
15 ASSERT_TRUE(log_checker::line_starts_with("test_sunshine.log", "Info: Package Publisher: "));
16 ASSERT_TRUE(log_checker::line_starts_with("test_sunshine.log", "Info: Publisher Website: "));
17 ASSERT_TRUE(log_checker::line_starts_with("test_sunshine.log", "Info: Get support: "));
18}

Callers

nothing calls this directly

Calls 2

log_publisher_dataFunction · 0.85
line_starts_withFunction · 0.85

Tested by

no test coverage detected