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 
41 {
42  public:
44 };
45 
47 {
48  public:
49  LteRlcAmTransmitterTestCase (std::string name);
51  virtual ~LteRlcAmTransmitterTestCase ();
52 
53  void CheckDataReceived (Time time, std::string shouldReceived, std::string assertMsg);
54 
55  protected:
56  virtual void DoRun (void);
57 
61 
62  private:
63  void DoCheckDataReceived (std::string shouldReceived, std::string assertMsg);
64 
65 };
66 
71 {
72  public:
73  LteRlcAmTransmitterOneSduTestCase (std::string name);
76 
77  private:
78  virtual void DoRun (void);
79 
80 };
81 
86 {
87  public:
88  LteRlcAmTransmitterSegmentationTestCase (std::string name);
91 
92  private:
93  virtual void DoRun (void);
94 
95 };
96 
101 {
102  public:
103  LteRlcAmTransmitterConcatenationTestCase (std::string name);
106 
107  private:
108  virtual void DoRun (void);
109 
110 };
111 
116 {
117  public:
121 
122  private:
123  virtual void DoRun (void);
124 
125 };
126 
127 #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:1333
encapsulates test code
Definition: test.h:1147
Test 4.1.1.4 Report Buffer Status (test primitive parameters)
Test 4.1.1.2 Segmentation (One SDU => n PDUs)
Test 4.1.1.3 Concatenation (n SDUs => One PDU)
Every class exported by the ns3 library is enclosed in the ns3 namespace.
TestSuite 4.1.1 RLC AM: Only transmitter.
This class implements a testing PDCP entity.
This class implements a testing loopback MAC layer.
This class implements a testing RRC entity.