OLD | NEW |
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * This program is free software; you can redistribute it and/or modify | 3 * This program is free software; you can redistribute it and/or modify |
4 * it under the terms of the GNU General Public License version 2 as | 4 * it under the terms of the GNU General Public License version 2 as |
5 * published by the Free Software Foundation; | 5 * published by the Free Software Foundation; |
6 * | 6 * |
7 * This program is distributed in the hope that it will be useful, | 7 * This program is distributed in the hope that it will be useful, |
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 8 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
10 * GNU General Public License for more details. | 10 * GNU General Public License for more details. |
11 * | 11 * |
12 * You should have received a copy of the GNU General Public License | 12 * You should have received a copy of the GNU General Public License |
13 * along with this program; if not, write to the Free Software | 13 * along with this program; if not, write to the Free Software |
14 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 14 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
15 * | 15 * |
16 * Author: Junling Bu <linlinjavaer@gmail.com> | 16 * Author: Junling Bu <linlinjavaer@gmail.com> |
17 */ | 17 */ |
18 #include <cmath> | 18 #include <cmath> |
19 #include "ns3/test.h" | 19 #include "ns3/test.h" |
20 #include "ns3/config.h" | 20 #include "ns3/config.h" |
21 #include "ns3/string.h" | 21 #include "ns3/string.h" |
22 #include "ns3/node-list.h" | 22 #include "ns3/node-list.h" |
23 #include "ns3/mobility-model.h" | 23 #include "ns3/mobility-model.h" |
24 #include "ns3/yans-wifi-helper.h" | 24 #include "ns3/yans-wifi-helper.h" |
25 #include "ns3/mobility-helper.h" | 25 #include "ns3/mobility-helper.h" |
26 #include "ns3/wave-net-device.h" | 26 #include "ns3/wave-net-device.h" |
27 #include "ns3/wave-mac-helper.h" | 27 #include "ns3/wave-mac-helper.h" |
28 #include "ns3/wave-helper.h" | 28 #include "ns3/wave-helper.h" |
| 29 #include "ns3/yans-wifi-channel.h" |
29 | 30 |
30 using namespace ns3; | 31 using namespace ns3; |
31 | 32 |
32 /** | 33 /** |
33 * \ingroup wave | 34 * \ingroup wave |
34 * \defgroup wave-test wave module tests | 35 * \defgroup wave-test wave module tests |
35 */ | 36 */ |
36 | 37 |
37 | 38 |
38 /** | 39 /** |
(...skipping 1159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1198 { | 1199 { |
1199 // TestDuration for TestCase can be QUICK, EXTENSIVE or TAKES_FOREVER | 1200 // TestDuration for TestCase can be QUICK, EXTENSIVE or TAKES_FOREVER |
1200 AddTestCase (new ChannelCoordinationTestCase, TestCase::QUICK); | 1201 AddTestCase (new ChannelCoordinationTestCase, TestCase::QUICK); |
1201 AddTestCase (new ChannelRoutingTestCase, TestCase::QUICK); | 1202 AddTestCase (new ChannelRoutingTestCase, TestCase::QUICK); |
1202 AddTestCase (new ChannelAccessTestCase, TestCase::QUICK); | 1203 AddTestCase (new ChannelAccessTestCase, TestCase::QUICK); |
1203 AddTestCase (new AnnexC_TestCase, TestCase::QUICK); | 1204 AddTestCase (new AnnexC_TestCase, TestCase::QUICK); |
1204 } | 1205 } |
1205 | 1206 |
1206 // Do not forget to allocate an instance of this TestSuite | 1207 // Do not forget to allocate an instance of this TestSuite |
1207 static WaveMacTestSuite waveMacTestSuite; ///< the test suite | 1208 static WaveMacTestSuite waveMacTestSuite; ///< the test suite |
OLD | NEW |