one bus's command set: the driver of that bus plus the commands the CLI dispatches on it. It keeps the device under test alone - a bus's tree must hold exactly that one device while a test runs
More...
|
| void | arrived (device_t &device) override |
| template<typename data_t> |
| void | buffer (size_t size=0x1000, uint32_t rx=1, uint32_t tx=1, const std::chrono::high_resolution_clock::duration &duration=3s) const |
| void | buffer_header () const |
| void | device_arrival_removal (const args &={}) |
| void | filter (const args &cargs={}) |
| bool | head () const noexcept override |
| virtual void | help (argsargs &argsargs) |
| void | help_head () const noexcept override |
| virtual void | indent (argsargs &argsargs) |
| void | list (const args &={}) |
| void | loglevel (argsargs &argsargs) |
| void | meta_buffer (size_t size, uint32_t rx, uint32_t tx, const std::chrono::high_resolution_clock::duration &duration) const |
| virtual void | no_args (const argsargs &argsargs) |
| void | removed (device_t &device) noexcept override |
| auto | select (const std::string &id) |
| void | unittest (const argsargs &argsargs) |
| | runs the mask-selected rows, each cycling for the given duration "reject" only counts a row's own tolerated input rejections: an unsupported iosize/samplerate etc. the driver correctly refuses, or the pin start/stop call itself being not_implemented for the current bus (e.g. ASIO requires a prior device-level attach()/createBuffers() no standalone pin start can provide). any other failure of the operation actually under test is not tolerated - it throws and aborts the whole run
|
| void | unittest_align (const args &={}) |
| void | unittest_buffer (const argsargs &argsargs={}) |
| void | unittest_format (const args &={}) |
| void | unittest_mask (argsargs &argsargs) |
| void | unittest_preference (argsargs &argsargs) |
| void | unittest_preference_erase (decltype(device_t::preference)&preferences, uint32_t &leaves) |
| void | unittest_preference_write (const decltype(device_t::preference)&preferencepreference, const std::chrono::high_resolution_clock::time_point &timeout, uint32_t &leaves, uint32_t depth=0) |
| void | unittest_stream_duration (argsargs &argsargs) |
| virtual void | version (const argsargs &argsargs={}) |
template<typename super_device_t, typename device_t, typename driver_t>
class dx::test::driver< super_device_t, device_t, driver_t >
one bus's command set: the driver of that bus plus the commands the CLI dispatches on it. It keeps the device under test alone - a bus's tree must hold exactly that one device while a test runs
template<typename super_device_t, typename device_t, typename driver_t>
runs the mask-selected rows, each cycling for the given duration "reject" only counts a row's own tolerated input rejections: an unsupported iosize/samplerate etc. the driver correctly refuses, or the pin start/stop call itself being not_implemented for the current bus (e.g. ASIO requires a prior device-level attach()/createBuffers() no standalone pin start can provide). any other failure of the operation actually under test is not tolerated - it throws and aborts the whole run