History log of /openbmc/libbej/test/encoded/ (Results 1 – 3 of 3)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
da6e557313-Mar-2023 Nikhil Namjoshi <nikhilnamjoshi@google.com>

Add libbej encoder wrapper for C++

Add unit tests and the test data files needed for unit tests.
Move APIs from bej_decoder_test.cpp to a common file, to share those
with bej_encoder_test.cpp

Teste

Add libbej encoder wrapper for C++

Add unit tests and the test data files needed for unit tests.
Move APIs from bej_decoder_test.cpp to a common file, to share those
with bej_encoder_test.cpp

Tested:
Verified that encoding using the wrapper works well at runtime.
Verified that the unit tests pass.

Change-Id: I61b7c17690eb7e7fefd1973a22d4316c6214267e
Signed-off-by: Nikhil Namjoshi <nikhilnamjoshi@google.com>

show more ...

c14fab6e23-Nov-2022 kasunath <kasunath@google.com>

Fix missing comma for empty arrays/sets

When an array or a set is empty, and if it's not the last property
within an object, we need to add a comma after empty brackets/braces.

This change fix this

Fix missing comma for empty arrays/sets

When an array or a set is empty, and if it's not the last property
within an object, we need to add a comma after empty brackets/braces.

This change fix this issue. Also updated a test case to capture this.

Signed-off-by: Kasun Athukorala <kasunath@google.com>
Change-Id: Ia087f341d052660191f2614add2060c81be67f61

show more ...

e8946af623-May-2022 kasunath <kasunath@google.com>

Add tests for the JSON decoder.

These tests will test the bej_decoder_core.c as well.

Signed-off-by: Kasun Athukorala <kasunath@google.com>
Change-Id: Ibf1c9a381a630beac09ed504dd57563160579fb0