ns3 tests related to generic options More...
Inheritance diagram for test-ns3.NS3CommonSettingsTestCase:
Collaboration diagram for test-ns3.NS3CommonSettingsTestCase:Public Member Functions | |
| setUp (self) | |
| Clean configuration/build artifacts before common commands. | |
| test_01_NoOption (self) | |
| Test not passing any arguments to. | |
| test_02_NoTaskLines (self) | |
| Test only passing –quiet argument to ns3. | |
| test_03_CheckConfig (self) | |
| Test only passing 'show config' argument to ns3. | |
| test_04_CheckProfile (self) | |
| Test only passing 'show profile' argument to ns3. | |
| test_05_CheckVersion (self) | |
| Test only passing 'show version' argument to ns3. | |
ns3 tests related to generic options
Definition at line 602 of file test-ns3.py.
| test-ns3.NS3CommonSettingsTestCase.setUp | ( | self | ) |
Clean configuration/build artifacts before common commands.
Definition at line 607 of file test-ns3.py.
References test-ns3.run_ns3(), and test-ns3.NS3CommonSettingsTestCase.setUp().
Referenced by test-ns3.NS3CommonSettingsTestCase.setUp().
Here is the call graph for this function:
Here is the caller graph for this function:| test-ns3.NS3CommonSettingsTestCase.test_01_NoOption | ( | self | ) |
Test not passing any arguments to.
Definition at line 616 of file test-ns3.py.
References FemtocellBlockAllocator.Create(), ns3::ObjectFactory.Create(), ns3::SpectrumChannelHelper.Create(), ns3::YansWifiChannelHelper.Create(), ns3::AttributeChecker.Create(), ns3::test::RandomVariable::TestCaseBase::RngGeneratorBase.Create(), ns3::EmptyAttributeChecker.Create(), ns3::EnumChecker< T >.Create(), ns3::internal::ObjectPtrContainerChecker< T >.Create(), ns3::internal::PointerChecker< T >.Create(), ns3::internal::TupleChecker< Args >.Create(), ns3::test::RandomVariable::TestCaseBase::RngGenerator< RNG >.Create(), ns3::DsrHelper.Create(), ns3::Ipv4RoutingHelper.Create(), ns3::Ipv6RoutingHelper.Create(), ns3::AodvHelper.Create(), ns3::DsdvHelper.Create(), ns3::Ipv4GlobalRoutingHelper.Create(), ns3::Ipv4ListRoutingHelper.Create(), ns3::Ipv4StaticRoutingHelper.Create(), ns3::Ipv6ListRoutingHelper.Create(), ns3::Ipv6StaticRoutingHelper.Create(), ns3::RipHelper.Create(), ns3::RipNgHelper.Create(), ns3::NixVectorHelper< T >.Create(), ns3::OlsrHelper.Create(), ns3::SpectrumPhyHelper.Create(), ns3::WifiPhyHelper.Create(), ns3::SpectrumWifiPhyHelper.Create(), ns3::YansWifiPhyHelper.Create(), ns3::WifiMacHelper.Create(), ns3::BuildingContainer.Create(), FemtocellBlockAllocator.Create(), ns3::NodeContainer.Create(), ns3::GridBuildingAllocator.Create(), ns3::NodeContainer.Create(), ns3::Buffer.Create(), ns3::PacketMetadata.Create(), and test-ns3.run_ns3().
Here is the call graph for this function:| test-ns3.NS3CommonSettingsTestCase.test_02_NoTaskLines | ( | self | ) |
Test only passing –quiet argument to ns3.
Definition at line 625 of file test-ns3.py.
References FemtocellBlockAllocator.Create(), ns3::ObjectFactory.Create(), ns3::SpectrumChannelHelper.Create(), ns3::YansWifiChannelHelper.Create(), ns3::AttributeChecker.Create(), ns3::test::RandomVariable::TestCaseBase::RngGeneratorBase.Create(), ns3::EmptyAttributeChecker.Create(), ns3::EnumChecker< T >.Create(), ns3::internal::ObjectPtrContainerChecker< T >.Create(), ns3::internal::PointerChecker< T >.Create(), ns3::internal::TupleChecker< Args >.Create(), ns3::test::RandomVariable::TestCaseBase::RngGenerator< RNG >.Create(), ns3::DsrHelper.Create(), ns3::Ipv4RoutingHelper.Create(), ns3::Ipv6RoutingHelper.Create(), ns3::AodvHelper.Create(), ns3::DsdvHelper.Create(), ns3::Ipv4GlobalRoutingHelper.Create(), ns3::Ipv4ListRoutingHelper.Create(), ns3::Ipv4StaticRoutingHelper.Create(), ns3::Ipv6ListRoutingHelper.Create(), ns3::Ipv6StaticRoutingHelper.Create(), ns3::RipHelper.Create(), ns3::RipNgHelper.Create(), ns3::NixVectorHelper< T >.Create(), ns3::OlsrHelper.Create(), ns3::SpectrumPhyHelper.Create(), ns3::WifiPhyHelper.Create(), ns3::SpectrumWifiPhyHelper.Create(), ns3::YansWifiPhyHelper.Create(), ns3::WifiMacHelper.Create(), ns3::BuildingContainer.Create(), FemtocellBlockAllocator.Create(), ns3::NodeContainer.Create(), ns3::GridBuildingAllocator.Create(), ns3::NodeContainer.Create(), ns3::Buffer.Create(), ns3::PacketMetadata.Create(), and test-ns3.run_ns3().
Here is the call graph for this function:| test-ns3.NS3CommonSettingsTestCase.test_03_CheckConfig | ( | self | ) |
Test only passing 'show config' argument to ns3.
Definition at line 634 of file test-ns3.py.
References FemtocellBlockAllocator.Create(), ns3::ObjectFactory.Create(), ns3::SpectrumChannelHelper.Create(), ns3::YansWifiChannelHelper.Create(), ns3::AttributeChecker.Create(), ns3::test::RandomVariable::TestCaseBase::RngGeneratorBase.Create(), ns3::EmptyAttributeChecker.Create(), ns3::EnumChecker< T >.Create(), ns3::internal::ObjectPtrContainerChecker< T >.Create(), ns3::internal::PointerChecker< T >.Create(), ns3::internal::TupleChecker< Args >.Create(), ns3::test::RandomVariable::TestCaseBase::RngGenerator< RNG >.Create(), ns3::DsrHelper.Create(), ns3::Ipv4RoutingHelper.Create(), ns3::Ipv6RoutingHelper.Create(), ns3::AodvHelper.Create(), ns3::DsdvHelper.Create(), ns3::Ipv4GlobalRoutingHelper.Create(), ns3::Ipv4ListRoutingHelper.Create(), ns3::Ipv4StaticRoutingHelper.Create(), ns3::Ipv6ListRoutingHelper.Create(), ns3::Ipv6StaticRoutingHelper.Create(), ns3::RipHelper.Create(), ns3::RipNgHelper.Create(), ns3::NixVectorHelper< T >.Create(), ns3::OlsrHelper.Create(), ns3::SpectrumPhyHelper.Create(), ns3::WifiPhyHelper.Create(), ns3::SpectrumWifiPhyHelper.Create(), ns3::YansWifiPhyHelper.Create(), ns3::WifiMacHelper.Create(), ns3::BuildingContainer.Create(), FemtocellBlockAllocator.Create(), ns3::NodeContainer.Create(), ns3::GridBuildingAllocator.Create(), ns3::NodeContainer.Create(), ns3::Buffer.Create(), ns3::PacketMetadata.Create(), and test-ns3.run_ns3().
Here is the call graph for this function:| test-ns3.NS3CommonSettingsTestCase.test_04_CheckProfile | ( | self | ) |
Test only passing 'show profile' argument to ns3.
Definition at line 643 of file test-ns3.py.
References FemtocellBlockAllocator.Create(), ns3::ObjectFactory.Create(), ns3::SpectrumChannelHelper.Create(), ns3::YansWifiChannelHelper.Create(), ns3::AttributeChecker.Create(), ns3::test::RandomVariable::TestCaseBase::RngGeneratorBase.Create(), ns3::EmptyAttributeChecker.Create(), ns3::EnumChecker< T >.Create(), ns3::internal::ObjectPtrContainerChecker< T >.Create(), ns3::internal::PointerChecker< T >.Create(), ns3::internal::TupleChecker< Args >.Create(), ns3::test::RandomVariable::TestCaseBase::RngGenerator< RNG >.Create(), ns3::DsrHelper.Create(), ns3::Ipv4RoutingHelper.Create(), ns3::Ipv6RoutingHelper.Create(), ns3::AodvHelper.Create(), ns3::DsdvHelper.Create(), ns3::Ipv4GlobalRoutingHelper.Create(), ns3::Ipv4ListRoutingHelper.Create(), ns3::Ipv4StaticRoutingHelper.Create(), ns3::Ipv6ListRoutingHelper.Create(), ns3::Ipv6StaticRoutingHelper.Create(), ns3::RipHelper.Create(), ns3::RipNgHelper.Create(), ns3::NixVectorHelper< T >.Create(), ns3::OlsrHelper.Create(), ns3::SpectrumPhyHelper.Create(), ns3::WifiPhyHelper.Create(), ns3::SpectrumWifiPhyHelper.Create(), ns3::YansWifiPhyHelper.Create(), ns3::WifiMacHelper.Create(), ns3::BuildingContainer.Create(), FemtocellBlockAllocator.Create(), ns3::NodeContainer.Create(), ns3::GridBuildingAllocator.Create(), ns3::NodeContainer.Create(), ns3::Buffer.Create(), ns3::PacketMetadata.Create(), and test-ns3.run_ns3().
Here is the call graph for this function:| test-ns3.NS3CommonSettingsTestCase.test_05_CheckVersion | ( | self | ) |
Test only passing 'show version' argument to ns3.
Definition at line 652 of file test-ns3.py.
References FemtocellBlockAllocator.Create(), ns3::ObjectFactory.Create(), ns3::SpectrumChannelHelper.Create(), ns3::YansWifiChannelHelper.Create(), ns3::AttributeChecker.Create(), ns3::test::RandomVariable::TestCaseBase::RngGeneratorBase.Create(), ns3::EmptyAttributeChecker.Create(), ns3::EnumChecker< T >.Create(), ns3::internal::ObjectPtrContainerChecker< T >.Create(), ns3::internal::PointerChecker< T >.Create(), ns3::internal::TupleChecker< Args >.Create(), ns3::test::RandomVariable::TestCaseBase::RngGenerator< RNG >.Create(), ns3::DsrHelper.Create(), ns3::Ipv4RoutingHelper.Create(), ns3::Ipv6RoutingHelper.Create(), ns3::AodvHelper.Create(), ns3::DsdvHelper.Create(), ns3::Ipv4GlobalRoutingHelper.Create(), ns3::Ipv4ListRoutingHelper.Create(), ns3::Ipv4StaticRoutingHelper.Create(), ns3::Ipv6ListRoutingHelper.Create(), ns3::Ipv6StaticRoutingHelper.Create(), ns3::RipHelper.Create(), ns3::RipNgHelper.Create(), ns3::NixVectorHelper< T >.Create(), ns3::OlsrHelper.Create(), ns3::SpectrumPhyHelper.Create(), ns3::WifiPhyHelper.Create(), ns3::SpectrumWifiPhyHelper.Create(), ns3::YansWifiPhyHelper.Create(), ns3::WifiMacHelper.Create(), ns3::BuildingContainer.Create(), FemtocellBlockAllocator.Create(), ns3::NodeContainer.Create(), ns3::GridBuildingAllocator.Create(), ns3::NodeContainer.Create(), ns3::Buffer.Create(), ns3::PacketMetadata.Create(), and test-ns3.run_ns3().
Here is the call graph for this function: