|
M5UnitUnified 0.2.0 git rev:9e1ffe1
|
UnitComponent Derived class for testing (I2C) 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 (I2C)
| U | m5::unit::Component-derived classes to be tested |
| TP | parameter type for testing. see also INSTANTIATE_TEST_SUITE_P |