A Discrete-Event Network Simulator
API
lte-test-rlc-um-transmitter.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation;
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 *
17 * Author: Manuel Requena <manuel.requena@cttc.es>
18 */
19
20#ifndef LTE_TEST_RLC_UM_TRANSMITTER_H
21#define LTE_TEST_RLC_UM_TRANSMITTER_H
22
23#include "ns3/nstime.h"
24#include "ns3/ptr.h"
25#include "ns3/test.h"
26
27namespace ns3
28{
29
30class LteTestRrc;
31class LteTestMac;
32class LteTestPdcp;
33class LteRlc;
34
35} // namespace ns3
36
37using namespace ns3;
38
46{
47 public:
49};
50
60{
61 public:
67 LteRlcUmTransmitterTestCase(std::string name);
70
77 void CheckDataReceived(Time time, std::string shouldReceived, std::string assertMsg);
78
79 protected:
80 void DoRun() override;
81
85
86 private:
92 void DoCheckDataReceived(std::string shouldReceived, std::string assertMsg);
93};
94
102{
103 public:
109 LteRlcUmTransmitterOneSduTestCase(std::string name);
112
113 private:
114 void DoRun() override;
115};
116
124{
125 public:
134
135 private:
136 void DoRun() override;
137};
138
146{
147 public:
156
157 private:
158 void DoRun() override;
159};
160
168{
169 public:
178
179 private:
180 void DoRun() override;
181};
182
183#endif /* LTE_TEST_RLC_UM_TRANSMITTER_H */
Test 4.1.1.3 Concatenation (n SDUs => One PDU)
void DoRun() override
Implementation to actually run this TestCase.
void DoRun() override
Implementation to actually run this TestCase.
Test 4.1.1.4 Report Buffer Status (test primitive parameters)
void DoRun() override
Implementation to actually run this TestCase.
Test 4.1.1.2 Segmentation (One SDU => n PDUs)
void DoRun() override
Implementation to actually run this TestCase.
Test case used by LteRlcUmTransmitterOneSduTestCase to create topology and to implement functionaliti...
void DoRun() override
Implementation to actually run this TestCase.
Ptr< LteTestPdcp > txPdcp
the transmit PDCP
void CheckDataReceived(Time time, std::string shouldReceived, std::string assertMsg)
Check data received function.
void DoCheckDataReceived(std::string shouldReceived, std::string assertMsg)
Check data received function.
TestSuite 4.1.1 for RLC UM: Only transmitter part.
LteRlcUmTransmitterTestSuite()
TestSuite 4.1.1 RLC UM: Only transmitter.
This abstract base class defines the API to interact with the Radio Link Control (LTE_RLC) in LTE,...
Definition: lte-rlc.h:48
This class implements a testing loopback MAC layer.
This class implements a testing PDCP entity.
This class implements a testing RRC entity.
encapsulates test code
Definition: test.h:1060
A suite of tests to run.
Definition: test.h:1256
Simulation virtual time values and global simulation resolution.
Definition: nstime.h:105
Every class exported by the ns3 library is enclosed in the ns3 namespace.