|
Open Model Railroad Network (OpenMRN)
|
Protected Attributes | |
| BufferPtr< StreamReceiveRequest > | recvRequest_ |
| CollectData | sink_ |
Protected Attributes inherited from openlcb::TwoNodeDatagramTest | |
| std::unique_ptr< DefaultNode > | otherNode_ |
| std::unique_ptr< IfCan > | otherIfCan_ |
| IfCan * | otherNodeIf_ |
| std::unique_ptr< CanDatagramService > | otherDatagramSupport_ |
| CanDatagramService * | otherNodeDatagram_ |
Protected Attributes inherited from openlcb::AsyncDatagramTest | |
| CanDatagramService | datagram_support_ |
Protected Attributes inherited from openlcb::AsyncNodeTest | |
| EventService | eventService_ |
| std::unique_ptr< DefaultNode > | ownedNode_ |
| Node * | node_ |
Protected Attributes inherited from openlcb::AsyncIfTest | |
| SyncNotifiable | n_ |
| BarrierNotifiable | bn_ |
| std::unique_ptr< IfCan > | ifCan_ |
| The interface under test. | |
| AliasInfo | testAlias_ |
| Temporary object used to send aliases around in the alias allocator flow. | |
| NodeAlias | aliasSeed_ |
| The next alias we will make the allocator create. | |
| bool | pendingAliasAllocation_ |
| true if we have a pending async alias allocation task. | |
Protected Attributes inherited from AsyncCanTest | |
| NiceMock< MockSend > | canBus_ |
| Helper object for setting expectations on the packets sent on the bus. | |
| std::unique_ptr< HubPort > | printer_ |
| Object for debug-printing every packet (if requested). | |
Additional Inherited Members | |
Static Public Member Functions inherited from AsyncCanTest | |
| static void | SetUpTestCase () |
| Initializes test case with CAN0. | |
| static void | TearDownTestCase () |
| De-Initializes test case with CAN0. | |
Protected Types inherited from openlcb::TwoNodeDatagramTest | |
| enum | { OTHER_NODE_ID = TEST_NODE_ID + 0x100 , OTHER_NODE_ALIAS = 0x225 } |
Protected Member Functions inherited from openlcb::TwoNodeDatagramTest | |
| NodeHandle | other_handle () |
| void | setup_other_node (bool separate_if) |
| void | expect_other_node_lookup () |
| Adds the necessary expectations for the address lookup reuqests on the CANbus by the first datagram being sent from node_ to otherNode_. | |
Protected Member Functions inherited from openlcb::AsyncNodeTest | |
| void | wait_for_event_thread () |
Protected Member Functions inherited from openlcb::AsyncIfTest | |
| void | create_allocated_alias () |
| Creates an alias allocator flow, and injects an already allocated alias. | |
| void | inject_allocated_alias (NodeAlias alias) |
| void | expect_next_alias_allocation (NodeAlias a=0) |
| BarrierNotifiable * | get_notifiable () |
| void | wait_for_notification () |
Protected Member Functions inherited from AsyncCanTest | |
| void | wait () |
| Delays the current thread until we are certain that all asynchrnous processing has completed. | |
| void | twait () |
| Delays the current thread until all asynchronous processing and all pending timers have completed. | |
| void | expect_any_packet () |
| Ignores all produced packets. | |
| void | print_all_packets () |
| Prints all packets sent to the canbus until the end of the current test function. | |
| void | send_packet (const string &gc_packet) |
| Injects a packet to the interface. | |
| void | clear_expect (bool strict=false) |
| Clears all existing expectations on the CAN-bus packets. | |
| void | send_packet_and_flush_expect (const string &pkt) |
| Sends a packet to the canbus, waits for the executor to clear, and then verifies all previous expectations. | |
Static Protected Attributes inherited from openlcb::AsyncIfTest | |
| static int | local_alias_cache_size = 10 |
| static int | local_node_count = 9 |
| static int | remote_alias_cache_size = 10 |
Definition at line 55 of file async_stream_test_helper.hxx.
|
inlineprotected |
Definition at line 58 of file async_stream_test_helper.hxx.
|
protected |
Definition at line 63 of file async_stream_test_helper.hxx.
|
protected |
Definition at line 64 of file async_stream_test_helper.hxx.