src/lte/test/lte-test-rlc-um-e2e.cc
changeset 8822 49d3a0979d43
parent 8749 4462ac63d4cf
child 8823 c49104e07bcb
equal deleted inserted replaced
8816:bdc91be84490 8822:49d3a0979d43
    23 #include "ns3/pointer.h"
    23 #include "ns3/pointer.h"
    24 #include "ns3/log.h"
    24 #include "ns3/log.h"
    25 #include "ns3/packet.h"
    25 #include "ns3/packet.h"
    26 #include "ns3/node-container.h"
    26 #include "ns3/node-container.h"
    27 #include "ns3/net-device-container.h"
    27 #include "ns3/net-device-container.h"
    28 #include "ns3/lte-simple-helper.h"
       
    29 #include "ns3/error-model.h"
    28 #include "ns3/error-model.h"
    30 #include "ns3/radio-bearer-stats-calculator.h"
    29 #include "ns3/radio-bearer-stats-calculator.h"
    31 
       
    32 #include "ns3/lte-rlc-header.h"
    30 #include "ns3/lte-rlc-header.h"
    33 #include "ns3/lte-rlc-um.h"
    31 #include "ns3/lte-rlc-um.h"
    34 
    32 
    35 #include "ns3/lte-test-entities.h"
    33 #include "lte-simple-helper.h"
    36 #include "ns3/lte-test-rlc-um-e2e.h"
    34 #include "lte-test-entities.h"
       
    35 #include "lte-test-rlc-um-e2e.h"
    37 
    36 
    38 
    37 
    39 NS_LOG_COMPONENT_DEFINE ("LteRlcUmE2eTest");
    38 NS_LOG_COMPONENT_DEFINE ("LteRlcUmE2eTest");
    40 
    39 
    41 using namespace ns3;
    40 namespace ns3 {
    42 
    41 
    43 
    42 
    44 /**
    43 /**
    45  * Test x.x.x RLC UM: End-to-end flow
    44  * Test x.x.x RLC UM: End-to-end flow
    46  */
    45  */
   222   NS_TEST_ASSERT_MSG_EQ (txUeRrcPdus, rxEnbRrcPdus + m_ulDrops,
   221   NS_TEST_ASSERT_MSG_EQ (txUeRrcPdus, rxEnbRrcPdus + m_ulDrops,
   223                          "Uplink: TX PDUs (" << txUeRrcPdus << ") != RX PDUs (" << rxEnbRrcPdus << ") + DROPS (" << m_ulDrops << ")");
   222                          "Uplink: TX PDUs (" << txUeRrcPdus << ") != RX PDUs (" << rxEnbRrcPdus << ") + DROPS (" << m_ulDrops << ")");
   224 
   223 
   225   Simulator::Destroy ();
   224   Simulator::Destroy ();
   226 }
   225 }
       
   226 
       
   227 } // namespace ns3
       
   228