'NCR, test 1' test case implementation. More...
Public Member Functions | |
SatNcrTest1 () | |
virtual | ~SatNcrTest1 () |
Private Member Functions | |
virtual void | DoRun (void) |
void | GetData (Ptr< CbrApplication > sender, Ptr< PacketSink > receiver) |
Private Attributes | |
Ptr< SatHelper > | m_helper |
std::vector< SatUtMacState::RcstState_t > | m_states |
std::vector< int > | m_totalReceived |
std::vector< int > | m_totalSent |
'NCR, test 1' test case implementation.
This case tests logon mechanism, and that no data is sent by UT before entering TDMA_SYNC state.
Expected result: GW receives nothing before logon GW always receives data after logon At the end, GW receives all data sent by UT
Definition at line 57 of file satellite-ncr-test.cc.
SatNcrTest1::SatNcrTest1 | ( | ) |
Definition at line 75 of file satellite-ncr-test.cc.
|
virtual |
Definition at line 83 of file satellite-ncr-test.cc.
|
privatevirtual |
Definition at line 91 of file satellite-ncr-test.cc.
References GetData(), m_helper, m_states, m_totalReceived, and m_totalSent.
|
private |
Definition at line 208 of file satellite-ncr-test.cc.
References m_helper, m_states, m_totalReceived, and m_totalSent.
Referenced by DoRun().
|
private |
Definition at line 67 of file satellite-ncr-test.cc.
|
private |
Definition at line 71 of file satellite-ncr-test.cc.
|
private |
Definition at line 70 of file satellite-ncr-test.cc.
|
private |
Definition at line 69 of file satellite-ncr-test.cc.