diff options
-rw-r--r-- | .vscode/settings.json | 6 | ||||
-rw-r--r-- | tests/basic/test_keypress.cpp | 2 | ||||
-rw-r--r-- | tests/basic/test_macro.cpp | 2 | ||||
-rw-r--r-- | tests/basic/test_tapping.cpp | 2 | ||||
-rw-r--r-- | tests/test_common/keyboard_report_util.cpp | 2 | ||||
-rw-r--r-- | tests/test_common/keyboard_report_util.hpp (renamed from tests/test_common/keyboard_report_util.h) | 0 | ||||
-rw-r--r-- | tests/test_common/test_common.hpp (renamed from tests/test_common/test_common.h) | 6 | ||||
-rw-r--r-- | tests/test_common/test_driver.cpp | 2 | ||||
-rw-r--r-- | tests/test_common/test_driver.hpp (renamed from tests/test_common/test_driver.h) | 2 | ||||
-rw-r--r-- | tests/test_common/test_fixture.cpp | 4 | ||||
-rw-r--r-- | tests/test_common/test_fixture.hpp (renamed from tests/test_common/test_fixture.h) | 0 |
11 files changed, 17 insertions, 11 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json index f5d7a7602..be0b85b78 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,5 +4,11 @@ "files.exclude": { "**/.build": true, "**/*.hex": true + }, + "files.associations": { + "*.h": "c", + "*.c": "c", + "*.cpp": "cpp", + "*.hpp": "cpp" } }
\ No newline at end of file diff --git a/tests/basic/test_keypress.cpp b/tests/basic/test_keypress.cpp index 2323b7cb4..460c38385 100644 --- a/tests/basic/test_keypress.cpp +++ b/tests/basic/test_keypress.cpp @@ -14,7 +14,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "test_common.h" +#include "test_common.hpp" using testing::_; using testing::Return; diff --git a/tests/basic/test_macro.cpp b/tests/basic/test_macro.cpp index f1990bf6f..56ee5ad3e 100644 --- a/tests/basic/test_macro.cpp +++ b/tests/basic/test_macro.cpp @@ -14,7 +14,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "test_common.h" +#include "test_common.hpp" #include "time.h" using testing::InSequence; diff --git a/tests/basic/test_tapping.cpp b/tests/basic/test_tapping.cpp index c158e1718..75a1bcafb 100644 --- a/tests/basic/test_tapping.cpp +++ b/tests/basic/test_tapping.cpp @@ -14,7 +14,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "test_common.h" +#include "test_common.hpp" #include "action_tapping.h" using testing::_; diff --git a/tests/test_common/keyboard_report_util.cpp b/tests/test_common/keyboard_report_util.cpp index aa096e416..bf728b9a2 100644 --- a/tests/test_common/keyboard_report_util.cpp +++ b/tests/test_common/keyboard_report_util.cpp @@ -14,7 +14,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ - #include "keyboard_report_util.h" + #include "keyboard_report_util.hpp" #include <vector> #include <algorithm> using namespace testing; diff --git a/tests/test_common/keyboard_report_util.h b/tests/test_common/keyboard_report_util.hpp index 48543c205..48543c205 100644 --- a/tests/test_common/keyboard_report_util.h +++ b/tests/test_common/keyboard_report_util.hpp diff --git a/tests/test_common/test_common.h b/tests/test_common/test_common.hpp index 38eb0ed93..239844633 100644 --- a/tests/test_common/test_common.h +++ b/tests/test_common/test_common.hpp @@ -18,7 +18,7 @@ #include "gmock/gmock.h" #include "quantum.h" -#include "test_driver.h" +#include "test_driver.hpp" #include "test_matrix.h" -#include "keyboard_report_util.h" -#include "test_fixture.h"
\ No newline at end of file +#include "keyboard_report_util.hpp" +#include "test_fixture.hpp"
\ No newline at end of file diff --git a/tests/test_common/test_driver.cpp b/tests/test_common/test_driver.cpp index feb80563a..511309969 100644 --- a/tests/test_common/test_driver.cpp +++ b/tests/test_common/test_driver.cpp @@ -14,7 +14,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "test_driver.h" +#include "test_driver.hpp" TestDriver* TestDriver::m_this = nullptr; diff --git a/tests/test_common/test_driver.h b/tests/test_common/test_driver.hpp index 0123fd539..c3ae17b1a 100644 --- a/tests/test_common/test_driver.h +++ b/tests/test_common/test_driver.hpp @@ -20,7 +20,7 @@ #include "gmock/gmock.h" #include <stdint.h> #include "host.h" -#include "keyboard_report_util.h" +#include "keyboard_report_util.hpp" class TestDriver { diff --git a/tests/test_common/test_fixture.cpp b/tests/test_common/test_fixture.cpp index 5ca5247db..df57338df 100644 --- a/tests/test_common/test_fixture.cpp +++ b/tests/test_common/test_fixture.cpp @@ -1,6 +1,6 @@ -#include "test_fixture.h" +#include "test_fixture.hpp" #include "gmock/gmock.h" -#include "test_driver.h" +#include "test_driver.hpp" #include "test_matrix.h" #include "keyboard.h" #include "action.h" diff --git a/tests/test_common/test_fixture.h b/tests/test_common/test_fixture.hpp index 4146b682b..4146b682b 100644 --- a/tests/test_common/test_fixture.h +++ b/tests/test_common/test_fixture.hpp |