Configure vscode file associations, use hpp instead of h
This commit is contained in:
parent
631c09e976
commit
67f722c9c8
|
@ -4,5 +4,11 @@
|
||||||
"files.exclude": {
|
"files.exclude": {
|
||||||
"**/.build": true,
|
"**/.build": true,
|
||||||
"**/*.hex": true
|
"**/*.hex": true
|
||||||
|
},
|
||||||
|
"files.associations": {
|
||||||
|
"*.h": "c",
|
||||||
|
"*.c": "c",
|
||||||
|
"*.cpp": "cpp",
|
||||||
|
"*.hpp": "cpp"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -14,7 +14,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "test_common.h"
|
#include "test_common.hpp"
|
||||||
|
|
||||||
using testing::_;
|
using testing::_;
|
||||||
using testing::Return;
|
using testing::Return;
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "test_common.h"
|
#include "test_common.hpp"
|
||||||
#include "time.h"
|
#include "time.h"
|
||||||
|
|
||||||
using testing::InSequence;
|
using testing::InSequence;
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "test_common.h"
|
#include "test_common.hpp"
|
||||||
#include "action_tapping.h"
|
#include "action_tapping.h"
|
||||||
|
|
||||||
using testing::_;
|
using testing::_;
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* 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 <vector>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
using namespace testing;
|
using namespace testing;
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#include "gmock/gmock.h"
|
#include "gmock/gmock.h"
|
||||||
|
|
||||||
#include "quantum.h"
|
#include "quantum.h"
|
||||||
#include "test_driver.h"
|
#include "test_driver.hpp"
|
||||||
#include "test_matrix.h"
|
#include "test_matrix.h"
|
||||||
#include "keyboard_report_util.h"
|
#include "keyboard_report_util.hpp"
|
||||||
#include "test_fixture.h"
|
#include "test_fixture.hpp"
|
|
@ -14,7 +14,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* 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;
|
TestDriver* TestDriver::m_this = nullptr;
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#include "gmock/gmock.h"
|
#include "gmock/gmock.h"
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "host.h"
|
#include "host.h"
|
||||||
#include "keyboard_report_util.h"
|
#include "keyboard_report_util.hpp"
|
||||||
|
|
||||||
|
|
||||||
class TestDriver {
|
class TestDriver {
|
|
@ -1,6 +1,6 @@
|
||||||
#include "test_fixture.h"
|
#include "test_fixture.hpp"
|
||||||
#include "gmock/gmock.h"
|
#include "gmock/gmock.h"
|
||||||
#include "test_driver.h"
|
#include "test_driver.hpp"
|
||||||
#include "test_matrix.h"
|
#include "test_matrix.h"
|
||||||
#include "keyboard.h"
|
#include "keyboard.h"
|
||||||
#include "action.h"
|
#include "action.h"
|
||||||
|
|
Loading…
Reference in New Issue