Configure vscode file associations, use hpp instead of h

This commit is contained in:
Fred Sundvik 2017-07-02 21:46:35 +03:00 committed by Jack Humbert
parent 631c09e976
commit 67f722c9c8
11 changed files with 17 additions and 11 deletions

View file

@ -4,5 +4,11 @@
"files.exclude": {
"**/.build": true,
"**/*.hex": true
},
"files.associations": {
"*.h": "c",
"*.c": "c",
"*.cpp": "cpp",
"*.hpp": "cpp"
}
}

View file

@ -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;

View file

@ -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;

View file

@ -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::_;

View file

@ -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;

View file

@ -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"

View file

@ -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;

View file

@ -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 {

View file

@ -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"