A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
37 {
38  public:
40 };
41 
43 {
44  public:
45  LteRlcAmTransmitterTestCase (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  LteRlcAmTransmitterOneSduTestCase (std::string name);
72 
73  private:
74  virtual void DoRun (void);
75 
76 };
77 
82 {
83  public:
84  LteRlcAmTransmitterSegmentationTestCase (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_AM_TRANSMITTER_H
Test 4.1.1.2 Segmentation (One SDU => n PDUs)
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
void CheckDataReceived(Time time, std::string shouldReceived, std::string assertMsg)
A suite of tests to run.
Definition: test.h:1025
encapsulates test code
Definition: test.h:849
Test 4.1.1.4 Report Buffer Status (test primitive parameters)
TestSuite 4.1.1 RLC AM: Only transmitter.
virtual void DoRun(void)
Implementation to actually run this TestCase.
virtual void DoRun(void)
Implementation to actually run this TestCase.
virtual void DoRun(void)
Implementation to actually run this TestCase.
void DoCheckDataReceived(std::string shouldReceived, std::string assertMsg)
virtual void DoRun(void)
Implementation to actually run this TestCase.
LteRlcAmTransmitterTestSuite()
TestSuite 4.1.1 RLC AM: Only transmitter.
Test 4.1.1.3 Concatenation (n SDUs => One PDU)
virtual void DoRun(void)
Implementation to actually run this TestCase.