[libcamera-devel,v10,0/3] IPA isolation tests
mbox series

Message ID 20210302093318.437308-1-paul.elder@ideasonboard.com
Headers show
Series
  • IPA isolation tests
Related show

Message

Paul Elder March 2, 2021, 9:33 a.m. UTC
This used to be part 3 of the IPA isolation series. The documentation
has been broken out (v8 waiting for review), and this series only
contains tests for IPA isolation.

1/3 tests the IPADataSerializer and 2/3 tests the IPCUnixSocket, both
in the same manner as how the generated IPA proxies would use them.

3/3 tests the generated serializer. v7 adds a test to test
(de)serialization of a vector of *generated* structs.

Changes in v10:
- fix file location of test.mojom for the generated serializer test
- some more style fixes

Changes in v9:
- just lots of style fixes in the tests

Changes in v8:
- (from v7.1) fix bullet points and update wordings in the ipa writer
  guide

Changes in v7:
- add test to test serdes of a vector of *generated* structs
- remove printing values of vectors/maps
- use the new sendSync/sendAsync API
- update IPA guide

Changes in v6:
- no longer need to initialize rpi ControlInfoMap, and no longer
  necessary it pass it to the ControlList serializer
- update documentation about the required namespacing, customizable
  start(), and that {pipeline_name}.h is no longer required
- use namespacing in the mojom file and test


Paul Elder (4):
  tests: Add IPADataSerializer test
  tests: Add test for IPCPipeUnixSocket
  Documentation: Add IPA writers guide
  tests: Test IPA serializer generation

 Documentation/guides/ipa.rst                  | 474 ++++++++++++++++++
 Documentation/index.rst                       |   1 +
 Documentation/meson.build                     |   1 +
 test/ipc/meson.build                          |   3 +-
 test/ipc/unixsocket_ipc.cpp                   | 233 +++++++++
 .../generated_serializer_test.cpp             | 156 ++++++
 .../generated_serializer/meson.build          |  49 ++
 .../generated_serializer/vimc.mojom           |  33 ++
 .../ipa_data_serializer_test.cpp              | 378 ++++++++++++++
 test/serialization/meson.build                |   5 +-
 10 files changed, 1331 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/guides/ipa.rst
 create mode 100644 test/ipc/unixsocket_ipc.cpp
 create mode 100644 test/serialization/generated_serializer/generated_serializer_test.cpp
 create mode 100644 test/serialization/generated_serializer/meson.build
 create mode 100644 test/serialization/generated_serializer/vimc.mojom
 create mode 100644 test/serialization/ipa_data_serializer_test.cpp