A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
test-ns3.NS3ConfigureBuildProfileTestCase Class Reference

ns3 tests related to build profiles More...

+ Inheritance diagram for test-ns3.NS3ConfigureBuildProfileTestCase:
+ Collaboration diagram for test-ns3.NS3ConfigureBuildProfileTestCase:

Public Member Functions

 setUp (self)
 Clean configuration/build artifacts before testing configuration settings.
 
 test_01_Debug (self)
 Test the debug build.
 
 test_02_Release (self)
 Test the release build.
 
 test_03_Optimized (self)
 Test the optimized build.
 
 test_04_Typo (self)
 Test a build type with a typo.
 
 test_05_TYPO (self)
 Test a build type with another typo.
 
 test_06_OverwriteDefaultSettings (self)
 Replace settings set by default (e.g.
 

Detailed Description

ns3 tests related to build profiles

Definition at line 662 of file test-ns3.py.

Member Function Documentation

◆ setUp()

test-ns3.NS3ConfigureBuildProfileTestCase.setUp (   self)

Clean configuration/build artifacts before testing configuration settings.

Returns
None

Definition at line 667 of file test-ns3.py.

References test-ns3.run_ns3(), and test-ns3.NS3ConfigureBuildProfileTestCase.setUp().

Referenced by test-ns3.NS3ConfigureBuildProfileTestCase.setUp().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ test_01_Debug()

test-ns3.NS3ConfigureBuildProfileTestCase.test_01_Debug (   self)

Test the debug build.

Returns
None

Definition at line 676 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(), test-ns3.get_libraries_list(), and test-ns3.run_ns3().

+ Here is the call graph for this function:

◆ test_02_Release()

test-ns3.NS3ConfigureBuildProfileTestCase.test_02_Release (   self)

Test the release build.

Returns
None

Definition at line 697 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_03_Optimized()

test-ns3.NS3ConfigureBuildProfileTestCase.test_03_Optimized (   self)

Test the optimized build.

Returns
None

Definition at line 707 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(), test-ns3.get_libraries_list(), and test-ns3.run_ns3().

+ Here is the call graph for this function:

◆ test_04_Typo()

test-ns3.NS3ConfigureBuildProfileTestCase.test_04_Typo (   self)

Test a build type with a typo.

Returns
None

Definition at line 728 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_05_TYPO()

test-ns3.NS3ConfigureBuildProfileTestCase.test_05_TYPO (   self)

Test a build type with another typo.

Returns
None

Definition at line 737 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_06_OverwriteDefaultSettings()

test-ns3.NS3ConfigureBuildProfileTestCase.test_06_OverwriteDefaultSettings (   self)

Replace settings set by default (e.g.

ASSERT/LOGs enabled in debug builds and disabled in default ones)

Returns
None

Definition at line 746 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:

The documentation for this class was generated from the following file: