|
M5UnitUnified 0.4.4 git rev:306ddd5
|
UnitComponent derived class for testing (SPI) More...
#include <test_template.hpp>
Protected Member Functions | |
| virtual void | SetUp () override |
| virtual void | TearDown () override |
| virtual bool | begin () |
| virtual U * | get_instance ()=0 |
| return m5::unit::Component-derived class instance | |
| virtual SPISettings | get_spi_settings ()=0 |
| return SPISettings for the unit under test | |
| virtual SPIClass & | get_spi () |
| return SPIClass to be used (default: SPI) | |
Protected Attributes | |
| std::string | ustr {} |
| std::unique_ptr< U > | unit {} |
| m5::unit::UnitUnified | Units |
UnitComponent derived class for testing (SPI)
| U | m5::unit::Component-derived classes to be tested |