CARLA
Loading...
Searching...
No Matches
Functions
test_v2x_serialization.cpp File Reference
#include "test.h"
#include <carla/Buffer.h>
#include <carla/MsgPack.h>
#include <carla/rpc/CustomV2XBytes.h>
#include <carla/sensor/data/V2XData.h>
#include <carla/sensor/s11n/V2XSerializer.h>
#include <cstring>
#include <type_traits>

Go to the source code of this file.

Functions

 TEST (CAMDataContainer, write_message_counts_and_reset_clears)
 
 TEST (CAMDataSerializer, serialize_copies_messages_byte_for_byte)
 
 TEST (CAMDataSerializer, serialize_preserves_inline_path_delta_time)
 
 TEST (CustomV2XBytes, default_construction_is_empty_with_hundred_byte_cap)
 
 TEST (CustomV2XBytes, msgpack_roundtrip_preserves_full_capacity_payload)
 
 TEST (CustomV2XBytes, msgpack_roundtrip_preserves_payload)
 
 TEST (CustomV2XDataContainer, write_message_counts_and_reset_clears)
 
 TEST (CustomV2XDataSerializer, serialize_preserves_binary_payload)
 
 TEST (PathPoint, delta_time_is_an_inline_value_not_a_pointer)
 

Function Documentation

◆ TEST() [1/9]

TEST ( CAMDataContainer  ,
write_message_counts_and_reset_clears   
)

◆ TEST() [2/9]

TEST ( CAMDataSerializer  ,
serialize_copies_messages_byte_for_byte   
)

◆ TEST() [3/9]

TEST ( CAMDataSerializer  ,
serialize_preserves_inline_path_delta_time   
)

◆ TEST() [4/9]

TEST ( CustomV2XBytes  ,
default_construction_is_empty_with_hundred_byte_cap   
)

Definition at line 27 of file test_v2x_serialization.cpp.

◆ TEST() [5/9]

TEST ( CustomV2XBytes  ,
msgpack_roundtrip_preserves_full_capacity_payload   
)

◆ TEST() [6/9]

TEST ( CustomV2XBytes  ,
msgpack_roundtrip_preserves_payload   
)

◆ TEST() [7/9]

TEST ( CustomV2XDataContainer  ,
write_message_counts_and_reset_clears   
)

◆ TEST() [8/9]

TEST ( CustomV2XDataSerializer  ,
serialize_preserves_binary_payload   
)

◆ TEST() [9/9]

TEST ( PathPoint  ,
delta_time_is_an_inline_value_not_a_pointer   
)

Definition at line 128 of file test_v2x_serialization.cpp.

References ITSContainer::PathPoint::pathDeltaTime, and point.