Eric Paniagua
04bf1cf4c1
Add kaleidoscope::testing::ConsumerControlReport.
...
Signed-off-by: Eric Paniagua <epaniagua@google.com>
4 years ago
Eric Paniagua
5f99f56b56
Merge branch 'epan/testing/readable' into epan/testing/main
...
Signed-off-by: Eric Paniagua <epaniagua@google.com>
4 years ago
Eric Paniagua
6534f2a167
Add kaleidoscope::testing::AbsoluteMouseReport.
...
Signed-off-by: Eric Paniagua <epaniagua@google.com>
4 years ago
Jesse Vincent
f00ba327d9
Clean up "make clean" targets
...
Remove "Makefile" targets, as they don't do what Eric wanted
4 years ago
Eric Paniagua
ccc8542329
Add kaleidoscope::testing::HIDState.
...
Signed-off-by: Eric Paniagua <epaniagua@google.com>
4 years ago
Eric Paniagua
e15c8f3d6a
Make IsEmpty work for SystemControlReport.
...
Signed-off-by: Eric Paniagua <epaniagua@google.com>
4 years ago
Eric Paniagua
0cab1494b5
Treat SystemControlReport like a container in tests.
...
Signed-off-by: Eric Paniagua <epaniagua@google.com>
4 years ago
Eric Paniagua
54f2dfb070
Rename matcher `ContainsKey` to `Contains`.
...
Signed-off-by: Eric Paniagua <epaniagua@google.com>
4 years ago
Eric Paniagua
8c7ad97d92
Issue #840 : Verified by test.
...
Signed-off-by: Eric Paniagua <epaniagua@google.com>
4 years ago
Eric Paniagua
def72e6dde
Remove test dependency on change to KeyboardioHID/src/HIDReportObserver.h.
...
Signed-off-by: Eric Paniagua <epaniagua@google.com>
4 years ago
Eric Paniagua
c21f367c2e
Minor improvement to the test build system.
...
Signed-off-by: Eric Paniagua <epaniagua@google.com>
4 years ago
Eric Paniagua
dba2d77a97
Rename ::kaleidoscope::testing::Simulator to SimHarness.
...
Signed-off-by: Eric Paniagua <epaniagua@google.com>
4 years ago
Eric Paniagua
a89c95cc58
Make RunCycle return std::unique_ptr<State>.
...
Signed-off-by: Eric Paniagua <epaniagua@google.com>
4 years ago
Eric Paniagua
a9f1e960cc
First unit test working!
...
Must be run with the bundle checked out to `epan/build/justlib`. Also,
the build process is awkward. To be improved in a follow-up.
cd testing && make common && cd kaleidoscope && make
Signed-off-by: Eric Paniagua <epaniagua@google.com>
4 years ago
Eric Paniagua
b6d607be62
[WIP]: Debugging NPE in kaleidoscope/simulator_test.cpp.
...
Signed-off-by: Eric Paniagua <epaniagua@google.com>
4 years ago
Eric Paniagua
eabea8f03c
[WIP]: Test in testing/kaleidoscope builds, links, and segfaults.
...
Signed-off-by: Eric Paniagua <epaniagua@google.com>
4 years ago
Eric Paniagua
a72b444dbd
[wip] Remaining: Stop arduino-builder from building test files.
...
Signed-off-by: Eric Paniagua <epaniagua@google.com>
4 years ago
Eric Paniagua
c2a8c9f1eb
wip
...
Signed-off-by: Eric Paniagua <epaniagua@google.com>
4 years ago
Eric Paniagua
5c8a438cc6
wip
...
Signed-off-by: Eric Paniagua <epaniagua@google.com>
4 years ago