From 4e69a8bda6c4003c6b9e33de7db89fe073c970f5 Mon Sep 17 00:00:00 2001 From: Fred Sundvik Date: Sat, 1 Jul 2017 22:25:06 +0300 Subject: Add basic timing support, and SFT_T tests Also expose some bugs... --- tests/test_common/test_fixture.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/test_common/test_fixture.h') diff --git a/tests/test_common/test_fixture.h b/tests/test_common/test_fixture.h index a775a425aa..4146b682b1 100644 --- a/tests/test_common/test_fixture.h +++ b/tests/test_common/test_fixture.h @@ -25,4 +25,6 @@ public: static void SetUpTestCase(); static void TearDownTestCase(); + void run_one_scan_loop(); + void idle_for(uint ms); }; \ No newline at end of file -- cgit v1.2.3 From 67f722c9c8cb077b946dfb2b6a3b538e37f3aa8c Mon Sep 17 00:00:00 2001 From: Fred Sundvik Date: Sun, 2 Jul 2017 21:46:35 +0300 Subject: Configure vscode file associations, use hpp instead of h --- tests/test_common/test_fixture.h | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 tests/test_common/test_fixture.h (limited to 'tests/test_common/test_fixture.h') diff --git a/tests/test_common/test_fixture.h b/tests/test_common/test_fixture.h deleted file mode 100644 index 4146b682b1..0000000000 --- a/tests/test_common/test_fixture.h +++ /dev/null @@ -1,30 +0,0 @@ -/* Copyright 2017 Fred Sundvik - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - - #pragma once - -#include "gtest/gtest.h" - -class TestFixture : public testing::Test { -public: - TestFixture(); - ~TestFixture(); - static void SetUpTestCase(); - static void TearDownTestCase(); - - void run_one_scan_loop(); - void idle_for(uint ms); -}; \ No newline at end of file -- cgit v1.2.3