summaryrefslogtreecommitdiff
path: root/tests/test_common/test_fixture.cpp
diff options
context:
space:
mode:
authorskullY <skullydazed@gmail.com>2019-08-30 11:19:03 -0700
committerFlorian Didron <fdidron@users.noreply.github.com>2019-09-17 11:39:43 +0900
commitf8fe33acfac01064112fd2b5da680abfb5190b97 (patch)
treefcf75ef930800a948e5a3ba015d6759889f2284d /tests/test_common/test_fixture.cpp
parentc339d670684674165b422a0168bfd2016ff2e6ef (diff)
clang-format changes
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 d86681eeaa..8caf1fca4a 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();
}
}