'NCR, test 2' test case implementation. More...
Inheritance diagram for SatNcrTest2:
Collaboration diagram for SatNcrTest2:Public Member Functions | |
| SatNcrTest2 () | |
| virtual | ~SatNcrTest2 () |
Private Member Functions | |
| void | ChangeTxStatus (bool enable) |
| virtual void | DoRun (void) |
| void | GetData (Ptr< CbrApplication > sender, Ptr< PacketSink > receiver) |
Private Attributes | |
| Ptr< SatChannel > | m_channel |
| Ptr< SatHelper > | m_helper |
| std::vector< SatUtMacState::RcstState_t > | m_states |
| std::vector< int > | m_totalReceived |
| std::vector< int > | m_totalSent |
'NCR, test 2' test case implementation.
This case tests ncr recovery mechanism.
Expected result: UT switch to NCR_RECOVERY if NCR reception is stopped UT switch back to READY_FOR_TDMA_SYNC if NCR reception come back before timeout GW receives data only when UT in TDMA_SYNC state
Definition at line 235 of file satellite-ncr-test.cc.
| SatNcrTest2::SatNcrTest2 | ( | ) |
Definition at line 255 of file satellite-ncr-test.cc.
|
virtual |
Definition at line 262 of file satellite-ncr-test.cc.
|
private |
Definition at line 432 of file satellite-ncr-test.cc.
Referenced by DoRun().
Here is the caller graph for this function:
|
privatevirtual |
Definition at line 270 of file satellite-ncr-test.cc.
References ChangeTxStatus(), GetData(), m_helper, m_states, and m_totalReceived.
Here is the call graph for this function:
|
private |
Definition at line 418 of file satellite-ncr-test.cc.
References m_states, m_totalReceived, and m_totalSent.
Referenced by DoRun().
Here is the caller graph for this function:
|
private |
Definition at line 251 of file satellite-ncr-test.cc.
|
private |
Definition at line 246 of file satellite-ncr-test.cc.
Referenced by DoRun().
|
private |
Definition at line 250 of file satellite-ncr-test.cc.
|
private |
Definition at line 249 of file satellite-ncr-test.cc.
|
private |
Definition at line 248 of file satellite-ncr-test.cc.
Referenced by GetData().