Commit Graph

75 Commits (da024d6bf9ccd0a7b9ff312a39a71be236e88501)

Author SHA1 Message Date
Michael Richters 78e9ec4291
Add event queue functions to testing infrastructure
4 years ago
Michael Richters 0473094d4e
Add timestamps to simulator HID report classes
4 years ago
Michael Richters 470363f893
Whitespace only, for readability
4 years ago
Michael Richters bc14df9f8b
Follow naming convention for private member variables
4 years ago
Michael Richters 371ba30ed3
Make SimHarness::CycleTime() const correct
4 years ago
Gergely Nagy 835c332303
testing: Do not ignore the return value of RUN_ALL_TESTS
4 years ago
Gergely Nagy 518989ba57
Merge pull request #944 from keyboardio/standardize-key-report-names
4 years ago
Jesse Vincent 7f6d09c15b
Merge pull request #948 from gedankenexperimenter/t/keyboard-hid-modifiers
4 years ago
Jesse Vincent 820560f77c
Change the target the test suite uses when compiling sketches to avoid duplicate compilation
4 years ago
Michael Richters 2207c3f4f8
Add modifier information to KeyboardReport class
4 years ago
Jesse Vincent 9ec11f1b4b
Force compilation of sketches in the simulator.
4 years ago
Jesse Vincent a646261982
Add SetCycleTime and CycleTime to control how many ms each cycle take.
4 years ago
Jesse Vincent b5c744a7cf
Move RunForMillis.cpp to the .cpp file.
4 years ago
Michael Richters 76a48e0a12
Add `RunFor*` variants for `Cycles` and `Millis` functions
4 years ago
Michael Richters 69fc1dc0e2
Add `SimHarness.RunMillis(t)` function
4 years ago
Michael Richters 39f0bbe159
Add KeyAddr versions of Press() & Release() to the simulator
4 years ago
Jesse Vincent 51d48245ad
Switch ConsumerControlReport and SystemControlReport to use ActiveKeycodes and ActiveKeycode respectively, to match Keyboard.
4 years ago
Gergely Nagy 6bc8c4e243
testing/makefiles: Respect the VERBOSE environment variable
4 years ago
Gergely Nagy 30eca52dce
testing/setup-googletest.h: Explicitly ignore the result of RUN_ALL_TESTS
4 years ago
Gergely Nagy 9319cc1099
testing: Build and run the tests separately
4 years ago
Gergely Nagy 68730e4911
testing/fix-macros.h: Improve the comment on the top of the file
4 years ago
Gergely Nagy 802d2087d2
testing/makefiles/testcase.mk: Make it work without BOARD_HARDWARE_PATH
4 years ago
Gergely Nagy d7a4df634d
Move some gitignores around
4 years ago
Gergely Nagy b036d7da51
travis: Update to run the new googletest-based suite aswell
4 years ago
Eric Paniagua fad1b7e051
Add a googletest-based test harness & tests
4 years ago