'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 59 of file satellite-ncr-test.cc.
| SatNcrTest1::SatNcrTest1 | ( | ) |
Definition at line 77 of file satellite-ncr-test.cc.
|
virtual |
Definition at line 85 of file satellite-ncr-test.cc.
|
privatevirtual |
Definition at line 93 of file satellite-ncr-test.cc.
References GetData(), ns3::SatEnvVariables::GetInstance(), ns3::SatPhyRxCarrierConf::IF_PER_PACKET, m_helper, m_states, m_totalReceived, m_totalSent, ns3::SatPhyRxCarrierConf::RA_COLLISION_CHECK_AGAINST_SINR, ns3::SatEnums::RA_MODEL_SLOTTED_ALOHA, ns3::SatHelper::SIMPLE, ns3::SatSuperframeConf::SUPER_FRAME_CONFIG_0, and ns3::SatUtMacState::TDMA_SYNC.
|
private |
Definition at line 211 of file satellite-ncr-test.cc.
References GetData(), m_states, m_totalReceived, and m_totalSent.
Referenced by DoRun(), and GetData().
|
private |
Definition at line 69 of file satellite-ncr-test.cc.
Referenced by DoRun().
|
private |
Definition at line 73 of file satellite-ncr-test.cc.
|
private |
Definition at line 72 of file satellite-ncr-test.cc.
|
private |
Definition at line 71 of file satellite-ncr-test.cc.