A Discrete-Event Network Simulator
API
lte-test-rlc-um-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_UM_TRANSMITTER_H
22 #define LTE_TEST_RLC_UM_TRANSMITTER_H
23 
24 #include "ns3/test.h"
25 
26 namespace ns3 {
27 
28 class LteTestRrc;
29 class LteTestMac;
30 class LteTestPdcp;
31 
32 }
33 
34 using namespace ns3;
35 
43 {
44  public:
46 };
47 
57 {
58  public:
64  LteRlcUmTransmitterTestCase (std::string name);
66  virtual ~LteRlcUmTransmitterTestCase ();
67 
74  void CheckDataReceived (Time time, std::string shouldReceived, std::string assertMsg);
75 
76  protected:
77  virtual void DoRun (void);
78 
82 
83  private:
89  void DoCheckDataReceived (std::string shouldReceived, std::string assertMsg);
90 
91 };
92 
100 {
101  public:
107  LteRlcUmTransmitterOneSduTestCase (std::string name);
110 
111  private:
112  virtual void DoRun (void);
113 
114 };
115 
123 {
124  public:
130  LteRlcUmTransmitterSegmentationTestCase (std::string name);
133 
134  private:
135  virtual void DoRun (void);
136 
137 };
138 
146 {
147  public:
153  LteRlcUmTransmitterConcatenationTestCase (std::string name);
156 
157  private:
158  virtual void DoRun (void);
159 
160 };
161 
169 {
170  public:
179 
180  private:
181  virtual void DoRun (void);
182 
183 };
184 
185 #endif /* LTE_TEST_RLC_UM_TRANSMITTER_H */
Test 4.1.1.4 Report Buffer Status (test primitive parameters)
Simulation virtual time values and global simulation resolution.
Definition: nstime.h:102
Test case used by LteRlcUmTransmitterOneSduTestCase to create topology and to implement functionaliti...
A suite of tests to run.
Definition: test.h:1342
Test 4.1.1.2 Segmentation (One SDU => n PDUs)
encapsulates test code
Definition: test.h:1155
Test 4.1.1.3 Concatenation (n SDUs => One PDU)
Every class exported by the ns3 library is enclosed in the ns3 namespace.
This class implements a testing PDCP entity.
Ptr< LteTestPdcp > txPdcp
the transmit PDCP
TestSuite 4.1.1 for RLC UM: Only transmitter part.
This class implements a testing loopback MAC layer.
This class implements a testing RRC entity.