M5UnitUnified 0.0.2 git rev:a353e8c
|
UnitComponent Derived class for testing. More...
#include <test_template.hpp>
Protected Member Functions | |
virtual void | SetUp () override |
virtual void | TearDown () override |
virtual bool | begin () |
virtual bool | is_using_hal () const =0 |
Function returning true if M5HAL is used (decision based on TP) | |
virtual U * | get_instance ()=0 |
return m5::unit::Component-derived class instance (decision based on TP) | |
Protected Attributes | |
std::string | ustr {} |
std::unique_ptr< U > | unit {} |
m5::unit::UnitUnified | Units |
UnitComponent Derived class for testing.
U | m5::unit::Component-derived classes to be tested |
TP | parameter type for testing. see also INSTANTIATE_TEST_SUITE_P |