Test fixture that is a simple wrapper around a FakeDispatcher.
Example:
Public Member Functions | |
| FakeDispatcher & | dispatcher () |
| Returns the FakeDispatcher that should be used for dependency injection. | |
| chrono::SystemClock::time_point | now () |
| Returns the current fake time. | |
| bool | RunUntilIdle () |
| bool | RunUntil (chrono::SystemClock::time_point end_time) |
| bool | RunFor (chrono::SystemClock::duration duration) |
Public Member Functions inherited from pw::unit_test::internal::Test | |
| Test (const Test &)=delete | |
| Test & | operator= (const Test &)=delete |
| void | PigweedTestRun () |
Additional Inherited Members | |
Static Public Member Functions inherited from pw::unit_test::internal::Test | |
| static void | SetUpTestSuite () |
| static void | TearDownTestSuite () |
| static bool | HasFailure () |
Protected Member Functions inherited from pw::unit_test::internal::Test | |
| virtual void | SetUp () |
| virtual void | TearDown () |