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 f5d7a7602a..be0b85b78f 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 2323b7cb44..460c383856 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 f1990bf6ff..56ee5ad3e8 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 c158e17189..75a1bcafb8 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 aa096e4169..bf728b9a2a 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 48543c2053..48543c2053 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 38eb0ed930..2398446339 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 feb80563a1..5113099698 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 0123fd539b..c3ae17b1a4 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 5ca5247dbf..df57338dfc 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 4146b682b1..4146b682b1 100644 --- a/tests/test_common/test_fixture.h +++ b/tests/test_common/test_fixture.hpp |