Browse Source

Configure vscode file associations, use hpp instead of h

pull/1484/head
Fred Sundvik 6 years ago
committed by Jack Humbert
parent
commit
67f722c9c8
11 changed files with 17 additions and 11 deletions
  1. +6
    -0
      .vscode/settings.json
  2. +1
    -1
      tests/basic/test_keypress.cpp
  3. +1
    -1
      tests/basic/test_macro.cpp
  4. +1
    -1
      tests/basic/test_tapping.cpp
  5. +1
    -1
      tests/test_common/keyboard_report_util.cpp
  6. +0
    -0
      tests/test_common/keyboard_report_util.hpp
  7. +3
    -3
      tests/test_common/test_common.hpp
  8. +1
    -1
      tests/test_common/test_driver.cpp
  9. +1
    -1
      tests/test_common/test_driver.hpp
  10. +2
    -2
      tests/test_common/test_fixture.cpp
  11. +0
    -0
      tests/test_common/test_fixture.hpp

+ 6
- 0
.vscode/settings.json View File

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

+ 1
- 1
tests/basic/test_keypress.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;


+ 1
- 1
tests/basic/test_macro.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"
#include "time.h"
using testing::InSequence;


+ 1
- 1
tests/basic/test_tapping.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"
#include "action_tapping.h"
using testing::_;


+ 1
- 1
tests/test_common/keyboard_report_util.cpp 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;


tests/test_common/keyboard_report_util.h → tests/test_common/keyboard_report_util.hpp View File


tests/test_common/test_common.h → tests/test_common/test_common.hpp 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"

+ 1
- 1
tests/test_common/test_driver.cpp 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;


tests/test_common/test_driver.h → tests/test_common/test_driver.hpp 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 {

+ 2
- 2
tests/test_common/test_fixture.cpp 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"


tests/test_common/test_fixture.h → tests/test_common/test_fixture.hpp View File


Loading…
Cancel
Save