Skip to content

Commit

Permalink
Configure vscode file associations, use hpp instead of h
Browse files Browse the repository at this point in the history
  • Loading branch information
fredizzimo authored and jackhumbert committed Jul 9, 2017
1 parent 631c09e commit 67f722c
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 11 deletions.
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@
"files.exclude": {
"**/.build": true,
"**/*.hex": true
},
"files.associations": {
"*.h": "c",
"*.c": "c",
"*.cpp": "cpp",
"*.hpp": "cpp"
}
}
2 changes: 1 addition & 1 deletion tests/basic/test_keypress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http:https://www.gnu.org/licenses/>.
*/

#include "test_common.h"
#include "test_common.hpp"

using testing::_;
using testing::Return;
Expand Down
2 changes: 1 addition & 1 deletion tests/basic/test_macro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http:https://www.gnu.org/licenses/>.
*/

#include "test_common.h"
#include "test_common.hpp"
#include "time.h"

using testing::InSequence;
Expand Down
2 changes: 1 addition & 1 deletion tests/basic/test_tapping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http:https://www.gnu.org/licenses/>.
*/

#include "test_common.h"
#include "test_common.hpp"
#include "action_tapping.h"

using testing::_;
Expand Down
2 changes: 1 addition & 1 deletion tests/test_common/keyboard_report_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http:https://www.gnu.org/licenses/>.
*/

#include "keyboard_report_util.h"
#include "keyboard_report_util.hpp"
#include <vector>
#include <algorithm>
using namespace testing;
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
#include "keyboard_report_util.hpp"
#include "test_fixture.hpp"
2 changes: 1 addition & 1 deletion tests/test_common/test_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http:https://www.gnu.org/licenses/>.
*/

#include "test_driver.h"
#include "test_driver.hpp"

TestDriver* TestDriver::m_this = nullptr;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions tests/test_common/test_fixture.cpp
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
File renamed without changes.

0 comments on commit 67f722c

Please sign in to comment.