CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
test_datamessage.Conformance Class Reference
Inheritance diagram for test_datamessage.Conformance:
[legend]
Collaboration diagram for test_datamessage.Conformance:
[legend]

Public Member Functions

 test_header_layout_matches_the_cpp_struct (self)
 test_decodes_every_cpp_fixture (self)
 test_reencodes_compact_fixtures_byte_for_byte (self)
 test_shrunk_and_deleted_slots_decode_and_compact (self)
 test_builds_the_audio_frame_exactly_as_cpp_does (self)
 test_builds_header_fields_exactly_as_cpp_does (self)
 test_round_trips_every_kind (self)
 test_rejects_garbage (self)
 test_packed_fixtures_match_cpp_both_ways (self)
 test_packed_round_trips_every_kind (self)
 test_packed_rejects_truncation_and_trailing_bytes (self)
 test_dict_style_and_cmsdk3_names (self)
 test_matches_the_cpp_binding_when_present (self)

Detailed Description

Definition at line 26 of file test_datamessage.py.

Member Function Documentation

◆ test_builds_header_fields_exactly_as_cpp_does()

test_datamessage.Conformance.test_builds_header_fields_exactly_as_cpp_does ( self)

Definition at line 100 of file test_datamessage.py.

References test_datamessage.fixture().

◆ test_builds_the_audio_frame_exactly_as_cpp_does()

test_datamessage.Conformance.test_builds_the_audio_frame_exactly_as_cpp_does ( self)

Definition at line 92 of file test_datamessage.py.

References test_datamessage.fixture().

◆ test_decodes_every_cpp_fixture()

test_datamessage.Conformance.test_decodes_every_cpp_fixture ( self)

Definition at line 41 of file test_datamessage.py.

References cmlabs::LLMConnection.fail(), and test_datamessage.fixture().

◆ test_dict_style_and_cmsdk3_names()

test_datamessage.Conformance.test_dict_style_and_cmsdk3_names ( self)

Definition at line 176 of file test_datamessage.py.

◆ test_header_layout_matches_the_cpp_struct()

test_datamessage.Conformance.test_header_layout_matches_the_cpp_struct ( self)

Definition at line 27 of file test_datamessage.py.

◆ test_matches_the_cpp_binding_when_present()

test_datamessage.Conformance.test_matches_the_cpp_binding_when_present ( self)
Cross-check with the SWIG binding (cmsdk3) when it can be imported: same bytes both ways.

Definition at line 186 of file test_datamessage.py.

References cmsdk3.DataMessage.fromBytes().

◆ test_packed_fixtures_match_cpp_both_ways()

test_datamessage.Conformance.test_packed_fixtures_match_cpp_both_ways ( self)

Definition at line 133 of file test_datamessage.py.

References test_datamessage.fixture().

◆ test_packed_rejects_truncation_and_trailing_bytes()

test_datamessage.Conformance.test_packed_rejects_truncation_and_trailing_bytes ( self)

Definition at line 163 of file test_datamessage.py.

References test_datamessage.fixture().

◆ test_packed_round_trips_every_kind()

test_datamessage.Conformance.test_packed_round_trips_every_kind ( self)

Definition at line 145 of file test_datamessage.py.

◆ test_reencodes_compact_fixtures_byte_for_byte()

test_datamessage.Conformance.test_reencodes_compact_fixtures_byte_for_byte ( self)

Definition at line 77 of file test_datamessage.py.

References test_datamessage.fixture().

◆ test_rejects_garbage()

test_datamessage.Conformance.test_rejects_garbage ( self)

Definition at line 124 of file test_datamessage.py.

References test_datamessage.fixture().

◆ test_round_trips_every_kind()

test_datamessage.Conformance.test_round_trips_every_kind ( self)

Definition at line 112 of file test_datamessage.py.

◆ test_shrunk_and_deleted_slots_decode_and_compact()

test_datamessage.Conformance.test_shrunk_and_deleted_slots_decode_and_compact ( self)

Definition at line 83 of file test_datamessage.py.

References test_datamessage.fixture().


The documentation for this class was generated from the following file: