TheoryOfNekomata
8bf3b46233
Update gamepad event handling
Use game controller APIs instead of the joystick ones to be able to use
the gamepad button DB file.
1 anno fa
TheoryOfNekomata
2976aa757f
Fix tests for macOS
Properly add SDL mocks for macOS.
1 anno fa
TheoryOfNekomata
d5dba952e6
Update ini-config mock
Use library in new subproject.
1 anno fa
TheoryOfNekomata
57b33b800d
Extract config code
Define separate package for config code.
1 anno fa
TheoryOfNekomata
f4799aa679
Update input code
Correctly include portmidi in tests.
1 anno fa
TheoryOfNekomata
95f46278f5
Fix input test
Add mocks for some SDL functions related to joysticks/gamepads.
1 anno fa
TheoryOfNekomata
2d326b1f8b
Migrate portmidi
Remove old portmidi dependency.
1 anno fa
TheoryOfNekomata
30469008de
Migrate SDL to subprojects
Remove old SDL dependency.
1 anno fa
TheoryOfNekomata
ba89fa1a74
Start migrating dependencies to subprojects
Put minIni, and bdd-for-c dependencies to subprojects dir.
1 anno fa
TheoryOfNekomata
a6ddf68c8a
Genericize compatibility
Extract additional platform-specific imports to basic compatibility
header.
1 anno fa
TheoryOfNekomata
fce519404d
Update config mock
Add parameter names for config mock functions.
1 anno fa
TheoryOfNekomata
901f7aef48
Update input tests
Ensure input test implementation is aligned to current input API.
1 anno fa
TheoryOfNekomata
0ad985b4f0
Update memory and data tests
Use modes for list teardown calls to prevent pollution of the tracked
calls.
1 anno fa
TheoryOfNekomata
bd0cdc1694
Update mock library
Separate mock library from source.
1 anno fa
TheoryOfNekomata
d96a25d7d2
Fix log mocks
Add modes for log mocks.
1 anno fa
TheoryOfNekomata
5ce887f3db
Organize mocks
Put mocks to directory structure mimicking project structure.
1 anno fa
TheoryOfNekomata
9cde8ff876
Extract common code
Remove symlinks and make codebase use common modules instead.
2 anni fa
TheoryOfNekomata
52fb193b83
Cover all input methods on tests
Add tests for initialization and teardown for all input methods.
2 anni fa
TheoryOfNekomata
bc4593d806
Add memory-related code
Add memory and data-related implementations for handling game data.
2 anni fa
TheoryOfNekomata
1095a92c61
Update mock int types
Use consistent integer types for mocks.
2 anni fa
TheoryOfNekomata
5caae74ebc
Update video tests
Properly mock video function dependencies.
2 anni fa
TheoryOfNekomata
e4d4441b07
Update tests
Update input tests.
2 anni fa
TheoryOfNekomata
881b415d60
Implement joystick tests
Implement tests for joystick axis, hat, and button events.
2 anni fa
TheoryOfNekomata
d9cb1483d0
Organize test fixtures
Add third-party mocks, specify mock files.
/? Do we need first-party mocks in their own files, or can we provide a
mock flag in the implementation files already?
2 anni fa