ns-3 tests to control the quality of the repository over time, by checking the state of URLs listed and more More...
Inheritance diagram for test-ns3.NS3QualityControlTestCase:
Collaboration diagram for test-ns3.NS3QualityControlTestCase:Public Member Functions | |
| test_01_CheckForDeadLinksInSources (self) | |
| Test if all urls in source files are alive. | |
| test_02_MemoryCheckWithSanitizers (self) | |
| Test if all tests can be executed without hitting major memory bugs. | |
| test_03_CheckImageBrightness (self) | |
| Check if images in the docs are above a brightness threshold. | |
| test_04_CheckForBrokenLogs (self) | |
| Check if one of the log statements of examples/tests contains/exposes a bug. | |
ns-3 tests to control the quality of the repository over time, by checking the state of URLs listed and more
Definition at line 3190 of file test-ns3.py.
| test-ns3.NS3QualityControlTestCase.test_01_CheckForDeadLinksInSources | ( | self | ) |
Test if all urls in source files are alive.
Definition at line 3196 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 list.
Here is the call graph for this function:| test-ns3.NS3QualityControlTestCase.test_02_MemoryCheckWithSanitizers | ( | self | ) |
Test if all tests can be executed without hitting major memory bugs.
Definition at line 3376 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.run_ns3(), and test-ns3.run_program().
Here is the call graph for this function:| test-ns3.NS3QualityControlTestCase.test_03_CheckImageBrightness | ( | self | ) |
Check if images in the docs are above a brightness threshold.
This should prevent screenshots with dark UI themes.
Definition at line 3389 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 list.
Here is the call graph for this function:| test-ns3.NS3QualityControlTestCase.test_04_CheckForBrokenLogs | ( | self | ) |
Check if one of the log statements of examples/tests contains/exposes a bug.
Definition at line 3425 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(), list, test-ns3.run_ns3(), and test-ns3.run_program().
Here is the call graph for this function: