A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
36
class
LteRlcUmTransmitterTestSuite
:
public
TestSuite
37
{
38
public
:
39
LteRlcUmTransmitterTestSuite
();
40
};
41
42
class
LteRlcUmTransmitterTestCase
:
public
TestCase
43
{
44
public
:
45
LteRlcUmTransmitterTestCase
(std::string name);
46
LteRlcUmTransmitterTestCase
();
47
virtual
~LteRlcUmTransmitterTestCase
();
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
66
class
LteRlcUmTransmitterOneSduTestCase
:
public
LteRlcUmTransmitterTestCase
67
{
68
public
:
69
LteRlcUmTransmitterOneSduTestCase
(std::string name);
70
LteRlcUmTransmitterOneSduTestCase
();
71
virtual
~LteRlcUmTransmitterOneSduTestCase
();
72
73
private
:
74
virtual
void
DoRun
(
void
);
75
76
};
77
81
class
LteRlcUmTransmitterSegmentationTestCase
:
public
LteRlcUmTransmitterTestCase
82
{
83
public
:
84
LteRlcUmTransmitterSegmentationTestCase
(std::string name);
85
LteRlcUmTransmitterSegmentationTestCase
();
86
virtual
~LteRlcUmTransmitterSegmentationTestCase
();
87
88
private
:
89
virtual
void
DoRun
(
void
);
90
91
};
92
96
class
LteRlcUmTransmitterConcatenationTestCase
:
public
LteRlcUmTransmitterTestCase
97
{
98
public
:
99
LteRlcUmTransmitterConcatenationTestCase
(std::string name);
100
LteRlcUmTransmitterConcatenationTestCase
();
101
virtual
~LteRlcUmTransmitterConcatenationTestCase
();
102
103
private
:
104
virtual
void
DoRun
(
void
);
105
106
};
107
111
class
LteRlcUmTransmitterReportBufferStatusTestCase
:
public
LteRlcUmTransmitterTestCase
112
{
113
public
:
114
LteRlcUmTransmitterReportBufferStatusTestCase
(std::string name);
115
LteRlcUmTransmitterReportBufferStatusTestCase
();
116
virtual
~LteRlcUmTransmitterReportBufferStatusTestCase
();
117
118
private
:
119
virtual
void
DoRun
(
void
);
120
121
};
122
123
}
// namespace ns3
124
125
#endif
/* LTE_TEST_RLC_UM_TRANSMITTER_H */
src
lte
test
lte-test-rlc-um-transmitter.h
Generated on Fri Dec 21 2012 19:00:41 for ns-3 by
1.8.1.2