aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_common/test_fixture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_common/test_fixture.cpp')
-rw-r--r--tests/test_common/test_fixture.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/tests/test_common/test_fixture.cpp b/tests/test_common/test_fixture.cpp
index d86681eea..8caf1fca4 100644
--- a/tests/test_common/test_fixture.cpp
+++ b/tests/test_common/test_fixture.cpp
@@ -11,14 +11,14 @@ extern "C" {
}
extern "C" {
- void set_time(uint32_t t);
- void advance_time(uint32_t ms);
+void set_time(uint32_t t);
+void advance_time(uint32_t ms);
}
using testing::_;
using testing::AnyNumber;
-using testing::Return;
using testing::Between;
+using testing::Return;
void TestFixture::SetUpTestCase() {
TestDriver driver;
@@ -26,11 +26,9 @@ void TestFixture::SetUpTestCase() {
keyboard_init();
}
-void TestFixture::TearDownTestCase() {
-}
+void TestFixture::TearDownTestCase() {}
-TestFixture::TestFixture() {
-}
+TestFixture::TestFixture() {}
TestFixture::~TestFixture() {
TestDriver driver;
@@ -50,7 +48,7 @@ void TestFixture::run_one_scan_loop() {
}
void TestFixture::idle_for(unsigned time) {
- for (unsigned i=0; i<time; i++) {
+ for (unsigned i = 0; i < time; i++) {
run_one_scan_loop();
}
}