LLVM OpenMP 22.0.0git
|
A pretty crude test case abstraction. More...
Public Member Functions | |
TestCase (const std::string &name) | |
TestCase (const std::string &name, const omptest::AssertState &expected) | |
virtual | ~TestCase ()=default |
Error | exec () |
virtual void | execImpl () |
Public Attributes | |
bool | IsDisabled {false} |
std::string | Name |
omptest::AssertState | ExpectedState {omptest::AssertState::Pass} |
omptest::AssertState | ResultState {omptest::AssertState::Pass} |
std::unique_ptr< omptest::OmptSequencedAsserter > | SequenceAsserter |
std::unique_ptr< omptest::OmptEventAsserter > | SetAsserter |
std::unique_ptr< omptest::OmptEventReporter > | EventReporter |
A pretty crude test case abstraction.
Definition at line 38 of file OmptTesterStandalone.h.
|
inline |
Definition at line 39 of file OmptTesterStandalone.h.
References IsDisabled, Name, and name.
|
inline |
Definition at line 41 of file OmptTesterStandalone.h.
References ExpectedState, IsDisabled, Name, and name.
|
virtualdefault |
Error TestCase::exec | ( | ) |
Definition at line 29 of file OmptTesterStandalone.cpp.
References omptest::OmptCallbackHandler::clearSubscribers(), EventReporter, execImpl(), ExpectedState, Error::Fail, omptest::Fail, flush_traced_devices(), omptest::OmptCallbackHandler::get(), IsDisabled, omptest::Pass, ResultState, SequenceAsserter, SetAsserter, and omptest::OmptCallbackHandler::subscribe().
|
inlinevirtual |
Definition at line 46 of file OmptTesterStandalone.h.
Referenced by exec().
std::unique_ptr<omptest::OmptEventReporter> TestCase::EventReporter |
Definition at line 57 of file OmptTesterStandalone.h.
Referenced by exec().
omptest::AssertState TestCase::ExpectedState {omptest::AssertState::Pass} |
Definition at line 50 of file OmptTesterStandalone.h.
Referenced by exec(), and TestCase().
bool TestCase::IsDisabled {false} |
Definition at line 48 of file OmptTesterStandalone.h.
Referenced by exec(), TestCase(), and TestCase().
std::string TestCase::Name |
Definition at line 49 of file OmptTesterStandalone.h.
Referenced by Registerer::Registerer(), TestCase(), and TestCase().
omptest::AssertState TestCase::ResultState {omptest::AssertState::Pass} |
Definition at line 51 of file OmptTesterStandalone.h.
Referenced by exec().
std::unique_ptr<omptest::OmptSequencedAsserter> TestCase::SequenceAsserter |
Definition at line 53 of file OmptTesterStandalone.h.
Referenced by exec().
std::unique_ptr<omptest::OmptEventAsserter> TestCase::SetAsserter |
Definition at line 55 of file OmptTesterStandalone.h.
Referenced by exec().