|
CARLA
|
#include "test.h"#include <carla/Buffer.h>#include <carla/multigpu/commands.h>#include <carla/multigpu/frameDataCodec.h>#include <carla/multigpu/frameTime.h>#include <carla/multigpu/secondaryCommands.h>#include <chrono>#include <cstring>#include <future>#include <memory>#include <optional>#include <sstream>#include <stdexcept>#include <string>#include <thread>#include <vector>Go to the source code of this file.
Functions | |
| TEST (MultiGpuCommands, process_command_delivers_exactly_the_declared_payload) | |
| TEST (MultiGpuCommands, process_command_drops_a_message_shorter_than_its_header) | |
| TEST (MultiGpuCommands, process_command_drops_a_payload_larger_than_the_message) | |
| TEST (MultiGpuCommands, process_command_ignores_trailing_bytes) | |
| TEST (MultiGpuFrameData, bounded_reader_cannot_read_past_its_field) | |
| TEST (MultiGpuFrameData, bounded_reader_rejects_lists_larger_than_the_packet) | |
| TEST (MultiGpuFrameData, bounded_reader_skips_unknown_fields) | |
| TEST (MultiGpuFrameData, bounded_reader_skips_what_a_record_grew) | |
| TEST (MultiGpuFrameData, complete_frame_is_read_in_order) | |
| TEST (MultiGpuFrameData, frame_without_frame_counter_is_incomplete) | |
| TEST (MultiGpuFrameData, longer_known_packet_is_counted_and_skipped) | |
| TEST (MultiGpuFrameData, nested_counts_read_off_the_wire_terminate) | |
| TEST (MultiGpuFrameData, reader_exception_is_reported) | |
| TEST (MultiGpuFrameData, short_frame_counter_is_a_short_packet) | |
| TEST (MultiGpuFrameData, short_known_packet_fails_inside_its_own_packet) | |
| TEST (MultiGpuFrameData, truncated_header_stops_the_read) | |
| TEST (MultiGpuFrameData, truncated_payload_stops_the_read) | |
| TEST (MultiGpuFrameData, unknown_packet_as_the_last_packet_terminates) | |
| TEST (MultiGpuFrameData, unknown_packet_mid_stream_is_skipped) | |
| TEST (MultiGpuFrameTime, legacy_frame_without_frame_time_is_complete) | |
| TEST (MultiGpuFrameTime, longer_is_reported_as_grown) | |
| TEST (MultiGpuFrameTime, round_trips_every_field) | |
| TEST (MultiGpuFrameTime, shorter_than_v1_is_rejected) | |
| TEST (MultiGpuFrameTime, unset_fixed_delta_round_trips) | |
| TEST (MultiGpuFrameTime, v1_layout_is_pinned) | |
| TEST | ( | MultiGpuCommands | , |
| process_command_delivers_exactly_the_declared_payload | |||
| ) |
Definition at line 505 of file test_multigpu_frame_data.cpp.
References carla::multigpu::SEND_FRAME.
| TEST | ( | MultiGpuCommands | , |
| process_command_drops_a_message_shorter_than_its_header | |||
| ) |
Definition at line 512 of file test_multigpu_frame_data.cpp.
| TEST | ( | MultiGpuCommands | , |
| process_command_drops_a_payload_larger_than_the_message | |||
| ) |
Definition at line 516 of file test_multigpu_frame_data.cpp.
References carla::multigpu::LOAD_MAP.
| TEST | ( | MultiGpuCommands | , |
| process_command_ignores_trailing_bytes | |||
| ) |
Definition at line 520 of file test_multigpu_frame_data.cpp.
References carla::multigpu::GET_TOKEN.
| TEST | ( | MultiGpuFrameData | , |
| bounded_reader_cannot_read_past_its_field | |||
| ) |
Definition at line 352 of file test_multigpu_frame_data.cpp.
References carla::multigpu::WriteField().
| TEST | ( | MultiGpuFrameData | , |
| bounded_reader_rejects_lists_larger_than_the_packet | |||
| ) |
Definition at line 283 of file test_multigpu_frame_data.cpp.
| TEST | ( | MultiGpuFrameData | , |
| bounded_reader_skips_unknown_fields | |||
| ) |
Definition at line 328 of file test_multigpu_frame_data.cpp.
References carla::multigpu::WriteField().
| TEST | ( | MultiGpuFrameData | , |
| bounded_reader_skips_what_a_record_grew | |||
| ) |
Definition at line 298 of file test_multigpu_frame_data.cpp.
| TEST | ( | MultiGpuFrameData | , |
| complete_frame_is_read_in_order | |||
| ) |
Definition at line 141 of file test_multigpu_frame_data.cpp.
| TEST | ( | MultiGpuFrameData | , |
| frame_without_frame_counter_is_incomplete | |||
| ) |
Definition at line 178 of file test_multigpu_frame_data.cpp.
| TEST | ( | MultiGpuFrameData | , |
| longer_known_packet_is_counted_and_skipped | |||
| ) |
Definition at line 219 of file test_multigpu_frame_data.cpp.
| TEST | ( | MultiGpuFrameData | , |
| nested_counts_read_off_the_wire_terminate | |||
| ) |
Definition at line 253 of file test_multigpu_frame_data.cpp.
| TEST | ( | MultiGpuFrameData | , |
| reader_exception_is_reported | |||
| ) |
Definition at line 239 of file test_multigpu_frame_data.cpp.
| TEST | ( | MultiGpuFrameData | , |
| short_frame_counter_is_a_short_packet | |||
| ) |
Definition at line 232 of file test_multigpu_frame_data.cpp.
| TEST | ( | MultiGpuFrameData | , |
| short_known_packet_fails_inside_its_own_packet | |||
| ) |
Definition at line 205 of file test_multigpu_frame_data.cpp.
| TEST | ( | MultiGpuFrameData | , |
| truncated_header_stops_the_read | |||
| ) |
Definition at line 187 of file test_multigpu_frame_data.cpp.
| TEST | ( | MultiGpuFrameData | , |
| truncated_payload_stops_the_read | |||
| ) |
Definition at line 195 of file test_multigpu_frame_data.cpp.
| TEST | ( | MultiGpuFrameData | , |
| unknown_packet_as_the_last_packet_terminates | |||
| ) |
Definition at line 169 of file test_multigpu_frame_data.cpp.
| TEST | ( | MultiGpuFrameData | , |
| unknown_packet_mid_stream_is_skipped | |||
| ) |
Definition at line 155 of file test_multigpu_frame_data.cpp.
| TEST | ( | MultiGpuFrameTime | , |
| legacy_frame_without_frame_time_is_complete | |||
| ) |
Definition at line 467 of file test_multigpu_frame_data.cpp.
| TEST | ( | MultiGpuFrameTime | , |
| longer_is_reported_as_grown | |||
| ) |
Definition at line 448 of file test_multigpu_frame_data.cpp.
| TEST | ( | MultiGpuFrameTime | , |
| round_trips_every_field | |||
| ) |
Definition at line 365 of file test_multigpu_frame_data.cpp.
References carla::multigpu::kMultiGpuProtocolVersion.
| TEST | ( | MultiGpuFrameTime | , |
| shorter_than_v1_is_rejected | |||
| ) |
Definition at line 438 of file test_multigpu_frame_data.cpp.
| TEST | ( | MultiGpuFrameTime | , |
| unset_fixed_delta_round_trips | |||
| ) |
Definition at line 399 of file test_multigpu_frame_data.cpp.
| TEST | ( | MultiGpuFrameTime | , |
| v1_layout_is_pinned | |||
| ) |
Definition at line 412 of file test_multigpu_frame_data.cpp.
References carla::multigpu::kFrameDataHeaderSize.