Panoptes 1.0.0
Endpoint Detection and Response
Loading...
Searching...
No Matches
HookTestCase Struct Reference

One test case. Run executes in the child with the hooks placed. Expected lists the "[Panoptes] " messages (without that prefix) the case must produce, in order; '*' matches any run of characters, e.g. for addresses. More...

#include <hook_test_harness.hpp>

Public Attributes

const char * Name
void(* Run )(HookTestContext &context)
std::vector< std::string > Expected

Detailed Description

One test case. Run executes in the child with the hooks placed. Expected lists the "[Panoptes] " messages (without that prefix) the case must produce, in order; '*' matches any run of characters, e.g. for addresses.

Definition at line 97 of file hook_test_harness.hpp.

Member Data Documentation

◆ Expected

std::vector<std::string> HookTestCase::Expected

Definition at line 100 of file hook_test_harness.hpp.

Referenced by RunHookTests().

◆ Name

const char* HookTestCase::Name

Definition at line 98 of file hook_test_harness.hpp.

Referenced by RunHookTests().

◆ Run

void(* HookTestCase::Run) (HookTestContext &context)

Definition at line 99 of file hook_test_harness.hpp.


The documentation for this struct was generated from the following file: