aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2017-07-02 21:46:35 +0300
committerJack Humbert <jack.humb@gmail.com>2017-07-08 21:59:51 -0400
commit67f722c9c8cb077b946dfb2b6a3b538e37f3aa8c (patch)
treed84f65049443d75b7bd285216cd0de0223707add
parent631c09e97679c27d2f9d8bf3980cc6b2ca6181aa (diff)
downloadqmk_firmware-67f722c9c8cb077b946dfb2b6a3b538e37f3aa8c.tar.gz
qmk_firmware-67f722c9c8cb077b946dfb2b6a3b538e37f3aa8c.zip
Configure vscode file associations, use hpp instead of h
-rw-r--r--.vscode/settings.json6
-rw-r--r--tests/basic/test_keypress.cpp2
-rw-r--r--tests/basic/test_macro.cpp2
-rw-r--r--tests/basic/test_tapping.cpp2
-rw-r--r--tests/test_common/keyboard_report_util.cpp2
-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.cpp2
-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.cpp4
-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 @@
4 "files.exclude": { 4 "files.exclude": {
5 "**/.build": true, 5 "**/.build": true,
6 "**/*.hex": true 6 "**/*.hex": true
7 },
8 "files.associations": {
9 "*.h": "c",
10 "*.c": "c",
11 "*.cpp": "cpp",
12 "*.hpp": "cpp"
7 } 13 }
8} \ No newline at end of file 14} \ 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 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#include "test_common.h" 17#include "test_common.hpp"
18 18
19using testing::_; 19using testing::_;
20using testing::Return; 20using 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 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#include "test_common.h" 17#include "test_common.hpp"
18#include "time.h" 18#include "time.h"
19 19
20using testing::InSequence; 20using 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 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#include "test_common.h" 17#include "test_common.hpp"
18#include "action_tapping.h" 18#include "action_tapping.h"
19 19
20using testing::_; 20using 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 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17 #include "keyboard_report_util.h" 17 #include "keyboard_report_util.hpp"
18 #include <vector> 18 #include <vector>
19 #include <algorithm> 19 #include <algorithm>
20 using namespace testing; 20 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 @@
18#include "gmock/gmock.h" 18#include "gmock/gmock.h"
19 19
20#include "quantum.h" 20#include "quantum.h"
21#include "test_driver.h" 21#include "test_driver.hpp"
22#include "test_matrix.h" 22#include "test_matrix.h"
23#include "keyboard_report_util.h" 23#include "keyboard_report_util.hpp"
24#include "test_fixture.h" \ No newline at end of file 24#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 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#include "test_driver.h" 17#include "test_driver.hpp"
18 18
19TestDriver* TestDriver::m_this = nullptr; 19TestDriver* TestDriver::m_this = nullptr;
20 20
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 @@
20#include "gmock/gmock.h" 20#include "gmock/gmock.h"
21#include <stdint.h> 21#include <stdint.h>
22#include "host.h" 22#include "host.h"
23#include "keyboard_report_util.h" 23#include "keyboard_report_util.hpp"
24 24
25 25
26class TestDriver { 26class 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 @@
1#include "test_fixture.h" 1#include "test_fixture.hpp"
2#include "gmock/gmock.h" 2#include "gmock/gmock.h"
3#include "test_driver.h" 3#include "test_driver.hpp"
4#include "test_matrix.h" 4#include "test_matrix.h"
5#include "keyboard.h" 5#include "keyboard.h"
6#include "action.h" 6#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