DCCL v5
Loading...
Searching...
No Matches
test_dccl.TestDecodeWithFullNameNormalMsg Class Reference
Inheritance diagram for test_dccl.TestDecodeWithFullNameNormalMsg:

Public Member Functions

 setUp (self)
 
 test_decode_with_full_name_round_trip (self)
 
 test_decode_with_full_name_matches_decode (self)
 
 test_decode_with_full_name_unloaded_type_raises (self)
 
 test_decode_with_full_name_mismatched_type_raises (self)
 

Public Attributes

 codec
 

Protected Member Functions

 _make_msg (self, d=7.5, i=10)
 

Detailed Description

Tests for decode_with_full_name on a message that carries a DCCL ID.

Definition at line 126 of file test_dccl.py.

Member Function Documentation

◆ _make_msg()

test_dccl.TestDecodeWithFullNameNormalMsg._make_msg (   self,
  d = 7.5,
  i = 10 
)
protected

Definition at line 132 of file test_dccl.py.

◆ setUp()

test_dccl.TestDecodeWithFullNameNormalMsg.setUp (   self)

Definition at line 129 of file test_dccl.py.

◆ test_decode_with_full_name_matches_decode()

test_dccl.TestDecodeWithFullNameNormalMsg.test_decode_with_full_name_matches_decode (   self)

Definition at line 147 of file test_dccl.py.

◆ test_decode_with_full_name_mismatched_type_raises()

test_dccl.TestDecodeWithFullNameNormalMsg.test_decode_with_full_name_mismatched_type_raises (   self)
Encoding NormalMsg (ID=201) then requesting decode as AnotherMsg
(ID=202) should raise because the embedded ID does not match.

Definition at line 163 of file test_dccl.py.

◆ test_decode_with_full_name_round_trip()

test_dccl.TestDecodeWithFullNameNormalMsg.test_decode_with_full_name_round_trip (   self)

Definition at line 138 of file test_dccl.py.

◆ test_decode_with_full_name_unloaded_type_raises()

test_dccl.TestDecodeWithFullNameNormalMsg.test_decode_with_full_name_unloaded_type_raises (   self)

Definition at line 157 of file test_dccl.py.

Member Data Documentation

◆ codec

test_dccl.TestDecodeWithFullNameNormalMsg.codec

Definition at line 130 of file test_dccl.py.


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