A Discrete-Event Network Simulator
API
lte-test-rlc-am-transmitter.h
Go to the documentation of this file.
1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
2 /*
3  * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2 as
7  * published by the Free Software Foundation;
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17  *
18  * Author: Manuel Requena <manuel.requena@cttc.es>
19  */
20 
21 #ifndef LTE_TEST_RLC_AM_TRANSMITTER_H
22 #define LTE_TEST_RLC_AM_TRANSMITTER_H
23 
24 #include "ns3/test.h"
25 
26 
27 namespace ns3 {
28 
29 class LteTestRrc;
30 class LteTestMac;
31 class LteTestPdcp;
32 
33 }
34 
35 using namespace ns3;
36 
44 {
45  public:
47 };
48 
58 {
59  public:
65  LteRlcAmTransmitterTestCase (std::string name);
67  virtual ~LteRlcAmTransmitterTestCase ();
68 
75  void CheckDataReceived (Time time, std::string shouldReceived, std::string assertMsg);
76 
77  protected:
78  virtual void DoRun (void);
79 
83 
84  private:
90  void DoCheckDataReceived (std::string shouldReceived, std::string assertMsg);
91 
92 };
93 
102 {
103  public:
109  LteRlcAmTransmitterOneSduTestCase (std::string name);
112 
113  private:
114  virtual void DoRun (void);
115 
116 };
117 
126 {
127  public:
133  LteRlcAmTransmitterSegmentationTestCase (std::string name);
136 
137  private:
138  virtual void DoRun (void);
139 
140 };
141 
150 {
151  public:
157  LteRlcAmTransmitterConcatenationTestCase (std::string name);
160 
161  private:
162  virtual void DoRun (void);
163 
164 };
165 
174 {
175  public:
184 
185  private:
186  virtual void DoRun (void);
187 
188 };
189 
190 #endif // LTE_TEST_RLC_AM_TRANSMITTER_H
Simulation virtual time values and global simulation resolution.
Definition: nstime.h:102
A suite of tests to run.
Definition: test.h:1342
encapsulates test code
Definition: test.h:1155
Test 4.1.1.4 Test checks functionality of Report Buffer Status by testing primitive parameters...
Test case used by LteRlcAmTransmitterOneSduTestCase to create topology and to implement functionaliti...
Test 4.1.1.2 Test the correct functionality of the Segmentation.
Ptr< LteTestPdcp > txPdcp
the transmit PDCP
Test 4.1.1.1 Test that SDU transmitted at PDCP corresponds to PDU received by MAC.
Test 4.1.1.3 Test that concatenation functionality works properly.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
TestSuite 4.1.1 RLC AM: Only transmitter functionality.
This class implements a testing PDCP entity.
This class implements a testing loopback MAC layer.
This class implements a testing RRC entity.