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 
27 namespace ns3 {
28 
29 class LteTestRrc;
30 class LteTestMac;
31 class LteTestPdcp;
32 
37 {
38  public:
40 };
41 
43 {
44  public:
45  LteRlcUmTransmitterTestCase (std::string name);
48 
49  void CheckDataReceived (Time time, std::string shouldReceived, std::string assertMsg);
50 
51  protected:
52  virtual void DoRun (void);
53 
57 
58  private:
59  void DoCheckDataReceived (std::string shouldReceived, std::string assertMsg);
60 
61 };
62 
67 {
68  public:
69  LteRlcUmTransmitterOneSduTestCase (std::string name);
72 
73  private:
74  virtual void DoRun (void);
75 
76 };
77 
82 {
83  public:
84  LteRlcUmTransmitterSegmentationTestCase (std::string name);
87 
88  private:
89  virtual void DoRun (void);
90 
91 };
92 
97 {
98  public:
102 
103  private:
104  virtual void DoRun (void);
105 
106 };
107 
112 {
113  public:
117 
118  private:
119  virtual void DoRun (void);
120 
121 };
122 
123 } // namespace ns3
124 
125 #endif /* LTE_TEST_RLC_UM_TRANSMITTER_H */
keep track of time values and allow control of global simulation resolution
Definition: nstime.h:81
smart pointer class similar to boost::intrusive_ptr
Definition: ptr.h:59
A suite of tests to run.
Definition: test.h:1025
virtual void DoRun(void)
Implementation to actually run this TestCase.
virtual void DoRun(void)
Implementation to actually run this TestCase.
LteRlcUmTransmitterTestSuite()
TestSuite 4.1.1 RLC UM: Only transmitter.
encapsulates test code
Definition: test.h:849
Test 4.1.1.4 Report Buffer Status (test primitive parameters)
void CheckDataReceived(Time time, std::string shouldReceived, std::string assertMsg)
TestSuite 4.1.1 RLC UM: Only transmitter.
Test 4.1.1.3 Concatenation (n SDUs => One PDU)
virtual void DoRun(void)
Implementation to actually run this TestCase.
virtual void DoRun(void)
Implementation to actually run this TestCase.
Test 4.1.1.2 Segmentation (One SDU => n PDUs)
void DoCheckDataReceived(std::string shouldReceived, std::string assertMsg)
virtual void DoRun(void)
Implementation to actually run this TestCase.