Update agl-vcar to match test expectations 32/25332/1 9.0.4 icefish/9.0.4 icefish_9.0.4
authorScott Murray <scott.murray@konsulko.com>
Tue, 29 Sep 2020 22:44:39 +0000 (18:44 -0400)
committerScott Murray <scott.murray@konsulko.com>
Tue, 29 Sep 2020 22:59:28 +0000 (22:59 +0000)
commit47b05eec0da25e783d629cd8d56900490b75aad3
tree7d553e316d53b7a0dda0cade6ef3f0e3e6e1e898
parent9e00c0e5c70e09662e642dcd7780b5f2ed19b88f
Update agl-vcar to match test expectations

The regeneration of the agl-vcar and default plugin signals code
broke some expectations of the afb-test and pyagl tests, changes
to get things back to a good state:

- Add the missing J1939 messages that were in default-signals.cpp
  before it was regenerated to the agl-vcar signals.json, and then
  regenerate the affected cpp files; this fixes the J1939 test
  expectations.  An alternative approach would be using the ability
  to load a different set of signals by configuring a different
  plugin, but that has been deemed not workable for AGL CI.
- Remove the old application-generated.cpp file from the agl-vcar
  examples directory to avoid confusion.
- Update the testFilter01pass.canreplay CAN data file used for the
  Filter_Test_01/Step_2 test to use the non-FD version of the
  0x3D9 CAN message that matches the agl-vcar definition.  A new
  0x3DA message that is a FD copy of 0x3D9 has been added to the
  agl-vcar signals.json to allow testing CAN FD messaging, and a new
  testFilter01pass-FD.canreplay data file has been added that can
  potentially be used for doing so.

Bug-AGL: SPEC-3603

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I24c960ca33aaf122ac83a2583cb2df0cd6dbd9e3
examples/agl-vcar/agl-vcar-signals.cpp
examples/agl-vcar/application-generated.cpp [deleted file]
examples/agl-vcar/signals.json
plugins/default-signals.cpp
test/afb-test/fixtures/testFilter01pass-FD.canreplay [new file with mode: 0644]
test/afb-test/fixtures/testFilter01pass.canreplay