History log of /openbmc/libbej/test/bej_encoder_test.cpp (Results 1 – 4 of 4)
Revision Date Author Comments
# 77535192 19-Dec-2024 Jayanth Othayoth <ojayanth@gmail.com>

clang-tidy: Replace NULL with nullptr

Replaced all instances of NULL with nullptr to improve type safety
and clarity, as nullptr is the modern C++ standard for null pointers.

Tested: Build verified

clang-tidy: Replace NULL with nullptr

Replaced all instances of NULL with nullptr to improve type safety
and clarity, as nullptr is the modern C++ standard for null pointers.

Tested: Build verified

Change-Id: Ie9e20e9f97d9a2b974a4a8748a3daaf5d516adb8
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>

show more ...


# a46f9850 27-Sep-2024 Brian Ma <chma0@nuvoton.com>

bej_tree: initialize node attribute format

While initializing the parent and child nodes, initialize the reserved
bit of the node attribute format to prevent unexpected reserved bit
setting.

And al

bej_tree: initialize node attribute format

While initializing the parent and child nodes, initialize the reserved
bit of the node attribute format to prevent unexpected reserved bit
setting.

And also override gtest's PrintTo function to avoid accessing
uninitialized areas due to structure alignment.

Tested:
Run test cases pass

Change-Id: I5b113f47c41ad15de578b80bf5e859f3b0c40503
Signed-off-by: Brian Ma <chma0@nuvoton.com>

show more ...


# be27f2e9 16-Aug-2024 Patrick Williams <patrick@stwcx.xyz>

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda forma

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda formatting also changed, so we have made changes to the
organization default style format to better handle lambda formatting.

See I5e08687e696dd240402a2780158664b7113def0e for updated style.
See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.

Change-Id: I133f4f43d4955ba1b86b924fc741aa5a56f34239
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# da6e5573 13-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 ...