encapsulates test code More...
#include "test.h"
Inherits ns3::NonCopyable.
Inherited by AbstractAnimationInterfaceTestCase, AcousticModemEnergyDepletionTestCase, AcousticModemEnergyTestCase, AddressAllocator6TestCase, AddressAllocatorHelperTestCase, AddressAllocatorTestCase, AddressCollision6TestCase, AddressCollisionTestCase, AmpduAggregationTest, AnnexC_TestCase, AredQueueDiscTestCase, AttributeTestCase< T >, BasicCallbackTestCase, BasicEnergyHarvesterTestCase, BasicTracedCallbackTestCase, BlockAckAggregationDisabledTest, BridgeTest, BriteTopologyFunctionTestCase, BriteTopologyStructureTestCase, BufferTest, Bug2222TestCase, Bug2470TestCase, Bug2831TestCase, Bug2843TestCase, Bug730TestCase, Bug772ChainTest, BuildingsHelperOneTestCase, BuildingsPathlossTestCase, BuildingsShadowingTestCase, BurstErrorModelSimple, CallbackValueTestCase, CarrierAggregationConfigTestCase, CarrierAggregationTestCase, ChainRegressionTest, ChannelAccessManagerTest, ChannelAccessTestCase, ChannelCoordinationTestCase, ChannelRoutingTestCase, ClassicRecoveryTest, CobaltQueueDiscBasicEnqueueDequeue, CobaltQueueDiscDropTest, CoDelQueueDiscBasicDrop, CoDelQueueDiscBasicEnqueueDequeue, CoDelQueueDiscBasicOverflow, CoDelQueueDiscControlLawTest, CoDelQueueDiscNewtonStepTest, CollisionTestCase, CosineAntennaModelTestCase, CsmaBridgeTestCase, CsmaBroadcastTestCase, CsmaMulticastTestCase, CsmaOneSubnetTestCase, CsmaPacketSocketTestCase, CsmaPingTestCase, CsmaRawIpSocketTestCase, CsmaStarTestCase, CtrlBAckResponseHeaderTest, DcfImmediateAccessBroadcastTestCase, DegreesToRadiansTestCase, DeprecatedAttributeTestCase, DhcpTestCase, DiffTestCase, DropTailQueueTestCase, DsaRequestTestCase, DsdvHeaderTestCase, DsdvTableTestCase, DsrAckHeaderTest, DsrAckReqHeaderTest, DsrCacheEntryTest, DsrFsHeaderTest, DsrRerrHeaderTest, DsrRrepHeaderTest, DsrRreqHeaderTest, DsrRreqTableTest, DsrSendBuffTest, DsrSRHeaderTest, DualStackTestCase, EpcS1uDlTestCase, EpcS1uUlTestCase, EpcTftClassifierTestCase, EpsGtpuHeaderTestCase, ErrorModelSimple, ExampleAddress6GeneratorTestCase, ExampleAddressGeneratorTestCase, FifoQueueDiscTestCase, FileHeaderTestCase, FiveDoublesAverageTestCase, FiveDoublesTestCase, FiveIntegersAverageTestCase, FiveIntegersTestCase, FlameHeaderTest, FlameRegressionTest, FlameRtableTest, FqCoDelQueueDiscDeficit, FqCoDelQueueDiscIPFlowsSeparationAndPacketLimit, FqCoDelQueueDiscNoSuitableFilter, FqCoDelQueueDiscTCPFlowsSeparation, FqCoDelQueueDiscUDPFlowsSeparation, FriisPropagationLossModelTestCase, GeoToCartesianTestCase, GlobalRouteManagerImplTestCase, HeAggregationTest, HistogramTestCase, HwmpDoRfRegressionTest, HwmpProactiveRegressionTest, HwmpReactiveRegressionTest, HwmpRtableTest, HwmpSimplestRegressionTest, IntegerTraceSourceAttributeTestCase, IntegerTraceSourceTestCase, InterferenceHelperSequenceTest, IpAddressHelperTestCasev4, IpAddressHelperTestCasev6, Ipv4DynamicGlobalRoutingTestCase, Ipv4ForwardingTest, Ipv4FragmentationTest, Ipv4GlobalRoutingSlash32TestCase, Ipv4HeaderTest, Ipv4L3ProtocolTestCase, Ipv4ListRoutingNegativeTestCase, Ipv4ListRoutingPositiveTestCase, Ipv4PacketInfoTagTest, Ipv4RawSocketImplTest, Ipv4RipCountToInfinityTest, Ipv4RipSplitHorizonStrategyTest, Ipv4RipTest, Ipv4StaticRoutingSlash32TestCase, Ipv6AddressTestCase, Ipv6ForwardingTest, Ipv6FragmentationTest, Ipv6L3ProtocolTestCase, Ipv6ListRoutingNegativeTestCase, Ipv6ListRoutingPositiveTestCase, Ipv6PacketInfoTagTest, Ipv6RawSocketImplTest, Ipv6RipngCountToInfinityTest, Ipv6RipngSplitHorizonStrategyTest, Ipv6RipngTest, IsotropicAntennaModelTestCase, ItuR1411LosPropagationLossModelTestCase, ItuR1411NlosOverRooftopPropagationLossModelTestCase, Kun2600MhzPropagationLossModelTestCase, LanTest, LenaCqaFfMacSchedulerTestCase1, LenaCqaFfMacSchedulerTestCase2, LenaDataPhyErrorModelTestCase, LenaDlCtrlPhyErrorModelTestCase, LenaFdBetFfMacSchedulerTestCase1, LenaFdBetFfMacSchedulerTestCase2, LenaFdMtFfMacSchedulerTestCase, LenaFdTbfqFfMacSchedulerTestCase1, LenaFdTbfqFfMacSchedulerTestCase2, LenaHarqTestCase, LenaMimoTestCase, LenaPfFfMacSchedulerTestCase1, LenaPfFfMacSchedulerTestCase2, LenaPssFfMacSchedulerTestCase1, LenaPssFfMacSchedulerTestCase2, LenaRrFfMacSchedulerTestCase, LenaTdBetFfMacSchedulerTestCase1, LenaTdBetFfMacSchedulerTestCase2, LenaTdMtFfMacSchedulerTestCase, LenaTdTbfqFfMacSchedulerTestCase1, LenaTdTbfqFfMacSchedulerTestCase2, LenaTtaFfMacSchedulerTestCase, LiIonEnergyTestCase, LinkTest, LogDistancePropagationLossModelTestCase, LookupTimeTestCase, LrWpanAckTestCase, LrWpanCcaTestCase, LrWpanCollisionTestCase, LrWpanEdTestCase, LrWpanErrorDistanceTestCase, LrWpanErrorModelTestCase, LrWpanPacketTestCase, LrWpanPlmeAndPdInterfaceTestCase, LrWpanSpectrumValueHelperTestCase, LteAggregationThroughputScaleTestCase, LteCellSelectionTestCase, LteCqiGenerationDlPowerControlTestCase, LteCqiGenerationTestCase, LteDownlinkCtrlSinrTestCase, LteDownlinkDataSinrTestCase, LteDownlinkPowerControlRrcConnectionReconfigurationTestCase, LteDownlinkPowerControlSpectrumValueTestCase, LteDownlinkPowerControlTestCase, LteEarfcnTestCase, LteEnbAntennaTestCase, LteEpcE2eDataTestCase, LteFrAreaTestCase, LteFrTestCase, LteHandoverDelayTestCase, LteHandoverTargetTestCase, LteInterferenceHardFrTestCase, LteInterferenceStrictFrTestCase, LteInterferenceTestCase, LteIpv6RoutingTestCase, LteLinkAdaptationTestCase, LteNoisePsdTestCase, LtePathlossModelSystemTestCase, LteRadioLinkFailureTestCase, LteRlcAmE2eTestCase, LteRlcAmTransmitterTestCase, LteRlcUmE2eTestCase, LteRlcUmTransmitterTestCase, LteRrcConnectionEstablishmentTestCase, LteSecondaryCellSelectionTestCase, LteSpectrumModelTestCase, LteTxPsdTestCase, LteUeMeasurementsHandoverTestCase, LteUeMeasurementsPiecewiseTestCase1, LteUeMeasurementsPiecewiseTestCase2, LteUeMeasurementsTestCase, LteUplinkDataSinrTestCase, LteUplinkPowerControlTestCase, LteUplinkSrsSinrTestCase, LteX2HandoverMeasuresTestCase, LteX2HandoverTestCase, MakeBoundCallbackTestCase, MakeCallbackTemplatesTestCase, MakeCallbackTestCase, MatrixPropagationLossModelTestCase, MeshHeaderTest, MeshInformationElementVectorBist, MobilityTraceTestCase, NetworkAllocatorHelperTestCase, NetworkAndAddress6TestCase, NetworkAndAddressTestCase, NetworkNumber6AllocatorTestCase, NetworkNumberAllocatorTestCase, Ns2MobilityHelperTest, ns3::aodv::AodvRqueueTest, ns3::aodv::AodvRtableEntryTest, ns3::aodv::AodvRtableTest, ns3::aodv::IdCacheTest, ns3::aodv::LoopbackTestCase, ns3::aodv::NeighborTest, ns3::aodv::QueueEntryTest, ns3::aodv::RerrHeaderTest, ns3::aodv::RrepAckHeaderTest, ns3::aodv::RrepHeaderTest, ns3::aodv::RreqHeaderTest, ns3::aodv::TypeHeaderTest, ns3::int64x64::test::Int64x64ArithmeticTestCase, ns3::int64x64::test::Int64x64Bug1786TestCase, ns3::int64x64::test::Int64x64Bug455TestCase, ns3::int64x64::test::Int64x64Bug863TestCase, ns3::int64x64::test::Int64x64CompareTestCase, ns3::int64x64::test::Int64x64DoubleTestCase, ns3::int64x64::test::Int64x64HiLoTestCase, ns3::int64x64::test::Int64x64ImplTestCase, ns3::int64x64::test::Int64x64InputOutputTestCase, ns3::int64x64::test::Int64x64InputTestCase, ns3::int64x64::test::Int64x64InvertTestCase, ns3::LenaDeactivateBearerTestCase, ns3::olsr::Bug780Test, ns3::olsr::HelloRegressionTest, ns3::olsr::TcRegressionTest, ns3::RlcAmStatusPduTestCase, ns3::TcpGeneralTest, ns3::TcpLpInferenceTest1, ns3::TcpLpInferenceTest2, ns3::TcpLpToNewReno, ns3::tests::AggregateObjectTestCase, ns3::tests::AlternateFindTestCase, ns3::tests::BasicAddTestCase, ns3::tests::BasicFindTestCase, ns3::tests::BasicRenameTestCase, ns3::tests::BuildProfileTestCase, ns3::tests::CommandLineTestCaseBase, ns3::tests::CreateObjectTestCase, ns3::tests::EventGarbageCollectorTestCase, ns3::tests::FindPathTestCase, ns3::tests::FullyQualifiedAddTestCase, ns3::tests::FullyQualifiedFindTestCase, ns3::tests::FullyQualifiedRenameTestCase, ns3::tests::GlobalValueTestCase, ns3::tests::HashTestCase, ns3::tests::ManyUniformRandomVariablesOneGetValueCallTestCase, ns3::tests::ObjectFactoryTestCase, ns3::tests::ObjectVectorConfigTestCase, ns3::tests::ObjectVectorTraceConfigTestCase, ns3::tests::OneUniformRandomVariableManyGetValueCallsTestCase, ns3::tests::PtrTestCase, ns3::tests::RelativeAddTestCase, ns3::tests::RelativeFindTestCase, ns3::tests::RelativeRenameTestCase, ns3::tests::RootNamespaceConfigTestCase, ns3::tests::SampleTestCase1, ns3::tests::SearchAttributesOfParentObjectsTestCase, ns3::tests::StringContextAddTestCase, ns3::tests::StringContextFindTestCase, ns3::tests::StringContextRenameTestCase, ns3::tests::TypeTraitsTestCase, ns3::tests::UnderRootNamespaceConfigTestCase, ns3::tests::WatchdogTestCase, ns3::TestSuite, Ns3TcpCwndTestCase1, Ns3TcpCwndTestCase2, Ns3TcpInteroperabilityTestCase, Ns3TcpLossTestCase, Ns3TcpNoDelayTestCase, Ns3TcpSocketTestCase1, Ns3TcpSocketTestCase2, Ns3TcpStateTestCase, Ns3WimaxCsParamTlvTestCase, Ns3WimaxFragmentationTestCase, Ns3WimaxManagementConnectionsTestCase, Ns3WimaxNetworkEntryTestCase, Ns3WimaxSchedulingTestCase, Ns3WimaxSfCreationTestCase, Ns3WimaxSfTlvTestCase, Ns3WimaxSFTypeTestCase, Ns3WimaxSimpleOFDMTestCase, Ns3WimaxSNRtoBLERTestCase, NscTcpLossTestCase1, NscTcpLossTestCase2, NullifyCallbackTestCase, ObjectMapAttributeTestCase, ObjectVectorAttributeTestCase, OcbWifiMacTestCase, OkumuraHataPropagationLossModelTestCase, OlsrEmfTestCase, OlsrHelloTestCase, OlsrHnaTestCase, OlsrMidTestCase, OlsrMprTestCase, OlsrTcTestCase, OneIntegerAverageTestCase, OneIntegerTestCase, OneVectorConstructorTestCase, PacketBufferingCaseA, PacketBufferingCaseB, PacketLossCounterTestCase, PacketMetadataTest, PacketSocketAppsTest, PacketTagListTest, PacketTest, ParabolicAntennaModelTestCase, PbbTestCase, PeerLinkFrameStartTest, PeerManagementProtocolRegressionTest, PfifoFastQueueDiscDscpPrioritization, PfifoFastQueueDiscNoPriority, PfifoFastQueueDiscOverflow, PfifoFastQueueDiscTosPrioritization, PieQueueDiscTestCase, PointerAttributeTestCase, PointToPointTest, PowerRateAdaptationTest, PrioQueueDiscTestCase, ProbeTestCase1, PrrRecoveryTest, QosFragmentationTestCase, QosUtilsIsOldPacketTest, QueueDiscTracesTestCase, RadiansToDegreesTestCase, RandCartAroundGeoTestCase, RandomRoomPositionAllocatorTestCase, RandomVariableStreamAttributeTestCase, RandomVariableStreamConstantTestCase, RandomVariableStreamDeterministicTestCase, RandomVariableStreamEmpiricalAntitheticTestCase, RandomVariableStreamEmpiricalTestCase, RandomVariableStreamErlangAntitheticTestCase, RandomVariableStreamErlangTestCase, RandomVariableStreamExponentialAntitheticTestCase, RandomVariableStreamExponentialTestCase, RandomVariableStreamGammaAntitheticTestCase, RandomVariableStreamGammaTestCase, RandomVariableStreamLogNormalAntitheticTestCase, RandomVariableStreamLogNormalTestCase, RandomVariableStreamNormalAntitheticTestCase, RandomVariableStreamNormalTestCase, RandomVariableStreamParetoAntitheticTestCase, RandomVariableStreamParetoTestCase, RandomVariableStreamSequentialTestCase, RandomVariableStreamUniformAntitheticTestCase, RandomVariableStreamUniformTestCase, RandomVariableStreamWeibullAntitheticTestCase, RandomVariableStreamWeibullTestCase, RandomVariableStreamZetaAntitheticTestCase, RandomVariableStreamZetaTestCase, RandomVariableStreamZipfAntitheticTestCase, RandomVariableStreamZipfTestCase, RangePropagationLossModelTestCase, ReadFileTestCase, ReadModeCreateTestCase, RecordHeaderTestCase, RedQueueDiscTestCase, ResetAllocatorHelperTestCase, RngExponentialTestCase, RngNormalTestCase, RngParetoTestCase, RngUniformTestCase, RocketfuelTopologyReaderTest, RrcHeaderTestCase, RttEstimatorTestCase, SameRoomPositionAllocatorTestCase, SequenceNumberTestCase, SetChannelFrequencyTest, SimulatorEventsTestCase, SimulatorTemplateTestCase, SixlowpanFragmentationTest, SixlowpanHc1ImplTest, SixlowpanIphcImplTest, SpectrumIdealPhyTestCase, SpectrumInterferenceTestCase, SpectrumValueTestCase, SpectrumWifiPhyBasicTest, StaWifiMacScanningTestCase, SteadyStateRandomWaypointTest, SwitchFlowTableTestCase, TbfQueueDiscTestCase, TcFlowControlTestCase, TcpBicDecrementTest, TcpBicIncrementTest, TcpEndPointBug2211Test, TcpHeaderFlagsToString, TcpHeaderGetSetTestCase, TcpHeaderWithRFC793OptionTestCase, TcpHighSpeedDecrementTest, TcpHighSpeedIncrementTest, TcpHtcpIncrementTest, TcpHyblaIncrementTest, TcpIllinoisTest, TcpLedbatDecrementTest, TcpLedbatIncrementTest, TcpLedbatToNewReno, TcpOptionTSTestCase, TcpOptionWSTestCase, TcpRxBufferTestCase, TcpScalableDecrementTest, TcpScalableIncrementTest, TcpTestCase, TcpTxBufferTestCase, TcpVegasTest, TcpVenoTest, TcpYeahDecrementTest, TcpYeahIncrementTest, TestAmpduReception, TestEmptyOptionField, TestFulfilledAlignment, TestInterBssConstantObssPdAlgo, TestOptionWithAlignment, TestOptionWithoutAlignment, TestPhyHeadersReception, TestSimpleFrameCaptureModel, TestThresholdPreambleDetectionWithFrameCapture, TestThresholdPreambleDetectionWithoutFrameCapture, ThreadedSimulatorEventsTestCase, ThreeGppHttpObjectTestCase, TimeInputOutputTestCase, TimerStateTestCase, TimerTemplateTestCase, TimeSimpleTestCase, TimestampValueTestCase, TimeWithSignTestCase, TracedCallbackTestCase, TracedCallbackTypedefTestCase, TracedValueCallbackTestCase, TvHelperDistributionTestCase, TvSpectrumTransmitterTestCase, TwoBridgeTest, TwoLanTest, TwoLevelAggregationTest, TwoLinkTest, TwoRayGroundPropagationLossModelTestCase, TwoVectorsConstructorTestCase, TxDurationTest, UanTest, Udp6SocketImplTest, Udp6SocketLoopbackTest, UdpClientServerTestCase, UdpEchoClientSetFillTestCase, UdpSocketImplTest, UdpSocketLoopbackTest, UdpTraceClientServerTestCase, UniqueTypeIdTestCase, WaveformGeneratorTestCase, WaypointInitialPositionIsWaypoint, WaypointLazyNotifyFalse, WaypointLazyNotifyTrue, WaypointMobilityModelAddWaypointTest, WaypointMobilityModelNotifyTest, WaypointMobilityModelViaHelper, WifiAcMappingTest, WifiErrorRateModelsTestCaseDsss, WifiErrorRateModelsTestCaseNist, WifiInterferenceTestCase, WifiMsduAggregatorThroughputTest, WifiOfdmMaskSlopesTestCase, WifiPhyThresholdsTest, WifiTest, and WriteModeCreateTestCase.
Classes | |
struct | Result |
Container for results from a TestCase. More... | |
Public Types | |
enum | TestDuration { QUICK = 1, EXTENSIVE = 2, TAKES_FOREVER = 3 } |
How long the test takes to execute. More... | |
Public Member Functions | |
virtual | ~TestCase () |
Destructor. More... | |
std::string | GetName (void) const |
Protected Member Functions | |
TestCase (std::string name) | |
Constructor. More... | |
void | AddTestCase (TestCase *testCase, TestDuration duration=QUICK) |
Add an individual child TestCase to this test suite. More... | |
TestCase * | GetParent () const |
Get the parent of this TestCsse. More... | |
bool | IsStatusFailure (void) const |
Check if any tests failed. More... | |
bool | IsStatusSuccess (void) const |
Check if all tests passed. More... | |
void | SetDataDir (std::string directory) |
Set the data directory where reference trace files can be found. More... | |
Internal Interface | |
These methods are the interface used by test macros and should not be used directly by normal test code. | |
void | ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line) |
Log the failure of this TestCase. More... | |
bool | MustAssertOnFailure (void) const |
Check if this run should assert on failure. More... | |
bool | MustContinueOnFailure (void) const |
Check if this run should continue on failure. More... | |
std::string | CreateDataDirFilename (std::string filename) |
Construct the full path to a file in the data directory. More... | |
std::string | CreateTempDirFilename (std::string filename) |
Construct the full path to a file in a temporary directory. More... | |
Private Member Functions | |
virtual void | DoRun (void)=0 |
Implementation to actually run this TestCase. More... | |
virtual void | DoSetup (void) |
Implementation to do any local setup required for this TestCase. More... | |
virtual void | DoTeardown (void) |
Implementation to do any local setup required for this TestCase. More... | |
bool | IsFailed (void) const |
Check if any tests failed. More... | |
void | Run (TestRunnerImpl *runner) |
Actually run this TestCase. More... | |
![]() | |
NonCopyable () | |
Constructor. More... | |
~NonCopyable () | |
Destructor. More... | |
Private Attributes | |
std::vector< TestCase * > | m_children |
Vector of my children. More... | |
std::string | m_dataDir |
My data directory. More... | |
enum TestDuration | m_duration |
TestCase duration. More... | |
std::string | m_name |
TestCase name. More... | |
TestCase * | m_parent |
Pointer to my parent TestCase. More... | |
struct Result * | m_result |
Results data. More... | |
TestRunnerImpl * | m_runner |
Pointer to the TestRunner. More... | |
Friends | |
class | TestRunnerImpl |
encapsulates test code
To allow a new test to be run within the ns-3 test framework, users need to create subclasses of this base class, override the DoRun method, and use the NS_TEST_* macros within DoRun.
|
virtual |
Destructor.
Definition at line 285 of file test.cc.
References m_children, m_parent, m_result, m_runner, NS_ASSERT, and NS_LOG_FUNCTION.
|
protected |
Constructor.
[in] | name | The name of the new TestCase created |
Definition at line 274 of file test.cc.
References NS_LOG_FUNCTION.
|
protected |
Add an individual child TestCase to this test suite.
[in] | testCase | Pointer to the TestCase object to be added. |
[in] | duration | Amount of time this test takes to execute (defaults to QUICK). |
Definition at line 299 of file test.cc.
References m_children, m_duration, m_name, m_parent, NS_LOG_FUNCTION, and NS_LOG_UNCOND.
Referenced by ThreeGppHttpClientServerTestSuite::AddHttpObjectTestCase(), AnglesTestSuite::AnglesTestSuite(), AnimationInterfaceTestSuite::AnimationInterfaceTestSuite(), ns3::aodv::AodvLoopbackTestSuite::AodvLoopbackTestSuite(), ns3::aodv::AodvTestSuite::AodvTestSuite(), AredQueueDiscTestSuite::AredQueueDiscTestSuite(), Asn1EncodingSuite::Asn1EncodingSuite(), AttributesTestSuite::AttributesTestSuite(), AverageTestSuite::AverageTestSuite(), BasicDataCalculatorsTestSuite::BasicDataCalculatorsTestSuite(), BasicEnergyHarvesterTestSuite::BasicEnergyHarvesterTestSuite(), BlockAckTestSuite::BlockAckTestSuite(), BriteTestSuite::BriteTestSuite(), BufferTestSuite::BufferTestSuite(), BuildingPositionAllocatorTestSuite::BuildingPositionAllocatorTestSuite(), BuildingsHelperTestSuite::BuildingsHelperTestSuite(), BuildingsPathlossTestSuite::BuildingsPathlossTestSuite(), BuildingsShadowingTestSuite::BuildingsShadowingTestSuite(), ns3::tests::BuildProfileTestSuite::BuildProfileTestSuite(), CallbackTestSuite::CallbackTestSuite(), CarrierAggregationConfigTestSuite::CarrierAggregationConfigTestSuite(), ClassicRecoveryTestSuite::ClassicRecoveryTestSuite(), CobaltQueueDiscTestSuite::CobaltQueueDiscTestSuite(), CoDelQueueDiscTestSuite::CoDelQueueDiscTestSuite(), ns3::tests::CommandLineTestSuite::CommandLineTestSuite(), ns3::tests::ConfigTestSuite::ConfigTestSuite(), CosineAntennaModelTestSuite::CosineAntennaModelTestSuite(), CsmaSystemTestSuite::CsmaSystemTestSuite(), DcfTestSuite::DcfTestSuite(), DegreesRadiansTestSuite::DegreesRadiansTestSuite(), DhcpTestSuite::DhcpTestSuite(), Dot11sTestSuite::Dot11sTestSuite(), DropTailQueueTestSuite::DropTailQueueTestSuite(), DsdvTestSuite::DsdvTestSuite(), DsrTestSuite::DsrTestSuite(), EpcS1uDlTestSuite::EpcS1uDlTestSuite(), EpcS1uUlTestSuite::EpcS1uUlTestSuite(), EpcTftClassifierTestSuite::EpcTftClassifierTestSuite(), EpsGtpuTestSuite::EpsGtpuTestSuite(), ErrorModelTestSuite::ErrorModelTestSuite(), ns3::tests::EventGarbageCollectorTestSuite::EventGarbageCollectorTestSuite(), FifoQueueDiscTestSuite::FifoQueueDiscTestSuite(), FlameTestSuite::FlameTestSuite(), FqCoDelQueueDiscTestSuite::FqCoDelQueueDiscTestSuite(), GeoToCartesianTestSuite::GeoToCartesianTestSuite(), GlobalRouteManagerImplTestSuite::GlobalRouteManagerImplTestSuite(), ns3::tests::GlobalValueTestSuite::GlobalValueTestSuite(), ns3::tests::HashTestSuite::HashTestSuite(), HistogramTestSuite::HistogramTestSuite(), ns3::aodv::IdCacheTestSuite::IdCacheTestSuite(), ns3::int64x64::test::Int64x64TestSuite::Int64x64TestSuite(), InterBssTestSuite::InterBssTestSuite(), Ipv4AddressGeneratorTestSuite::Ipv4AddressGeneratorTestSuite(), Ipv4AddressHelperTestSuite::Ipv4AddressHelperTestSuite(), Ipv4ForwardingTestSuite::Ipv4ForwardingTestSuite(), Ipv4FragmentationTestSuite::Ipv4FragmentationTestSuite(), Ipv4GlobalRoutingTestSuite::Ipv4GlobalRoutingTestSuite(), Ipv4HeaderTestSuite::Ipv4HeaderTestSuite(), IPv4L3ProtocolTestSuite::IPv4L3ProtocolTestSuite(), Ipv4ListRoutingTestSuite::Ipv4ListRoutingTestSuite(), Ipv4PacketInfoTagTestSuite::Ipv4PacketInfoTagTestSuite(), Ipv4RawTestSuite::Ipv4RawTestSuite(), Ipv4RipTestSuite::Ipv4RipTestSuite(), Ipv4StaticRoutingTestSuite::Ipv4StaticRoutingTestSuite(), Ipv6AddressGeneratorTestSuite::Ipv6AddressGeneratorTestSuite(), Ipv6AddressHelperTestSuite::Ipv6AddressHelperTestSuite(), Ipv6AddressTestSuite::Ipv6AddressTestSuite(), Ipv6DualStackTestSuite::Ipv6DualStackTestSuite(), Ipv6ForwardingTestSuite::Ipv6ForwardingTestSuite(), Ipv6FragmentationTestSuite::Ipv6FragmentationTestSuite(), IPv6L3ProtocolTestSuite::IPv6L3ProtocolTestSuite(), Ipv6ListRoutingTestSuite::Ipv6ListRoutingTestSuite(), Ipv6PacketInfoTagTestSuite::Ipv6PacketInfoTagTestSuite(), Ipv6RawTestSuite::Ipv6RawTestSuite(), Ipv6RipngTestSuite::Ipv6RipngTestSuite(), IsotropicAntennaModelTestSuite::IsotropicAntennaModelTestSuite(), ItuR1411LosPropagationLossModelTestSuite::ItuR1411LosPropagationLossModelTestSuite(), ItuR1411NlosOverRooftopPropagationLossModelTestSuite::ItuR1411NlosOverRooftopPropagationLossModelTestSuite(), Kun2600MhzPropagationLossModelTestSuite::Kun2600MhzPropagationLossModelTestSuite(), ns3::LenaTestBearerDeactivateSuite::LenaTestBearerDeactivateSuite(), LenaTestCqaFfMacSchedulerSuite::LenaTestCqaFfMacSchedulerSuite(), LenaTestFdBetFfMacSchedulerSuite::LenaTestFdBetFfMacSchedulerSuite(), LenaTestFdMtFfMacSchedulerSuite::LenaTestFdMtFfMacSchedulerSuite(), LenaTestFdTbfqFfMacSchedulerSuite::LenaTestFdTbfqFfMacSchedulerSuite(), LenaTestHarqSuite::LenaTestHarqSuite(), LenaTestMimoSuite::LenaTestMimoSuite(), LenaTestPfFfMacSchedulerSuite::LenaTestPfFfMacSchedulerSuite(), LenaTestPhyErrorModelSuite::LenaTestPhyErrorModelSuite(), LenaTestPssFfMacSchedulerSuite::LenaTestPssFfMacSchedulerSuite(), LenaTestRrFfMacSchedulerSuite::LenaTestRrFfMacSchedulerSuite(), LenaTestTdBetFfMacSchedulerSuite::LenaTestTdBetFfMacSchedulerSuite(), LenaTestTdMtFfMacSchedulerSuite::LenaTestTdMtFfMacSchedulerSuite(), LenaTestTdTbfqFfMacSchedulerSuite::LenaTestTdTbfqFfMacSchedulerSuite(), LenaTestTtaFfMacSchedulerSuite::LenaTestTtaFfMacSchedulerSuite(), LiIonEnergySourceTestSuite::LiIonEnergySourceTestSuite(), LrWpanAckTestSuite::LrWpanAckTestSuite(), LrWpanCcaTestSuite::LrWpanCcaTestSuite(), LrWpanCollisionTestSuite::LrWpanCollisionTestSuite(), LrWpanEdTestSuite::LrWpanEdTestSuite(), LrWpanErrorModelTestSuite::LrWpanErrorModelTestSuite(), LrWpanPacketTestSuite::LrWpanPacketTestSuite(), LrWpanPlmeAndPdInterfaceTestSuite::LrWpanPlmeAndPdInterfaceTestSuite(), LrWpanSpectrumValueHelperTestSuite::LrWpanSpectrumValueHelperTestSuite(), LteAggregationThroughputScaleTestSuite::LteAggregationThroughputScaleTestSuite(), LteAntennaTestSuite::LteAntennaTestSuite(), LteCellSelectionTestSuite::LteCellSelectionTestSuite(), LteCqiGenerationTestSuite::LteCqiGenerationTestSuite(), LteDownlinkPowerControlTestSuite::LteDownlinkPowerControlTestSuite(), LteDownlinkSinrTestSuite::LteDownlinkSinrTestSuite(), LteEarfcnTestSuite::LteEarfcnTestSuite(), LteEpcE2eDataTestSuite::LteEpcE2eDataTestSuite(), LteFrequencyReuseTestSuite::LteFrequencyReuseTestSuite(), LteHandoverTargetTestSuite::LteHandoverTargetTestSuite(), LteInterferenceFrTestSuite::LteInterferenceFrTestSuite(), LteInterferenceTestSuite::LteInterferenceTestSuite(), LteIpv6RoutingTestSuite::LteIpv6RoutingTestSuite(), LteLinkAdaptationTestSuite::LteLinkAdaptationTestSuite(), LtePathlossModelTestSuite::LtePathlossModelTestSuite(), LteRadioLinkFailureTestSuite::LteRadioLinkFailureTestSuite(), LteRlcAmE2eTestSuite::LteRlcAmE2eTestSuite(), LteRlcAmTransmitterTestSuite::LteRlcAmTransmitterTestSuite(), ns3::LteRlcHeaderTestSuite::LteRlcHeaderTestSuite(), LteRlcUmE2eTestSuite::LteRlcUmE2eTestSuite(), LteRlcUmTransmitterTestSuite::LteRlcUmTransmitterTestSuite(), LteRrcTestSuite::LteRrcTestSuite(), LteSecondaryCellSelectionTestSuite::LteSecondaryCellSelectionTestSuite(), LteSpectrumValueHelperTestSuite::LteSpectrumValueHelperTestSuite(), LteUeMeasurementsHandoverTestSuite::LteUeMeasurementsHandoverTestSuite(), LteUeMeasurementsPiecewiseTestSuite1::LteUeMeasurementsPiecewiseTestSuite1(), LteUeMeasurementsPiecewiseTestSuite2::LteUeMeasurementsPiecewiseTestSuite2(), LteUeMeasurementsTestSuite::LteUeMeasurementsTestSuite(), LteUplinkPowerControlTestSuite::LteUplinkPowerControlTestSuite(), LteUplinkSinrTestSuite::LteUplinkSinrTestSuite(), LteX2HandoverMeasuresTestSuite::LteX2HandoverMeasuresTestSuite(), LteX2HandoverTestSuite::LteX2HandoverTestSuite(), ns3::tests::ManyUniformRandomVariablesOneGetValueCallTestSuite::ManyUniformRandomVariablesOneGetValueCallTestSuite(), MeshTestSuite::MeshTestSuite(), MobilityTestSuite::MobilityTestSuite(), MobilityTraceTestSuite::MobilityTraceTestSuite(), ns3::tests::NamesTestSuite::NamesTestSuite(), Ns3TcpCwndTestSuite::Ns3TcpCwndTestSuite(), Ns3TcpInteroperabilityTestSuite::Ns3TcpInteroperabilityTestSuite(), Ns3TcpLossTestSuite::Ns3TcpLossTestSuite(), Ns3TcpNoDelayTestSuite::Ns3TcpNoDelayTestSuite(), Ns3TcpSocketTestSuite::Ns3TcpSocketTestSuite(), Ns3TcpStateTestSuite::Ns3TcpStateTestSuite(), Ns3WimaxFragmentationTestSuite::Ns3WimaxFragmentationTestSuite(), Ns3WimaxMacMessagesTestSuite::Ns3WimaxMacMessagesTestSuite(), Ns3WimaxPhyTestSuite::Ns3WimaxPhyTestSuite(), Ns3WimaxQoSTestSuite::Ns3WimaxQoSTestSuite(), Ns3WimaxServiceFlowTestSuite::Ns3WimaxServiceFlowTestSuite(), Ns3WimaxSSMacTestSuite::Ns3WimaxSSMacTestSuite(), Ns3WimaxTlvTestSuite::Ns3WimaxTlvTestSuite(), NscTcpLossTestSuite::NscTcpLossTestSuite(), ns3::tests::ObjectTestSuite::ObjectTestSuite(), OcbTestSuite::OcbTestSuite(), OkumuraHataPropagationLossModelTestSuite::OkumuraHataPropagationLossModelTestSuite(), OlsrProtocolTestSuite::OlsrProtocolTestSuite(), OlsrTestSuite::OlsrTestSuite(), ns3::tests::OneUniformRandomVariableManyGetValueCallsTestSuite::OneUniformRandomVariableManyGetValueCallsTestSuite(), PacketMetadataTestSuite::PacketMetadataTestSuite(), PacketSocketAppsTestSuite::PacketSocketAppsTestSuite(), PacketTestSuite::PacketTestSuite(), ParabolicAntennaModelTestSuite::ParabolicAntennaModelTestSuite(), PbbTestSuite::PbbTestSuite(), PcapFileTestSuite::PcapFileTestSuite(), PfifoFastQueueDiscTestSuite::PfifoFastQueueDiscTestSuite(), PieQueueDiscTestSuite::PieQueueDiscTestSuite(), PointToPointTestSuite::PointToPointTestSuite(), PowerRateAdaptationTestSuite::PowerRateAdaptationTestSuite(), PrioQueueDiscTestSuite::PrioQueueDiscTestSuite(), ProbeTestSuite::ProbeTestSuite(), PropagationLossModelsTestSuite::PropagationLossModelsTestSuite(), PrrRecoveryTestSuite::PrrRecoveryTestSuite(), ns3::tests::PtrTestSuite::PtrTestSuite(), QueueDiscTracesTestSuite::QueueDiscTracesTestSuite(), RandCartAroundGeoTestSuite::RandCartAroundGeoTestSuite(), RandomVariableStreamTestSuite::RandomVariableStreamTestSuite(), RedQueueDiscTestSuite::RedQueueDiscTestSuite(), RngTestSuite::RngTestSuite(), RocketfuelTopologyReaderTestSuite::RocketfuelTopologyReaderTestSuite(), RttEstimatorTestSuite::RttEstimatorTestSuite(), ns3::tests::SampleTestSuite::SampleTestSuite(), SequenceNumberTestSuite::SequenceNumberTestSuite(), SimulatorTestSuite::SimulatorTestSuite(), SixlowpanFragmentationTestSuite::SixlowpanFragmentationTestSuite(), SixlowpanHc1TestSuite::SixlowpanHc1TestSuite(), SixlowpanIphcTestSuite::SixlowpanIphcTestSuite(), SpectrumConverterTestSuite::SpectrumConverterTestSuite(), SpectrumIdealPhyTestSuite::SpectrumIdealPhyTestSuite(), SpectrumInterferenceTestSuite::SpectrumInterferenceTestSuite(), SpectrumValueTestSuite::SpectrumValueTestSuite(), SpectrumWifiPhyTestSuite::SpectrumWifiPhyTestSuite(), SwitchTestSuite::SwitchTestSuite(), TbfQueueDiscTestSuite::TbfQueueDiscTestSuite(), TcFlowControlTestSuite::TcFlowControlTestSuite(), TcpAdvertisedWindowTestSuite::TcpAdvertisedWindowTestSuite(), TcpBicTestSuite::TcpBicTestSuite(), TcpBytesInFlightTestSuite::TcpBytesInFlightTestSuite(), ns3::TcpEcnTestSuite::TcpEcnTestSuite(), TcpEndpointBug2211TestSuite::TcpEndpointBug2211TestSuite(), TcpFastRetrTestSuite::TcpFastRetrTestSuite(), TcpHeaderTestSuite::TcpHeaderTestSuite(), TcpHighSpeedTestSuite::TcpHighSpeedTestSuite(), TcpHtcpTestSuite::TcpHtcpTestSuite(), TcpHyblaTestSuite::TcpHyblaTestSuite(), TcpIllinoisTestSuite::TcpIllinoisTestSuite(), TcpLedbatTestSuite::TcpLedbatTestSuite(), ns3::TcpLpTestSuite::TcpLpTestSuite(), TcpOptionTestSuite::TcpOptionTestSuite(), TcpPktsAckedTestSuite::TcpPktsAckedTestSuite(), TcpRenoCongAvoidTestSuite::TcpRenoCongAvoidTestSuite(), TcpRtoTestSuite::TcpRtoTestSuite(), TcpRttEstimationTestSuite::TcpRttEstimationTestSuite(), TcpRxBufferTestSuite::TcpRxBufferTestSuite(), TcpSackPermittedTestSuite::TcpSackPermittedTestSuite(), TcpScalableTestSuite::TcpScalableTestSuite(), TcpSlowStartTestSuite::TcpSlowStartTestSuite(), ns3::TcpTcpCloseTestSuite::TcpTcpCloseTestSuite(), TcpTestSuite::TcpTestSuite(), TcpTimestampTestSuite::TcpTimestampTestSuite(), TcpTxBufferTestSuite::TcpTxBufferTestSuite(), TcpVegasTestSuite::TcpVegasTestSuite(), TcpVenoTestSuite::TcpVenoTestSuite(), TcpWScalingTestSuite::TcpWScalingTestSuite(), TcpYeahTestSuite::TcpYeahTestSuite(), TcpZeroWindowTestSuite::TcpZeroWindowTestSuite(), TestCarrierAggregationSuite::TestCarrierAggregationSuite(), ThreadedSimulatorTestSuite::ThreadedSimulatorTestSuite(), TimerTestSuite::TimerTestSuite(), TimeTestSuite::TimeTestSuite(), TracedCallbackTestSuite::TracedCallbackTestSuite(), TracedCallbackTypedefTestSuite::TracedCallbackTypedefTestSuite(), TracedValueCallbackTestSuite::TracedValueCallbackTestSuite(), TvHelperDistributionTestSuite::TvHelperDistributionTestSuite(), TvSpectrumTransmitterTestSuite::TvSpectrumTransmitterTestSuite(), TxDurationTestSuite::TxDurationTestSuite(), TypeIdPerformanceSuite::TypeIdPerformanceSuite(), TypeIdTestSuite::TypeIdTestSuite(), ns3::tests::TypeTraitsTestSuite::TypeTraitsTestSuite(), UanEnergyModelTestSuite::UanEnergyModelTestSuite(), UanTestSuite::UanTestSuite(), UdpClientServerTestSuite::UdpClientServerTestSuite(), UdpTestSuite::UdpTestSuite(), ns3::tests::WatchdogTestSuite::WatchdogTestSuite(), WaveformGeneratorTestSuite::WaveformGeneratorTestSuite(), WaveMacTestSuite::WaveMacTestSuite(), WifiAcMappingTestSuite::WifiAcMappingTestSuite(), WifiAggregationTestSuite::WifiAggregationTestSuite(), WifiErrorRateModelsTestSuite::WifiErrorRateModelsTestSuite(), WifiInterferenceTestSuite::WifiInterferenceTestSuite(), WifiMsduAggregatorTestSuite::WifiMsduAggregatorTestSuite(), WifiPhyReceptionTestSuite::WifiPhyReceptionTestSuite(), WifiPhyThresholdsTestSuite::WifiPhyThresholdsTestSuite(), WifiTestSuite::WifiTestSuite(), and WifiTransmitMaskTestSuite::WifiTransmitMaskTestSuite().
|
protected |
Construct the full path to a file in the data directory.
The data directory is configured by SetDataDirectory().
[in] | filename | The bare (no path) file name |
filename
in the data directory Definition at line 412 of file test.cc.
References ns3::SystemPath::Append(), ns3::TestRunnerImpl::GetTopLevelSourceDir(), m_dataDir, m_parent, m_runner, NS_FATAL_ERROR, and NS_LOG_FUNCTION.
Referenced by CreateTempDirFilename(), MobilityTraceTestCase::DoRun(), ReadFileTestCase::DoRun(), DiffTestCase::DoRun(), Ns3TcpLossTestCase::DoSetup(), Ns3TcpStateTestCase::DoSetup(), and Ns3TcpInteroperabilityTestCase::DoSetup().
|
protected |
Construct the full path to a file in a temporary directory.
If the TestRunner is invoked with "--update-data", this will be the data directory instead.
[in] | filename | The bare (no path) file name |
filename
in the temporary directory. Definition at line 430 of file test.cc.
References ns3::SystemPath::Append(), CreateDataDirFilename(), ns3::TestRunnerImpl::GetTempDir(), ns3::SystemPath::Join(), m_name, m_parent, m_runner, ns3::SystemPath::MakeDirectories(), ns3::TestRunnerImpl::MustUpdateData(), and NS_LOG_FUNCTION.
Referenced by PeerManagementProtocolRegressionTest::CreateDevices(), HwmpProactiveRegressionTest::CreateDevices(), FlameRegressionTest::CreateDevices(), HwmpDoRfRegressionTest::CreateDevices(), HwmpSimplestRegressionTest::CreateDevices(), HwmpReactiveRegressionTest::CreateDevices(), ChainRegressionTest::CreateDevices(), MobilityTraceTestCase::DoRun(), WriteModeCreateTestCase::DoSetup(), ReadModeCreateTestCase::DoSetup(), FileHeaderTestCase::DoSetup(), and RecordHeaderTestCase::DoSetup().
|
privatepure virtual |
Implementation to actually run this TestCase.
Subclasses should override this method to conduct their tests.
Implemented in RandomVariableStreamEmpiricalAntitheticTestCase, RandomVariableStreamEmpiricalTestCase, RandomVariableStreamDeterministicTestCase, RandomVariableStreamZetaAntitheticTestCase, RandomVariableStreamZetaTestCase, RandomVariableStreamZipfAntitheticTestCase, RandomVariableStreamZipfTestCase, RandomVariableStreamErlangAntitheticTestCase, RandomVariableStreamErlangTestCase, RandomVariableStreamGammaAntitheticTestCase, Bug2470TestCase, RandomVariableStreamGammaTestCase, StaWifiMacScanningTestCase, RandomVariableStreamLogNormalAntitheticTestCase, RandomVariableStreamLogNormalTestCase, Bug2831TestCase, RandomVariableStreamWeibullAntitheticTestCase, ns3::TestSuite, CallbackValueTestCase, Bug2843TestCase, RandomVariableStreamWeibullTestCase, TestAmpduReception, PointerAttributeTestCase, Bug2222TestCase, ns3::int64x64::test::Int64x64ImplTestCase, TracedCallbackTestCase, RandomVariableStreamParetoAntitheticTestCase, Ipv4GlobalRoutingSlash32TestCase, DiffTestCase, IntegerTraceSourceTestCase, TestPhyHeadersReception, AnnexC_TestCase, RandomVariableStreamParetoTestCase, MeasurementReportTestCase, ReadFileTestCase, IntegerTraceSourceAttributeTestCase, ns3::int64x64::test::Int64x64DoubleTestCase, RrcConnectionRejectTestCase, ns3::tests::AlternateFindTestCase, ObjectMapAttributeTestCase, RrcConnectionReestablishmentCompleteTestCase, CsmaStarTestCase, ns3::tests::RelativeFindTestCase, RandomVariableStreamExponentialAntitheticTestCase, SetChannelFrequencyTest, ns3::int64x64::test::Int64x64InvertTestCase, RrcConnectionReestablishmentTestCase, Ipv4DynamicGlobalRoutingTestCase, ObjectVectorAttributeTestCase, ns3::tests::FullyQualifiedFindTestCase, RrcConnectionReestablishmentRequestTestCase, RandomVariableStreamAttributeTestCase, CsmaRawIpSocketTestCase, ns3::tests::SearchAttributesOfParentObjectsTestCase, TestSimpleFrameCaptureModel, RandomVariableStreamExponentialTestCase, ns3::tests::StringContextFindTestCase, ns3::int64x64::test::Int64x64CompareTestCase, PacketTagListTest, HandoverPreparationInfoTestCase, AttributeTestCase< T >, QosFragmentationTestCase, ns3::tests::BasicFindTestCase, TwoBridgeTest, RecordHeaderTestCase, CsmaPingTestCase, ns3::tests::ObjectVectorTraceConfigTestCase, AttributeTestCase< T >, ns3::tests::FindPathTestCase, RandomVariableStreamNormalAntitheticTestCase, ns3::int64x64::test::Int64x64Bug1786TestCase, AttributeTestCase< T >, ns3::aodv::AodvRtableTest, MakeCallbackTemplatesTestCase, ChannelAccessTestCase, ns3::tests::RelativeRenameTestCase, CsmaPacketSocketTestCase, Bug730TestCase, LteRrcConnectionEstablishmentErrorTestCase, ns3::int64x64::test::Int64x64Bug863TestCase, DsrRreqTableTest, AttributeTestCase< T >, NullifyCallbackTestCase, GeoToCartesianTestCase, BridgeTest, RrcConnectionReconfigurationTestCase, Ipv4RipSplitHorizonStrategyTest, ns3::aodv::AodvRtableEntryTest, ns3::tests::FullyQualifiedRenameTestCase, Ipv6RipngSplitHorizonStrategyTest, RandomVariableStreamNormalTestCase, Udp6SocketImplTest, ns3::int64x64::test::Int64x64Bug455TestCase, LteUeMeasurementsHandoverTestCase, HeAggregationTest, ns3::tests::ObjectVectorConfigTestCase, RrcConnectionReconfigurationCompleteTestCase, DsrSendBuffTest, ns3::tests::StringContextRenameTestCase, CsmaOneSubnetTestCase, RandomVariableStreamSequentialTestCase, FqCoDelQueueDiscUDPFlowsSeparation, AttributeTestCase< T >, TestThresholdPreambleDetectionWithFrameCapture, FileHeaderTestCase, CoDelQueueDiscBasicDrop, DcfImmediateAccessBroadcastTestCase, PacketTest, ns3::tests::ObjectFactoryTestCase, TwoLanTest, RrcConnectionSetupCompleteTestCase, RangePropagationLossModelTestCase, Ns3TcpCwndTestCase2, DsrCacheEntryTest, RandomVariableStreamConstantTestCase, LteDistributedFfrAreaTestCase, ns3::tests::IncrementalTestCase, ns3::aodv::AodvRqueueTest, ns3::tests::BasicRenameTestCase, WifiPhyThresholdsStrongForeignSignalTest, ns3::TcpGeneralTest, LteEnhancedFfrAreaTestCase, TcpHeaderFlagsToString, CoDelQueueDiscControlLawTest, AttributeTestCase< T >, ns3::tests::Hash64FunctionPtrTestCase, MatrixPropagationLossModelTestCase, ns3::tests::CommandLineNonOptionTestCase, RrcConnectionSetupTestCase, FqCoDelQueueDiscTCPFlowsSeparation, ns3::tests::UnderRootNamespaceConfigTestCase, ns3::int64x64::test::Int64x64ArithmeticTestCase, BlockAckAggregationDisabledTest, DsrAckHeaderTest, LteSoftFfrAreaTestCase, ns3::aodv::QueueEntryTest, WaypointMobilityModelViaHelper, LookupTimeTestCase, ChannelRoutingTestCase, LteUeMeasurementsPiecewiseTestCase2, RngParetoTestCase, WifiPhyThresholdsStrongWifiSignalTest, PacketMetadataTest, QueueDiscTracesTestCase, EpcS1uUlTestCase, ns3::tests::Hash32FunctionPtrTestCase, LteSoftFrAreaTestCase, CoDelQueueDiscNewtonStepTest, ns3::tests::CommandLineInvalidTestCase, MakeBoundCallbackTestCase, AttributeTestCase< T >, ns3::tests::RelativeAddTestCase, DsrAckReqHeaderTest, RrcConnectionRequestTestCase, LteStrictFrAreaTestCase, Ipv4RipCountToInfinityTest, Ipv6RipngCountToInfinityTest, TwoLinkTest, WifiPhyThresholdsWeakForeignSignalTest, OlsrHnaTestCase, ns3::tests::RootNamespaceConfigTestCase, ns3::tests::CommandLineOrderTestCase, CsmaMulticastTestCase, RandomVariableStreamUniformAntitheticTestCase, SpectrumWifiPhyListenerTest, ns3::aodv::RerrHeaderTest, UdpEchoClientSetFillTestCase, PfifoFastQueueDiscNoPriority, DeprecatedAttributeTestCase, AddressCollisionTestCase, LogDistancePropagationLossModelTestCase, ns3::int64x64::test::Int64x64InputOutputTestCase, CtrlBAckResponseHeaderTest, DsrRerrHeaderTest, LteFrAreaTestCase, TwoLevelAggregationTest, WifiPhyThresholdsWeakWifiSignalTest, ns3::aodv::RrepAckHeaderTest, ns3::tests::CommandLineStringTestCase, TcpYeahDecrementTest, InterferenceHelperSequenceTest, OlsrTcTestCase, Ns2MobilityHelperTest, CoDelQueueDiscBasicOverflow, AddressCollision6TestCase, ns3::tests::FullyQualifiedAddTestCase, TcpLedbatDecrementTest, ns3::tests::AggregateObjectTestCase, RngExponentialTestCase, AcousticModemEnergyDepletionTestCase, ns3::tests::Murmur3TestCase, CobaltQueueDiscDropTest, TestFulfilledAlignment, PeerLinkFrameStartTest, TimestampValueTestCase, QosUtilsIsOldPacketTest, ns3::tests::CommandLineUnsignedIntTestCase, UdpSocketImplTest, ExampleAddressGeneratorTestCase, TcpBicDecrementTest, LanTest, IpAddressHelperTestCasev4, ReadModeCreateTestCase, FqCoDelQueueDiscDeficit, DsrSRHeaderTest, WaypointInitialPositionIsWaypoint, Ns3TcpCwndTestCase1, TracedValueCallbackTestCase, PfifoFastQueueDiscOverflow, ns3::aodv::RrepHeaderTest, PacketLossCounterTestCase, ns3::tests::Fnv1aTestCase, LteUeMeasurementsPiecewiseTestCase1, ns3::int64x64::test::Int64x64InputTestCase, ChainRegressionTest, MakeCallbackTestCase, ExampleAddress6GeneratorTestCase, WaypointMobilityModelAddWaypointTest, LteRlcAmTransmitterReportBufferStatusTestCase, LteUplinkClosedLoopPowerControlAccumulatedModeTestCase, TestOptionWithAlignment, FiveDoublesTestCase, SimulatorTemplateTestCase, LteRlcUmTransmitterReportBufferStatusTestCase, OlsrHelloTestCase, FiveDoublesAverageTestCase, ns3::tests::CommandLineIntTestCase, PacketBufferingCaseB, LteStrictFrTestCase, Ns3WimaxSFTypeTestCase, BurstErrorModelSimple, ns3::tests::StringContextAddTestCase, ns3::TcpLpInferenceTest2, ns3::tests::CreateObjectTestCase, LteDownlinkPowerControlRrcConnectionReconfigurationTestCase, TimeInputOutputTestCase, TcpHeaderWithRFC793OptionTestCase, LteTxPsdTestCase, LteUplinkClosedLoopPowerControlAbsoluteModeTestCase, CsmaBroadcastTestCase, NscTcpLossTestCase2, ns3::tests::DefaultHashTestCase, DsrRrepHeaderTest, WifiErrorRateModelsTestCaseNist, LteRlcAmTransmitterConcatenationTestCase, Ns3TcpSocketTestCase2, LteRlcUmTransmitterConcatenationTestCase, SameRoomPositionAllocatorTestCase, PrioQueueDiscTestCase, ns3::aodv::RreqHeaderTest, TcpLedbatIncrementTest, NetworkAndAddressTestCase, LteUplinkOpenLoopPowerControlTestCase, Ns3WimaxSfTlvTestCase, RngNormalTestCase, LteEarfcnUlTestCase, FqCoDelQueueDiscIPFlowsSeparationAndPacketLimit, NetworkAndAddress6TestCase, TwoRayGroundPropagationLossModelTestCase, ResetAllocatorHelperTestCase, LteRlcAmTransmitterSegmentationTestCase, TcpOptionTSTestCase, LteCqiGenerationDlPowerControlTestCase, WaypointLazyNotifyTrue, LteRlcUmTransmitterSegmentationTestCase, Ns3WimaxSNRtoBLERTestCase, UdpTraceClientServerTestCase, RandomVariableStreamUniformTestCase, LteHardFrTestCase, ns3::RlcAmStatusPduTestCase, ns3::tests::CommandLineBooleanTestCase, LinkTest, CollisionTestCase, Ipv6FragmentationTest, CoDelQueueDiscBasicEnqueueDequeue, ns3::int64x64::test::Int64x64HiLoTestCase, TcpScalableDecrementTest, LteHandoverTargetTestCase, DsdvTableTestCase, Udp6SocketLoopbackTest, RrcHeaderTestCase, ns3::aodv::TypeHeaderTest, LteEpcE2eDataTestCase, PfifoFastQueueDiscDscpPrioritization, LteX2HandoverMeasuresTestCase, ChannelAccessManagerTest, Ipv6ListRoutingPositiveTestCase, Ipv4FragmentationTest, LenaFdTbfqFfMacSchedulerTestCase2, LteRlcAmTransmitterOneSduTestCase, ThreeGppHttpObjectTestCase, DsrRreqHeaderTest, EpcTftClassifierTestCase, CobaltQueueDiscBasicEnqueueDequeue, LteCellSelectionTestCase, LenaCqaFfMacSchedulerTestCase2, LteDownlinkPowerControlTestCase, LenaPssFfMacSchedulerTestCase2, LteRlcUmTransmitterOneSduTestCase, LteUplinkSrsSinrTestCase, FiveIntegersAverageTestCase, FiveIntegersTestCase, TimeWithSignTestCase, ns3::TcpLpInferenceTest1, EpcS1uDlTestCase, LteNoisePsdTestCase, LteUplinkPowerControlTestCase, Ipv4ListRoutingPositiveTestCase, LenaTdTbfqFfMacSchedulerTestCase2, TcFlowControlTestCase, TestOptionWithoutAlignment, LenaFdBetFfMacSchedulerTestCase2, ns3::tests::BasicAddTestCase, HwmpRtableTest, Ns3WimaxManagementConnectionsTestCase, TcpHighSpeedDecrementTest, LenaDlCtrlPhyErrorModelTestCase, LteUeMeasurementsTestCase, LenaTdBetFfMacSchedulerTestCase2, SequenceNumberTestCase, RedQueueDiscTestCase, LteDownlinkCtrlSinrTestCase, LteInterferenceStrictFrTestCase, LenaPfFfMacSchedulerTestCase2, CarrierAggregationConfigTestCase, AredQueueDiscTestCase, TbfQueueDiscTestCase, LteEarfcnDlTestCase, ns3::tests::PtrTestCase, FifoQueueDiscTestCase, TimerTemplateTestCase, LteIpv6RoutingTestCase, PieQueueDiscTestCase, Ns3TcpInteroperabilityTestCase, BuildingsHelperOneTestCase, LrWpanCcaTestCase, BriteTopologyFunctionTestCase, ns3::tests::SampleTestCase1, WriteModeCreateTestCase, WifiTest, LteRadioLinkFailureTestCase, FqCoDelQueueDiscNoSuitableFilter, AddressAllocatorTestCase, Ipv4RawSocketImplTest, SpectrumWifiPhyBasicTest, AddressAllocatorHelperTestCase, Ipv6PacketInfoTagTest, TestThresholdPreambleDetectionWithoutFrameCapture, AddressAllocator6TestCase, LteInterferenceTestCase, ns3::tests::HashTestCase, LrWpanAckTestCase, ns3::olsr::TcRegressionTest, LrWpanErrorModelTestCase, LteCqiGenerationTestCase, RandCartAroundGeoTestCase, TracedCallbackTypedefTestCase, OcbWifiMacTestCase, LteHandoverDelayTestCase, LteX2HandoverTestCase, LteDownlinkPowerControlSpectrumValueTestCase, Ipv4HeaderTest, Ipv6ListRoutingNegativeTestCase, CarrierAggregationTestCase, LteFrTestCase, LteEnbAntennaTestCase, TestInterBssConstantObssPdAlgo, PacketBufferingCaseA, TcpTestCase, Ns3TcpStateTestCase, Ipv6RawSocketImplTest, ErrorModelSimple, ChannelCoordinationTestCase, ns3::aodv::LoopbackTestCase, HwmpReactiveRegressionTest, ProbeTestCase1, Ns3TcpLossTestCase, TwoVectorsConstructorTestCase, Bug772ChainTest, TcpEndPointBug2211Test, LteRlcAmTransmitterTestCase, RadiansToDegreesTestCase, LtePathlossModelSystemTestCase, LteRlcUmTransmitterTestCase, SpectrumIdealPhyTestCase, Ipv4ListRoutingNegativeTestCase, HwmpSimplestRegressionTest, AcousticModemEnergyTestCase, DsrFsHeaderTest, Ipv4StaticRoutingSlash32TestCase, HwmpDoRfRegressionTest, SixlowpanIphcImplTest, WifiOfdmMaskSlopesTestCase, Ipv4ForwardingTest, Ipv4RipTest, LteSecondaryCellSelectionTestCase, Ipv6RipngTest, FlameRtableTest, Ipv6ForwardingTest, UdpSocketLoopbackTest, LenaFdTbfqFfMacSchedulerTestCase1, LteLinkAdaptationTestCase, RandomRoomPositionAllocatorTestCase, LteDownlinkDataSinrTestCase, LteInterferenceHardFrTestCase, LenaPssFfMacSchedulerTestCase1, LenaTdTbfqFfMacSchedulerTestCase1, LteUplinkDataSinrTestCase, FlameRegressionTest, TcpIllinoisTest, LenaFdBetFfMacSchedulerTestCase1, LenaFdMtFfMacSchedulerTestCase, SixlowpanHc1ImplTest, DsdvHeaderTestCase, LenaCqaFfMacSchedulerTestCase1, LenaTdBetFfMacSchedulerTestCase1, LenaTdMtFfMacSchedulerTestCase, LenaTtaFfMacSchedulerTestCase, OlsrMidTestCase, SixlowpanFragmentationTest, Ipv4PacketInfoTagTest, TcpYeahIncrementTest, LenaPfFfMacSchedulerTestCase1, LteRrcConnectionEstablishmentTestCase, DualStackTestCase, LteRlcAmE2eTestCase, ThreadedSimulatorEventsTestCase, PrrRecoveryTest, TcpVenoTest, HwmpProactiveRegressionTest, AbstractAnimationInterfaceTestCase, TcpVegasTest, LteRlcUmE2eTestCase, PeerManagementProtocolRegressionTest, TcpHtcpIncrementTest, LrWpanErrorDistanceTestCase, LteAggregationThroughputScaleTestCase, WaypointLazyNotifyFalse, ns3::olsr::HelloRegressionTest, LenaDataPhyErrorModelTestCase, OlsrMprTestCase, CsmaBridgeTestCase, ns3::tests::EventGarbageCollectorTestCase, RngUniformTestCase, TcpHeaderGetSetTestCase, EpsGtpuHeaderTestCase, LenaRrFfMacSchedulerTestCase, WaypointMobilityModelNotifyTest, UdpClientServerTestCase, TcpLedbatToNewReno, TcpScalableIncrementTest, DhcpTestCase, LteSpectrumModelTestCase, LteEarfcnTestCase, LenaHarqTestCase, NscTcpLossTestCase1, TcpBicIncrementTest, ClassicRecoveryTest, TcpOptionWSTestCase, ns3::tests::GlobalValueTestCase, TimerStateTestCase, LrWpanCollisionTestCase, LenaMimoTestCase, TvHelperDistributionTestCase, Ns3TcpSocketTestCase1, ns3::tests::ManyUniformRandomVariablesOneGetValueCallTestCase, MeshInformationElementVectorBist, TvSpectrumTransmitterTestCase, Ns3TcpNoDelayTestCase, WifiErrorRateModelsTestCaseDsss, ns3::aodv::IdCacheTest, ns3::tests::BuildProfileTestCase, ns3::tests::OneUniformRandomVariableManyGetValueCallsTestCase, PbbTestCase, Ns3WimaxSimpleOFDMTestCase, TcpHyblaIncrementTest, MobilityTraceTestCase, BasicCallbackTestCase, UniqueTypeIdTestCase, LrWpanEdTestCase, BufferTest, RocketfuelTopologyReaderTest, AmpduAggregationTest, ns3::LenaDeactivateBearerTestCase, MeshHeaderTest, CosineAntennaModelTestCase, ParabolicAntennaModelTestCase, GlobalRouteManagerImplTestCase, TcpHighSpeedIncrementTest, Ns3WimaxSchedulingTestCase, ns3::tests::TypeTraitsTestCase, TestEmptyOptionField, SteadyStateRandomWaypointTest, WifiAcMappingTest, UanTest, Ns3WimaxSfCreationTestCase, BuildingsPathlossTestCase, BuildingsShadowingTestCase, Ipv6L3ProtocolTestCase, PacketSocketAppsTest, SwitchFlowTableTestCase, PointToPointTest, Ns3WimaxCsParamTlvTestCase, Ipv4L3ProtocolTestCase, LrWpanPacketTestCase, DsaRequestTestCase, Ns3WimaxNetworkEntryTestCase, Ns3WimaxFragmentationTestCase, ns3::tests::WatchdogTestCase, ns3::olsr::Bug780Test, IpAddressHelperTestCasev6, ns3::TcpLpToNewReno, FriisPropagationLossModelTestCase, PfifoFastQueueDiscTosPrioritization, TxDurationTest, LrWpanPlmeAndPdInterfaceTestCase, ItuR1411LosPropagationLossModelTestCase, ItuR1411NlosOverRooftopPropagationLossModelTestCase, Kun2600MhzPropagationLossModelTestCase, OkumuraHataPropagationLossModelTestCase, OneIntegerAverageTestCase, PowerRateAdaptationTest, ns3::aodv::NeighborTest, BasicEnergyHarvesterTestCase, RttEstimatorTestCase, LrWpanSpectrumValueHelperTestCase, FlameHeaderTest, SpectrumInterferenceTestCase, SpectrumValueTestCase, WifiInterferenceTestCase, BriteTopologyStructureTestCase, HistogramTestCase, TcpTxBufferTestCase, OneIntegerTestCase, WifiMsduAggregatorThroughputTest, TimeSimpleTestCase, TcpRxBufferTestCase, DegreesToRadiansTestCase, IsotropicAntennaModelTestCase, OneVectorConstructorTestCase, LiIonEnergyTestCase, OlsrEmfTestCase, WaveformGeneratorTestCase, NetworkAllocatorHelperTestCase, NetworkNumber6AllocatorTestCase, NetworkNumberAllocatorTestCase, DropTailQueueTestCase, Ipv6AddressTestCase, SimulatorEventsTestCase, and BasicTracedCallbackTestCase.
|
privatevirtual |
Implementation to do any local setup required for this TestCase.
Subclasses should override this method to perform any costly per-test setup before DoRun is invoked.
Reimplemented in TestAmpduReception, TestPhyHeadersReception, ReadFileTestCase, TestSimpleFrameCaptureModel, TwoBridgeTest, RecordHeaderTestCase, NullifyCallbackTestCase, BridgeTest, FileHeaderTestCase, TwoLanTest, TestThresholdPreambleDetectionWithFrameCapture, LookupTimeTestCase, MakeBoundCallbackTestCase, TwoLinkTest, SpectrumWifiPhyListenerTest, Ns2MobilityHelperTest, LanTest, ReadModeCreateTestCase, MakeCallbackTestCase, LinkTest, TimeWithSignTestCase, WifiPhyThresholdsTest, Ns3TcpInteroperabilityTestCase, WriteModeCreateTestCase, Ns3TcpStateTestCase, Ns3TcpLossTestCase, TestThresholdPreambleDetectionWithoutFrameCapture, ThreadedSimulatorEventsTestCase, SpectrumWifiPhyBasicTest, BasicCallbackTestCase, and TimeSimpleTestCase.
Definition at line 472 of file test.cc.
References NS_LOG_FUNCTION.
Referenced by Run().
|
privatevirtual |
Implementation to do any local setup required for this TestCase.
Subclasses should override this method to perform any costly per-test teardown
Reimplemented in ReadFileTestCase, ns3::tests::AlternateFindTestCase, ns3::tests::RelativeFindTestCase, ns3::tests::FullyQualifiedFindTestCase, ns3::tests::StringContextFindTestCase, ns3::tests::BasicFindTestCase, RecordHeaderTestCase, ns3::tests::FindPathTestCase, ns3::tests::RelativeRenameTestCase, ns3::tests::FullyQualifiedRenameTestCase, LteUeMeasurementsHandoverTestCase, ns3::tests::StringContextRenameTestCase, FileHeaderTestCase, ns3::TcpGeneralTest, ns3::tests::BasicRenameTestCase, LteUeMeasurementsPiecewiseTestCase2, ns3::tests::RelativeAddTestCase, AddressCollisionTestCase, AddressCollision6TestCase, ns3::tests::FullyQualifiedAddTestCase, Ns2MobilityHelperTest, TimestampValueTestCase, ExampleAddressGeneratorTestCase, IpAddressHelperTestCasev4, ReadModeCreateTestCase, LteUeMeasurementsPiecewiseTestCase1, ExampleAddress6GeneratorTestCase, WaypointMobilityModelAddWaypointTest, ns3::tests::StringContextAddTestCase, TcpHeaderWithRFC793OptionTestCase, NetworkAndAddressTestCase, NetworkAndAddress6TestCase, ResetAllocatorHelperTestCase, TcpOptionTSTestCase, LteHandoverTargetTestCase, ThreeGppHttpObjectTestCase, TimeWithSignTestCase, ns3::tests::BasicAddTestCase, TimerTemplateTestCase, Ns3TcpInteroperabilityTestCase, WriteModeCreateTestCase, AddressAllocatorTestCase, AddressAllocatorHelperTestCase, AddressAllocator6TestCase, TcpTestCase, Ns3TcpStateTestCase, Ns3TcpLossTestCase, DualStackTestCase, ThreadedSimulatorEventsTestCase, TcpHeaderGetSetTestCase, WaypointMobilityModelNotifyTest, TcpOptionWSTestCase, SteadyStateRandomWaypointTest, IpAddressHelperTestCasev6, RttEstimatorTestCase, TcpTxBufferTestCase, TimeSimpleTestCase, TcpRxBufferTestCase, NetworkAllocatorHelperTestCase, NetworkNumber6AllocatorTestCase, and NetworkNumberAllocatorTestCase.
Definition at line 477 of file test.cc.
References NS_LOG_FUNCTION.
std::string ns3::TestCase::GetName | ( | void | ) | const |
Definition at line 370 of file test.cc.
References m_name, and NS_LOG_FUNCTION.
Referenced by PacketTagListTest::AddRemoveTime(), ns3::tests::HashTestCase::Check(), ns3::int64x64::test::Int64x64HiLoTestCase::Check(), TimeInputOutputTestCase::Check(), ns3::int64x64::test::Int64x64InputTestCase::Check(), ns3::int64x64::test::Int64x64InputOutputTestCase::Check(), ns3::int64x64::test::Int64x64Bug455TestCase::Check(), ns3::int64x64::test::Int64x64Bug863TestCase::Check(), ns3::int64x64::test::Int64x64Bug1786TestCase::Check(), ns3::int64x64::test::Int64x64CompareTestCase::Check(), ns3::int64x64::test::Int64x64DoubleTestCase::Check(), ns3::int64x64::test::Int64x64InvertTestCase::CheckCase(), UniqueTypeIdTestCase::DoRun(), ns3::tests::BuildProfileTestCase::DoRun(), LenaMimoTestCase::DoRun(), LteRrcConnectionEstablishmentTestCase::DoRun(), LenaCqaFfMacSchedulerTestCase1::DoRun(), LteInterferenceHardFrTestCase::DoRun(), LenaPssFfMacSchedulerTestCase1::DoRun(), LenaTdTbfqFfMacSchedulerTestCase1::DoRun(), LenaFdTbfqFfMacSchedulerTestCase1::DoRun(), LteSecondaryCellSelectionTestCase::DoRun(), LteInterferenceTestCase::DoRun(), LteRadioLinkFailureTestCase::DoRun(), LteInterferenceStrictFrTestCase::DoRun(), LteUeMeasurementsTestCase::DoRun(), LteCellSelectionTestCase::DoRun(), ThreeGppHttpObjectTestCase::DoRun(), LteEpcE2eDataTestCase::DoRun(), ns3::int64x64::test::Int64x64HiLoTestCase::DoRun(), LteHandoverTargetTestCase::DoRun(), CollisionTestCase::DoRun(), ns3::tests::DefaultHashTestCase::DoRun(), TimeInputOutputTestCase::DoRun(), ns3::int64x64::test::Int64x64InputTestCase::DoRun(), LteUeMeasurementsPiecewiseTestCase1::DoRun(), ns3::int64x64::test::Int64x64InputOutputTestCase::DoRun(), DeprecatedAttributeTestCase::DoRun(), LteUeMeasurementsPiecewiseTestCase2::DoRun(), LookupTimeTestCase::DoRun(), ns3::int64x64::test::Int64x64ArithmeticTestCase::DoRun(), ns3::tests::IncrementalTestCase::DoRun(), LteUeMeasurementsHandoverTestCase::DoRun(), ns3::int64x64::test::Int64x64Bug455TestCase::DoRun(), ns3::int64x64::test::Int64x64Bug863TestCase::DoRun(), LteRrcConnectionEstablishmentErrorTestCase::DoRun(), ns3::int64x64::test::Int64x64Bug1786TestCase::DoRun(), PacketTagListTest::DoRun(), ns3::int64x64::test::Int64x64CompareTestCase::DoRun(), ns3::int64x64::test::Int64x64InvertTestCase::DoRun(), ns3::int64x64::test::Int64x64DoubleTestCase::DoRun(), ns3::int64x64::test::Int64x64ImplTestCase::DoRun(), ThreeGppHttpObjectTestCase::DoTeardown(), LteAggregationThroughputScaleTestCase::GetThroughput(), LteAggregationThroughputScaleTestCase::LteAggregationThroughputScaleTestCase(), LteCellSelectionTestCase::LteCellSelectionTestCase(), LteRadioLinkFailureTestCase::LteRadioLinkFailureTestCase(), LteRrcConnectionEstablishmentErrorTestCase::LteRrcConnectionEstablishmentErrorTestCase(), LteRrcConnectionEstablishmentTestCase::LteRrcConnectionEstablishmentTestCase(), LteSecondaryCellSelectionTestCase::LteSecondaryCellSelectionTestCase(), ns3::tests::CommandLineTestCaseBase::Parse(), PacketTagListTest::RemoveTime(), ThreeGppHttpObjectTestCase::ThreeGppHttpObjectTestCase(), LteAggregationThroughputScaleTestCase::~LteAggregationThroughputScaleTestCase(), LteCellSelectionTestCase::~LteCellSelectionTestCase(), LteRadioLinkFailureTestCase::~LteRadioLinkFailureTestCase(), and LteSecondaryCellSelectionTestCase::~LteSecondaryCellSelectionTestCase().
|
protected |
Get the parent of this TestCsse.
Definition at line 376 of file test.cc.
References m_parent.
Referenced by ns3::int64x64::test::Int64x64HiLoTestCase::Check(), TimeInputOutputTestCase::Check(), ns3::int64x64::test::Int64x64InputTestCase::Check(), ns3::int64x64::test::Int64x64InputOutputTestCase::Check(), ns3::int64x64::test::Int64x64Bug455TestCase::Check(), ns3::int64x64::test::Int64x64Bug863TestCase::Check(), ns3::int64x64::test::Int64x64Bug1786TestCase::Check(), ns3::int64x64::test::Int64x64CompareTestCase::Check(), ns3::int64x64::test::Int64x64DoubleTestCase::Check(), ns3::int64x64::test::Int64x64InvertTestCase::CheckCase(), ns3::int64x64::test::Int64x64HiLoTestCase::DoRun(), TimeInputOutputTestCase::DoRun(), ns3::int64x64::test::Int64x64InputTestCase::DoRun(), ns3::int64x64::test::Int64x64InputOutputTestCase::DoRun(), ns3::int64x64::test::Int64x64ArithmeticTestCase::DoRun(), ns3::int64x64::test::Int64x64Bug455TestCase::DoRun(), ns3::int64x64::test::Int64x64Bug863TestCase::DoRun(), ns3::int64x64::test::Int64x64Bug1786TestCase::DoRun(), ns3::int64x64::test::Int64x64CompareTestCase::DoRun(), ns3::int64x64::test::Int64x64InvertTestCase::DoRun(), ns3::int64x64::test::Int64x64DoubleTestCase::DoRun(), ns3::int64x64::test::Int64x64ImplTestCase::DoRun(), and ns3::tests::CommandLineTestCaseBase::Parse().
|
private |
Check if any tests failed.
true
if any of the tests have failed, false
otherwise. Definition at line 340 of file test.cc.
References ns3::TestCase::Result::childrenFailed, ns3::TestCase::Result::failure, m_result, and NS_LOG_FUNCTION.
|
protected |
Check if any tests failed.
true
if any of the tests have failed, false
otherwise. Definition at line 452 of file test.cc.
References IsStatusSuccess(), and NS_LOG_FUNCTION.
|
protected |
Check if all tests passed.
true
if the tests have succeeded, false
otherwise. Definition at line 458 of file test.cc.
References ns3::TestCase::Result::failure, m_result, and NS_LOG_FUNCTION.
Referenced by Ns3TcpLossTestCase::Ipv4L3Tx(), Ns3TcpStateTestCase::Ipv4L3Tx(), Ns3TcpInteroperabilityTestCase::Ipv4L3Tx(), and IsStatusFailure().
|
protected |
Check if this run should assert on failure.
true
if we should assert on failure. Definition at line 399 of file test.cc.
References m_runner, ns3::TestRunnerImpl::MustAssertOnFailure(), and NS_LOG_FUNCTION.
|
protected |
Check if this run should continue on failure.
true
if we should continue on failure. Definition at line 405 of file test.cc.
References m_runner, ns3::TestRunnerImpl::MustContinueOnFailure(), and NS_LOG_FUNCTION.
|
protected |
Log the failure of this TestCase.
[in] | cond | The test condition. |
[in] | actual | Actual value of the test. |
[in] | limit | Expected value of the test. |
[in] | message | Message indicating the type of failure. |
[in] | file | The file where the test failed. |
[in] | line | The line number in file where the test failed. |
Definition at line 382 of file test.cc.
References ns3::TestCase::Result::childrenFailed, ns3::TestCase::Result::failure, anonymous_namespace{print-introspected-doxygen.cc}::file, m_parent, m_result, and NS_LOG_FUNCTION.
|
private |
Actually run this TestCase.
[in] | runner | The test runner implementation. |
Definition at line 347 of file test.cc.
References ns3::TestCase::Result::clock, DoSetup(), m_children, m_result, m_runner, NS_LOG_FUNCTION, and ns3::SystemWallClockMs::Start().
|
protected |
Set the data directory where reference trace files can be found.
[in] | directory | The directory where the test data is located |
In general, this method is invoked as SetDataDir (NS_TEST_SOURCEDIR); However, if a module contains a test directory with subdirectories (e.g. src/mesh/test), and the test data (e.g. pcap traces) is located in one of these subdirectories, then the variable NS_TEST_SOURCEDIR may not work and the user may want to explicitly pass in a directory string.
Note that NS_TEST_SOURCEDIR is set in src/wscript for each module
Definition at line 465 of file test.cc.
References m_dataDir, and NS_LOG_FUNCTION.
Referenced by ns3::aodv::AodvLoopbackTestSuite::AodvLoopbackTestSuite(), MobilityTraceTestCase::DoRun(), Ns3TcpInteroperabilityTestSuite::Ns3TcpInteroperabilityTestSuite(), Ns3TcpLossTestSuite::Ns3TcpLossTestSuite(), Ns3TcpStateTestSuite::Ns3TcpStateTestSuite(), and PcapFileTestSuite::PcapFileTestSuite().
|
friend |
|
private |
Vector of my children.
Definition at line 1327 of file test.h.
Referenced by AddTestCase(), Run(), and ~TestCase().
|
private |
My data directory.
Definition at line 1328 of file test.h.
Referenced by CreateDataDirFilename(), and SetDataDir().
|
private |
|
private |
TestCase name.
Definition at line 1331 of file test.h.
Referenced by AddTestCase(), CreateTempDirFilename(), and GetName().
|
private |
Pointer to my parent TestCase.
Definition at line 1324 of file test.h.
Referenced by AddTestCase(), CreateDataDirFilename(), CreateTempDirFilename(), GetParent(), ReportTestFailure(), and ~TestCase().
|
private |
Results data.
Definition at line 1330 of file test.h.
Referenced by IsFailed(), IsStatusSuccess(), ReportTestFailure(), Run(), and ~TestCase().
|
private |
Pointer to the TestRunner.
Definition at line 1329 of file test.h.
Referenced by CreateDataDirFilename(), CreateTempDirFilename(), MustAssertOnFailure(), MustContinueOnFailure(), Run(), and ~TestCase().