summaryrefslogtreecommitdiffstats
path: root/tests/test_common
diff options
context:
space:
mode:
authorThat-Canadian <poole.chris.11@gmail.com>2017-07-15 03:35:50 +0200
committerThat-Canadian <poole.chris.11@gmail.com>2017-07-15 03:35:50 +0200
commit6c9b69a4b67e064dacea364f842bf15631d7a5e6 (patch)
treef5afa578f218d83245363b68bfb502f517698af6 /tests/test_common
parente2e0f5d6d13f6e4d2528ee9ff5e48f896d637092 (diff)
parent5412229603c1b16051776e81bed57697adf339e2 (diff)
downloadqmk_firmware-6c9b69a4b67e064dacea364f842bf15631d7a5e6.tar.gz
qmk_firmware-6c9b69a4b67e064dacea364f842bf15631d7a5e6.tar.xz
Merge branch 'master' into minidox
Diffstat (limited to 'tests/test_common')
-rw-r--r--tests/test_common/matrix.c3
-rw-r--r--tests/test_common/test_fixture.cpp4
-rw-r--r--tests/test_common/test_fixture.hpp2
3 files changed, 6 insertions, 3 deletions
diff --git a/tests/test_common/matrix.c b/tests/test_common/matrix.c
index 0d9fa68b0..4b501039b 100644
--- a/tests/test_common/matrix.c
+++ b/tests/test_common/matrix.c
@@ -58,3 +58,6 @@ void release_key(uint8_t col, uint8_t row) {
void clear_all_keys(void) {
memset(matrix, 0, sizeof(matrix));
}
+
+void led_set(uint8_t usb_led) {
+}
diff --git a/tests/test_common/test_fixture.cpp b/tests/test_common/test_fixture.cpp
index df57338df..4084ee9c6 100644
--- a/tests/test_common/test_fixture.cpp
+++ b/tests/test_common/test_fixture.cpp
@@ -44,8 +44,8 @@ void TestFixture::run_one_scan_loop() {
advance_time(1);
}
-void TestFixture::idle_for(uint time) {
- for (uint i=0; i<time; i++) {
+void TestFixture::idle_for(unsigned time) {
+ for (unsigned i=0; i<time; i++) {
run_one_scan_loop();
}
} \ No newline at end of file
diff --git a/tests/test_common/test_fixture.hpp b/tests/test_common/test_fixture.hpp
index 4146b682b..fb37e440f 100644
--- a/tests/test_common/test_fixture.hpp
+++ b/tests/test_common/test_fixture.hpp
@@ -26,5 +26,5 @@ public:
static void TearDownTestCase();
void run_one_scan_loop();
- void idle_for(uint ms);
+ void idle_for(unsigned ms);
}; \ No newline at end of file