LEFT | RIGHT |
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. |
(...skipping 14 matching lines...) Expand all Loading... |
25 #include "ns3/node.h" | 25 #include "ns3/node.h" |
26 #include "ns3/node-container.h" | 26 #include "ns3/node-container.h" |
27 #include "ns3/packet.h" | 27 #include "ns3/packet.h" |
28 #include "ns3/pointer.h" | 28 #include "ns3/pointer.h" |
29 #include "ns3/simulator.h" | 29 #include "ns3/simulator.h" |
30 #include "ns3/string.h" | 30 #include "ns3/string.h" |
31 #include "ns3/test.h" | 31 #include "ns3/test.h" |
32 #include "ns3/uinteger.h" | 32 #include "ns3/uinteger.h" |
33 #include "ns3/simple-net-device.h" | 33 #include "ns3/simple-net-device.h" |
34 #include "ns3/simple-channel.h" | 34 #include "ns3/simple-channel.h" |
35 #include "ns3/simple-netdevice-helper.h" | 35 #include "ns3/simple-net-device-helper.h" |
36 #include "ns3/socket-factory.h" | 36 #include "ns3/socket-factory.h" |
37 #include "ns3/udp-socket-factory.h" | 37 #include "ns3/udp-socket-factory.h" |
38 | 38 |
39 using namespace ns3; | 39 using namespace ns3; |
40 | 40 |
41 class Ipv4StaticRoutingSlash32TestCase : public TestCase | 41 class Ipv4StaticRoutingSlash32TestCase : public TestCase |
42 { | 42 { |
43 public: | 43 public: |
44 Ipv4StaticRoutingSlash32TestCase (); | 44 Ipv4StaticRoutingSlash32TestCase (); |
45 virtual ~Ipv4StaticRoutingSlash32TestCase (); | 45 virtual ~Ipv4StaticRoutingSlash32TestCase (); |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 }; | 186 }; |
187 | 187 |
188 Ipv4StaticRoutingTestSuite::Ipv4StaticRoutingTestSuite () | 188 Ipv4StaticRoutingTestSuite::Ipv4StaticRoutingTestSuite () |
189 : TestSuite ("ipv4-static-routing", UNIT) | 189 : TestSuite ("ipv4-static-routing", UNIT) |
190 { | 190 { |
191 AddTestCase (new Ipv4StaticRoutingSlash32TestCase, TestCase::QUICK); | 191 AddTestCase (new Ipv4StaticRoutingSlash32TestCase, TestCase::QUICK); |
192 } | 192 } |
193 | 193 |
194 // Do not forget to allocate an instance of this TestSuite | 194 // Do not forget to allocate an instance of this TestSuite |
195 static Ipv4StaticRoutingTestSuite ipv4StaticRoutingTestSuite; | 195 static Ipv4StaticRoutingTestSuite ipv4StaticRoutingTestSuite; |
LEFT | RIGHT |