diff options
author | Daniel Mueller <deso@posteo.net> | 2019-01-10 13:49:48 -0800 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-01-10 13:49:48 -0800 |
commit | 749a5c78c2075c5d37b01ec4fd23704aa5cfdf09 (patch) | |
tree | 0c547995a46cc93ca94c0b09900cd372bfaf5cb7 /hidapi-sys/.gitignore | |
parent | 886788a95a3c79a7664cbcd0bfffa1e500461adf (diff) | |
download | nitrocli-749a5c78c2075c5d37b01ec4fd23704aa5cfdf09.tar.gz nitrocli-749a5c78c2075c5d37b01ec4fd23704aa5cfdf09.tar.bz2 |
Refactor integration test code internals for program invocation
In the future we will need to perform a sequence of invocations of the
program for testing purposes, with each having a slightly different
execution context. Such a scheme does not map very well to the existing
design where we essentially just have a function invocation to run the
program. We would either have functions that produce a different
execution context or pass in the data to modify.
Neither of these approaches is appealing and so this change reworks the
code slightly. With it, we now can create a Nitrocli object, which
contains the data that diverges from the default execution context. This
data will eventually be modifiable by callers.
Diffstat (limited to 'hidapi-sys/.gitignore')
0 files changed, 0 insertions, 0 deletions