A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
lte-test-rlc-am-transmitter.h
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);
47  virtual ~LteRlcAmTransmitterTestCase ();
48 
49  void CheckDataReceived (Time time, std::string shouldReceived, std::string assertMsg);
50 
51  protected:
52  virtual void DoRun (void);
53 
54  Ptr<LteTestPdcp> txPdcp;
55  Ptr<LteRlc> txRlc;
56  Ptr<LteTestMac> txMac;
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
keep track of time unit.
Definition: nstime.h:149
smart pointer class similar to boost::intrusive_ptr
Definition: ptr.h:59
A suite of tests to run.
Definition: test.h:962
encapsulates test code
Definition: test.h:834
virtual void DoRun(void)
Implementation to actually run this test case.
virtual void DoRun(void)
Implementation to actually run this test case.
virtual void DoRun(void)
Implementation to actually run this test case.
virtual void DoRun(void)
Implementation to actually run this test case.
virtual void DoRun(void)
Implementation to actually run this test case.