Lines Matching refs:TestHarness
47 return TestHarness::ERROR; in GetVerbosityFromFlag()
55 return TestHarness::SILENT; in GetVerbosityFromFlag()
57 return TestHarness::CRITICAL; in GetVerbosityFromFlag()
59 return TestHarness::WARNING; in GetVerbosityFromFlag()
61 return TestHarness::INFO; in GetVerbosityFromFlag()
64 return TestHarness::ERROR; in GetVerbosityFromFlag()
94 if (verbosity >= TestHarness::VerbosityLevels::INFO) { in find_uart()
109 std::unique_ptr<TestHarness> TestHarness::MakeUnique() { in MakeUnique()
110 return std::unique_ptr<TestHarness>(new TestHarness()); in MakeUnique()
113 TestHarness::TestHarness() : verbosity(GetVerbosityFromFlag()), in TestHarness() function in test_harness::TestHarness
124 TestHarness::TestHarness(const char* path) : in TestHarness() function in test_harness::TestHarness
130 TestHarness::~TestHarness() { in ~TestHarness()
152 bool TestHarness::ttyState() const { in ttyState()
156 int TestHarness::getVerbosity() const { in getVerbosity()
160 int TestHarness::setVerbosity(int v) { in setVerbosity()
166 void TestHarness::flushConsole() { in flushConsole()
172 bool TestHarness::RebootNugget() { in RebootNugget()
188 int TestHarness::SendData(const raw_message& msg) { in SendData()
197 int TestHarness::SendAhdlc(const raw_message& msg) { in SendAhdlc()
217 int TestHarness::SendSpi(const raw_message& msg) { in SendSpi()
249 int TestHarness::SendOneofProto(uint16_t type, uint16_t subtype, in SendOneofProto()
269 int TestHarness::SendProto(uint16_t type, in SendProto()
287 int TestHarness::GetAhdlc(raw_message* msg, microseconds timeout) { in GetAhdlc()
371 int TestHarness::GetSpi(raw_message* msg, microseconds timeout) { in GetSpi()
397 int TestHarness::GetData(raw_message* msg, microseconds timeout) { in GetData()
405 void TestHarness::Init(const char* path) { in Init()
478 [](TestHarness* harness){ in Init()
494 bool TestHarness::UsingSpi() const { in UsingSpi()
499 bool TestHarness::SwitchFromConsoleToProtoApi() { in SwitchFromConsoleToProtoApi()
530 bool TestHarness::SwitchFromProtoApiToConsole(raw_message* out_msg) { in SwitchFromProtoApiToConsole()
580 void TestHarness::BlockingWrite(const char* data, size_t len) { in BlockingWrite()
614 string TestHarness::ReadLineUntilBlock() { in ReadLineUntilBlock()
655 string TestHarness::ReadUntil(microseconds end) { in ReadUntil()
704 void TestHarness::PrintUntilClosed() { in PrintUntilClosed()