A suite of tests to run. More...
#include <test.h>
Inherits ns3::TestCase.
Inherited by AverageTestSuite, BasicDataCalculatorsTestSuite, BasicEnergyModelTestSuite, BlockAckTestSuite, CsmaSystemTestSuite, Dot11sRegressionSuite, ErrorModelTestSuite, FlameRegressionSuite, GlobalRoutingTestSuite, Ipv6AddressHelperTestSuite, Ipv6AddressTestSuite, Ipv6ExtensionHeaderTestSuite, MobilityTestSuite, NamesTestSuite, ns3::AnglesTestSuite, ns3::AnimationInterfaceTestSuite, ns3::aodv::AodvRegressionTestSuite, ns3::aodv::AodvTestSuite, ns3::aodv::IdCacheTestSuite, ns3::AttributesTestSuite, ns3::BasicRandomNumberTestSuite, ns3::BufferTestSuite, ns3::BuildingPositionAllocatorTestSuite, ns3::BuildingsHelperTestSuite, ns3::BuildingsPathlossTestSuite, ns3::BuildingsShadowingTestSuite, ns3::CallbackTestSuite, ns3::CommandLineTestSuite, ns3::ConfigTestSuite, ns3::CosineAntennaModelTestSuite, ns3::DcfTestSuite, ns3::DegreesRadiansTestSuite, ns3::dot11s::Dot11sTestSuite, ns3::DropTailQueueTestSuite, ns3::DsdvTestSuite, ns3::dsr::DsrTestSuite, ns3::EpcS1uDlTestSuite, ns3::EpcS1uUlTestSuite, ns3::EpcTftClassifierTestSuite, ns3::EpsGtpuTestSuite, ns3::EventGarbageCollectorTestSuite, ns3::flame::FlameTestSuite, ns3::GlobalRouteManagerImplTestSuite, ns3::GlobalValueTestSuite, ns3::HistogramTestSuite, ns3::Int64x64128TestSuite, ns3::Ipv4AddressGeneratorTestSuite, ns3::Ipv4AddressHelperTestSuite, ns3::Ipv4FragmentationTestSuite, ns3::Ipv4HeaderTestSuite, ns3::IPv4L3ProtocolTestSuite, ns3::Ipv4ListRoutingTestSuite, ns3::Ipv4PacketInfoTagTestSuite, ns3::Ipv4RawTestSuite, ns3::Ipv6AddressGeneratorTestSuite, ns3::Ipv6DualStackTestSuite, ns3::Ipv6FragmentationTestSuite, ns3::IPv6L3ProtocolTestSuite, ns3::Ipv6ListRoutingTestSuite, ns3::Ipv6PacketInfoTagTestSuite, ns3::IsotropicAntennaModelTestSuite, ns3::ItuR1411LosPropagationLossModelTestSuite, ns3::ItuR1411NlosOverRooftopPropagationLossModelTestSuite, ns3::Kun2600MhzPropagationLossModelTestSuite, ns3::LenaTestMimoSuite, ns3::LenaTestPfFfMacSchedulerSuite, ns3::LenaTestPhyErrorModelrSuite, ns3::LenaTestRrFfMacSchedulerSuite, ns3::LiIonEnergySourceTestSuite, ns3::LteAntennaTestSuite, ns3::LteDownlinkSinrTestSuite, ns3::LteEarfcnTestSuite, ns3::LteEpcE2eDataTestSuite, ns3::LteFadingTestSuite, ns3::LteInterferenceTestSuite, ns3::LteLinkAdaptationTestSuite, ns3::LtePathlossModelTestSuite, ns3::LteRlcAmE2eTestSuite, ns3::LteRlcAmTransmitterTestSuite, ns3::LteRlcUmE2eTestSuite, ns3::LteRlcUmTransmitterTestSuite, ns3::LteSpectrumValueHelperTestSuite, ns3::LteUplinkSinrTestSuite, ns3::MeshTestSuite, ns3::Ns2MobilityHelperTestSuite, ns3::ObjectTestSuite, ns3::OkumuraHataPropagationLossModelTestSuite, ns3::olsr::OlsrProtocolTestSuite, ns3::olsr::RegressionTestSuite, ns3::OlsrTestSuite, ns3::PacketMetadataTestSuite, ns3::PacketTestSuite, ns3::ParabolicAntennaModelTestSuite, ns3::PointToPointTestSuite, ns3::PtrTestSuite, ns3::RedQueueTestSuite, ns3::RocketfuelTopologyReaderTestSuite, ns3::SequenceNumberTestSuite, ns3::SimulatorTestSuite, ns3::SpectrumConverterTestSuite, ns3::SpectrumIdealPhyTestSuite, ns3::SpectrumInterferenceTestSuite, ns3::SpectrumValueTestSuite, ns3::SteadyStateRandomWaypointTestSuite, ns3::TcpTestSuite, ns3::ThreadedSimulatorTestSuite, ns3::TimerTestSuite, ns3::TimeTestSuite, ns3::TxDurationTestSuite, ns3::TypeTraitsTestSuite, ns3::UanEnergyModelTestSuite, ns3::UdpTestSuite, ns3::WatchdogTestSuite, ns3::WaypointMobilityModelTestSuite, ns3::WifiTestSuite, Ns3TcpCwndTestSuite, Ns3TcpInteroperabilityTestSuite, Ns3TcpLossTestSuite, Ns3TcpNoDelayTestSuite, Ns3TcpSocketTestSuite, Ns3TcpStateTestSuite, Ns3WimaxFragmentationTestSuite, Ns3WimaxMacMessagesTestSuite, Ns3WimaxPhyTestSuite, Ns3WimaxQoSTestSuite, Ns3WimaxServiceFlowTestSuite, Ns3WimaxSSMacTestSuite, Ns3WimaxTlvTestSuite, NscTcpLossTestSuite, PbbTestSuite, PcapFileTestSuite, PropagationLossModelsTestSuite, RandomVariableStreamTestSuite, RngTestSuite, RvBatteryModelTestSuite, SampleTestSuite, StaticRoutingTestSuite, SwitchTestSuite, TracedCallbackTestSuite, UanTestSuite, UdpClientServerTestSuite, WifiInterferenceTestSuite, and WifiMsduAggregatorTestSuite.
Public Types | |
enum | Type { ALL = 0, BVT = 1, UNIT, SYSTEM, EXAMPLE, PERFORMANCE } |
Type of test. More... |
Public Member Functions | |
TestSuite (std::string name, Type type=UNIT) | |
Constuct a new test suite. | |
TestSuite::Type | GetTestType (void) |
get the kind of test this test suite implements | |
![]() | |
virtual | ~TestCase () |
Private Member Functions | |
virtual void | DoRun (void) |
Private Attributes | |
TestSuite::Type | m_type |
Additional Inherited Members | |
![]() | |
TestCase (std::string name) | |
void | AddTestCase (TestCase *testCase) |
Add an individual test case to this test suite. | |
std::string | CreateDataDirFilename (std::string filename) |
std::string | CreateTempDirFilename (std::string filename) |
bool | GetErrorStatus (void) const NS_DEPRECATED |
std::string | GetName (void) const |
bool | IsStatusFailure (void) const |
bool | IsStatusSuccess (void) const |
bool | MustAssertOnFailure (void) const |
bool | MustContinueOnFailure (void) const |
void | ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line) |
void | SetDataDir (std::string directory) |
enum ns3::TestSuite::Type |
ns3::TestSuite::TestSuite | ( | std::string | name, |
TestSuite::Type | type = UNIT |
||
) |
Constuct a new test suite.
name | The name of the test suite. |
type | The TestType of the test suite (defaults to UNIT test). |
Definition at line 313 of file test.cc.
References ns3::TestRunnerImpl::AddTestSuite(), and ns3::TestRunnerImpl::Instance().
TestSuite::Type ns3::TestSuite::GetTestType | ( | void | ) |
get the kind of test this test suite implements
Definition at line 321 of file test.cc.
References m_type.
Referenced by ns3::TestRunnerImpl::FilterTests().
|
private |
Definition at line 975 of file test.h.
Referenced by GetTestType().