Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ target_link_libraries(${TEST_APP} PRIVATE asam_cmp
gmock
)

add_test(NAME ${TEST_APP}
COMMAND $<TARGET_FILE_NAME:${TEST_APP}>
WORKING_DIRECTORY bin
add_test(
NAME ${TEST_APP}
COMMAND $<TARGET_FILE:${TEST_APP}>
)

4 changes: 2 additions & 2 deletions tests/test_tecmp_decoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ TEST_F(TecmpDecoderFixture, DecodeEthernetPayload)
ASSERT_FALSE(packets.empty());
ASSERT_EQ(packets.size(), 1u);

ASSERT_EQ(packets[0]->getInterfaceId(), 123);
ASSERT_EQ(packets[0]->getDeviceId(), 123);
ASSERT_EQ(packets[0]->getInterfaceId(), static_cast<uint32_t>(123));
ASSERT_EQ(packets[0]->getDeviceId(), static_cast<uint16_t>(123));
ASSERT_EQ(packets[0]->getTimestamp(), 0x0000006114b53de0u);

auto payload = packets[0]->getPayload();
Expand Down
Loading