A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
40 {
41  public:
43 };
44 
46 {
47  public:
48  LteRlcUmTransmitterTestCase (std::string name);
50  virtual ~LteRlcUmTransmitterTestCase ();
51 
52  void CheckDataReceived (Time time, std::string shouldReceived, std::string assertMsg);
53 
54  protected:
55  virtual void DoRun (void);
56 
60 
61  private:
62  void DoCheckDataReceived (std::string shouldReceived, std::string assertMsg);
63 
64 };
65 
70 {
71  public:
72  LteRlcUmTransmitterOneSduTestCase (std::string name);
75 
76  private:
77  virtual void DoRun (void);
78 
79 };
80 
85 {
86  public:
87  LteRlcUmTransmitterSegmentationTestCase (std::string name);
90 
91  private:
92  virtual void DoRun (void);
93 
94 };
95 
100 {
101  public:
102  LteRlcUmTransmitterConcatenationTestCase (std::string name);
105 
106  private:
107  virtual void DoRun (void);
108 
109 };
110 
115 {
116  public:
120 
121  private:
122  virtual void DoRun (void);
123 
124 };
125 
126 #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:79
A suite of tests to run.
Definition: test.h:1105
Test 4.1.1.2 Segmentation (One SDU => n PDUs)
encapsulates test code
Definition: test.h:929
Test 4.1.1.3 Concatenation (n SDUs => One PDU)
This class implements a testing PDCP entity.
TestSuite 4.1.1 RLC UM: Only transmitter.
This class implements a testing loopback MAC layer.
This class implements a testing RRC entity.