encapsulates test code More...
#include "test.h"
Inherited by AbstractAnimationInterfaceTestCase, AcousticModemEnergyDepletionTestCase, AcousticModemEnergyTestCase, AddressAllocator6TestCase, AddressAllocatorHelperTestCase, AddressAllocatorTestCase, AddressCollision6TestCase, AddressCollisionTestCase, AidAssignmentTest, AmpduAggregationTest, AredQueueDiscTestCase, ArrayResponseTest, AttributeContainerSerializationTestCase, AttributeContainerSetGetTestCase, AttributeContainerTestCase, AttributeTestCase< T >, BackoffGenerationTest, BasicCallbackTestCase, BasicEnergyHarvesterTestCase, BasicTracedCallbackTestCase, BitDeserializerTest, BitSerializerTest, BlockAckAggregationDisabledTest, BlockAckRecipientBufferTest, BoxLineIntersectionTestCase, BridgeTest, BriteTopologyFunctionTestCase, BriteTopologyStructureTestCase, BufferTest, Bug2222TestCase, Bug2470TestCase, Bug2831TestCase, Bug2843TestCase, Bug730TestCase, Bug772ChainTest, BuildingsChannelConditionModelTestCase, BuildingsHelperOneTestCase, BuildingsPathlossTestCase, BuildingsPenetrationLossesTestCase, BuildingsShadowingTestCase, BulkSendBasicTestCase, BulkSendSeqTsSizeTestCase, BurstErrorModelSimple, CCAVulnerableWindowTest, CallbackEqualityTestCase, CallbackValueTestCase, CarrierAggregationConfigTestCase, CarrierAggregationTestCase, CartesianToGeoTestCase, ChainRegressionTest, ChannelAccessManagerTest< TxopType >, ChannelTest, CircularApertureAntennaModelTestCase, ClassicRecoveryTest, ClickIfidFromNameTest, ClickIpMacAddressFromNameTest, ClickTrivialTest, CoDelQueueDiscBasicDrop, CoDelQueueDiscBasicEnqueueDequeue, CoDelQueueDiscBasicMark, CoDelQueueDiscBasicOverflow, CoDelQueueDiscControlLawTest, CoDelQueueDiscNewtonStepTest, CobaltQueueDiscBasicEnqueueDequeue, CobaltQueueDiscCeThresholdTest, CobaltQueueDiscDropTest, CobaltQueueDiscEnhancedBlueTest, CobaltQueueDiscMarkTest, CollisionTestCase, CosineAntennaModelTestCase, CsmaBridgeTestCase, CsmaBroadcastTestCase, CsmaMulticastTestCase, CsmaOneSubnetTestCase, CsmaPacketSocketTestCase, CsmaPingTestCase, CsmaRawIpSocketTestCase, CsmaStarTestCase, CtrlBAckResponseHeaderTest, DataRateTestCase, DcfImmediateAccessBroadcastTestCase, DegreesToRadiansTestCase, DeprecatedAttributeTestCase, DhcpTestCase, DiffTestCase, DropTailQueueTestCase, DsaRequestTestCase, DsdvHeaderTestCase, DsdvTableTestCase, DsrAckHeaderTest, DsrAckReqHeaderTest, DsrCacheEntryTest, DsrFsHeaderTest, DsrRerrHeaderTest, DsrRrepHeaderTest, DsrRreqHeaderTest, DsrRreqTableTest, DsrSRHeaderTest, DsrSendBuffTest, DsssModulationTest, DualStackTestCase, DuplicateTest, DynamicNeighborCacheTest, DynamicPartialTest, EmlsrOperationsTestBase, EpcS1uDlTestCase, EpcS1uUlTestCase, EpcTftClassifierTestCase, EpsGtpuHeaderTestCase, ErrorModelSimple, ExampleAddress6GeneratorTestCase, ExampleAddressGeneratorTestCase, FifoQueueDiscTestCase, FileHeaderTestCase, FiveDoublesAverageTestCase, FiveDoublesTestCase, FiveIntegersAverageTestCase, FiveIntegersTestCase, FlameHeaderTest, FlameRegressionTest, FlameRtableTest, FlushTest, FqCoDelQueueDiscDeficit, FqCoDelQueueDiscECNMarking, FqCoDelQueueDiscIPFlowsSeparationAndPacketLimit, FqCoDelQueueDiscL4sMode, FqCoDelQueueDiscNoSuitableFilter, FqCoDelQueueDiscSetLinearProbing, FqCoDelQueueDiscTCPFlowsSeparation, FqCoDelQueueDiscUDPFlowsSeparation, FqCobaltQueueDiscDeficit, FqCobaltQueueDiscEcnMarking, FqCobaltQueueDiscIPFlowsSeparationAndPacketLimit, FqCobaltQueueDiscL4sMode, FqCobaltQueueDiscNoSuitableFilter, FqCobaltQueueDiscSetLinearProbing, FqCobaltQueueDiscTCPFlowsSeparation, FqCobaltQueueDiscUDPFlowsSeparation, FqPieQueueDiscDeficit, FqPieQueueDiscIPFlowsSeparationAndPacketLimit, FqPieQueueDiscL4sMode, FqPieQueueDiscNoSuitableFilter, FqPieQueueDiscSetLinearProbing, FqPieQueueDiscTCPFlowsSeparation, FqPieQueueDiscUDPFlowsSeparation, FriisPropagationLossModelTestCase, FtrFadingModelAverageTest, GeoToAndFromTopocentricTestCase, GeoToCartesianTestCase, GetRnrLinkInfoTest, GlobalRouteManagerImplTestCase, HeRuMcsDataRateTestCase, HeSigBDurationTest, HistogramTestCase, HwmpDoRfRegressionTest, HwmpProactiveRegressionTest, HwmpReactiveRegressionTest, HwmpRtableTest, HwmpSimplestRegressionTest, IcmpEchoReplyTestCase, IcmpTimeExceedTestCase, IcmpV6EchoReplyTestCase, IcmpV6TimeExceedTestCase, IdealRateManagerChannelWidthTest, IdealRateManagerMimoTest, IntegerTraceSourceAttributeTestCase, IntegerTraceSourceTestCase, InterfaceContainerTest, InterferenceHelperSequenceTest, InternetStackHelperTestCase, IpAddressHelperTestCasev4, IpAddressHelperTestCasev6, Ipv4DeduplicationPerformanceTest, Ipv4DeduplicationTest, Ipv4DynamicGlobalRoutingTestCase, Ipv4ForwardingTest, Ipv4FragmentationTest, Ipv4GlobalRoutingSlash32TestCase, Ipv4HeaderTest, Ipv4L3ProtocolTestCase, Ipv4PacketInfoTagTest, Ipv4RawSocketImplTest, Ipv4RipCountToInfinityTest, Ipv4RipSplitHorizonStrategyTest, Ipv4RipTest, Ipv4StaticRoutingSlash32TestCase, Ipv6AddressTestCase, Ipv6DadTest, Ipv6ForwardingTest, Ipv6FragmentationTest, Ipv6L3ProtocolTestCase, Ipv6PacketInfoTagTest, Ipv6RawSocketImplTest, Ipv6RipngCountToInfinityTest, Ipv6RipngSplitHorizonStrategyTest, Ipv6RipngTest, IsotropicAntennaModelTestCase, Issue169TestCase, Issue211Test, Issue40TestCase, ItuR1411LosPropagationLossModelTestCase, ItuR1411NlosOverRooftopPropagationLossModelTestCase, Kun2600MhzPropagationLossModelTestCase, LanTest, LargestIdlePrimaryChannelTest, LenaCqaFfMacSchedulerTestCase1, LenaCqaFfMacSchedulerTestCase2, LenaDataPhyErrorModelTestCase, LenaDlCtrlPhyErrorModelTestCase, LenaFdBetFfMacSchedulerTestCase1, LenaFdBetFfMacSchedulerTestCase2, LenaFdMtFfMacSchedulerTestCase, LenaFdTbfqFfMacSchedulerTestCase1, LenaFdTbfqFfMacSchedulerTestCase2, LenaHarqTestCase, LenaMimoTestCase, LenaPfFfMacSchedulerTestCase1, LenaPfFfMacSchedulerTestCase2, LenaPssFfMacSchedulerTestCase1, LenaPssFfMacSchedulerTestCase2, LenaRrFfMacSchedulerTestCase, LenaTdBetFfMacSchedulerTestCase1, LenaTdBetFfMacSchedulerTestCase2, LenaTdMtFfMacSchedulerTestCase, LenaTdTbfqFfMacSchedulerTestCase1, LenaTdTbfqFfMacSchedulerTestCase2, LenaTtaFfMacSchedulerTestCase, LengthTestCase, LengthValueTestCase, LiIonEnergyTestCase, LinkTest, LogDistancePropagationLossModelTestCase, LollipopCounterTest, LookupTimeTestCase, LrWpanAckTestCase, LrWpanCcaTestCase, LrWpanCollisionTestCase, LrWpanDataIfsTestCase, LrWpanEdTestCase, LrWpanErrorDistanceTestCase, LrWpanErrorModelTestCase, LrWpanPacketTestCase, LrWpanPlmeAndPdInterfaceTestCase, LrWpanSlottedCsmacaTestCase, LrWpanSpectrumValueHelperTestCase, LteAggregationThroughputScaleTestCase, LteCellSelectionTestCase, LteCqiGenerationDlPowerControlTestCase, LteCqiGenerationTestCase, LteDownlinkCtrlSinrTestCase, LteDownlinkDataSinrTestCase, LteDownlinkPowerControlRrcConnectionReconfigurationTestCase, LteDownlinkPowerControlSpectrumValueTestCase, LteDownlinkPowerControlTestCase, LteEarfcnTestCase, LteEnbAntennaTestCase, LteEpcE2eDataTestCase, LteFrAreaTestCase, LteFrTestCase, LteHandoverDelayTestCase, LteHandoverFailureTestCase, LteHandoverTargetTestCase, LteInterferenceHardFrTestCase, LteInterferenceStrictFrTestCase, LteInterferenceTestCase, LteIpv6RoutingTestCase, LteLinkAdaptationTestCase, LteNoisePsdTestCase, LtePathlossModelSystemTestCase, LtePrimaryCellChangeTestCase, LteRadioLinkFailureTestCase, LteRlcAmE2eTestCase, LteRlcAmTransmitterTestCase, LteRlcUmE2eTestCase, LteRlcUmTransmitterTestCase, LteRrcConnectionEstablishmentTestCase, LteSecondaryCellHandoverTestCase, LteSecondaryCellSelectionTestCase, LteSpectrumModelTestCase, LteTxPsdTestCase, LteUeMeasurementsHandoverTestCase, LteUeMeasurementsPiecewiseTestCase1, LteUeMeasurementsPiecewiseTestCase2, LteUeMeasurementsPiecewiseTestCase3, LteUeMeasurementsTestCase, LteUplinkDataSinrTestCase, LteUplinkPowerControlTestCase, LteUplinkSrsSinrTestCase, LteX2HandoverMeasuresTestCase, LteX2HandoverTestCase, MakeBoundCallbackTestCase, MakeCallbackTemplatesTestCase, MakeCallbackTestCase, MatrixPropagationLossModelTestCase, MeshHeaderTest, MeshInformationElementVectorBist, MldSwapLinksTest, MobilityTraceTestCase, MultiLinkOperationsTestBase, MultiStaCtrlBAckResponseHeaderTest, NetDeviceContainerTest, NetworkAllocatorHelperTestCase, NetworkAndAddress6TestCase, NetworkAndAddressTestCase, NetworkNumber6AllocatorTestCase, NetworkNumberAllocatorTestCase, NixVectorRoutingTest, Ns2MobilityHelperTest, Ns3TcpCubicTestCase, Ns3TcpLossTestCase, Ns3TcpNoDelayTestCase, Ns3TcpSocketTestCaseCsma, Ns3TcpSocketTestCaseP2P, Ns3TcpStateTestCase, Ns3WimaxCsParamTlvTestCase, Ns3WimaxFragmentationTestCase, Ns3WimaxManagementConnectionsTestCase, Ns3WimaxNetworkEntryTestCase, Ns3WimaxSFTypeTestCase, Ns3WimaxSNRtoBLERTestCase, Ns3WimaxSchedulingTestCase, Ns3WimaxSfCreationTestCase, Ns3WimaxSfTlvTestCase, Ns3WimaxSimpleOFDMTestCase, NullifyCallbackTestCase, ObjectMapAttributeTestCase, ObjectVectorAttributeTestCase, OfdmaAckSequenceTest, OkumuraHataPropagationLossModelTestCase, OlsrEmfTestCase, OlsrHelloTestCase, OlsrHnaTestCase, OlsrMidTestCase, OlsrMprTestCase, OlsrTcTestCase, OneIntegerAverageTestCase, OneIntegerTestCase, OneVectorConstructorTestCase, OrigBlockAckWindowStalled, OriginatorBlockAckWindowTest, OutdoorRandomWalkTestCase, OverallGainAverageTest, PacketBufferingCaseA, PacketBufferingCaseB, PacketLossCounterTestCase, PacketMetadataTest, PacketSocketAppsTest, PacketTagListTest, PacketTest, PairValueSettingsTestCase, PairValueTestCase, ParabolicAntennaModelTestCase, PbbTestCase, PeerLinkFrameStartTest, PeerManagementProtocolRegressionTest, PfifoFastQueueDiscDscpPrioritization, PfifoFastQueueDiscNoPriority, PfifoFastQueueDiscOverflow, PfifoFastQueueDiscTosPrioritization, PhyChannelSettingsToOperatingChannelTest, PhyHeaderSectionsTest, PieQueueDiscTestCase, PingTestCase, PointToPointTest, PointerAttributeTestCase, PowerRateAdaptationTest, PreservePacketsInAmpdus, PrioQueueDiscTestCase, ProbeTestCase1, PrrRecoveryTest, QosFragmentationTestCase, QosUtilsIsOldPacketTest, QueueDiscTracesTestCase, RadiansToDegreesTestCase, RadvdTestCase, RandCartAroundGeoTestCase, RandomRoomPositionAllocatorTestCase, RandomVariableStreamAttributeTestCase, RangePropagationLossModelTestCase, ReadFileTestCase, ReadModeCreateTestCase, RecordHeaderTestCase, RectangleClosestBorderTestCase, RedQueueDiscTestCase, ResetAllocatorHelperTestCase, RngExponentialTestCase, RngNormalTestCase, RngParetoTestCase, RngUniformTestCase, RocketfuelTopologyReaderMapsTest, RocketfuelTopologyReaderWeightsTest, RrcHeaderTestCase, RttEstimatorTestCase, SameRoomPositionAllocatorTestCase, SequenceNumberTestCase, SetChannelFrequencyTest, SetWifiOperatingChannelTest, SimulatorEventsTestCase, SimulatorTemplateTestCase, SixlowpanFragmentationTest, SixlowpanHc1ImplTest, SixlowpanIphcImplTest, SixlowpanIphcStatefulImplTest, SpectrumIdealPhyTestCase, SpectrumInterferenceTestCase, SpectrumValueTestCase, SpectrumWifiPhy80Plus80Test, SpectrumWifiPhyBasicTest, SpectrumWifiPhyFilterTest, SpectrumWifiPhyGetBandTest, SpectrumWifiPhyInterfacesHelperTest, SpectrumWifiPhyMultipleInterfacesTest, SpectrumWifiPhyTrackedBandsTest, StaWifiMacScanningTestCase, SteadyStateRandomWaypointTest, SwitchFlowTableTestCase, TableBasedErrorRateTestCase, TbfQueueDiscTestCase, TcFlowControlTestCase, TcpBicDecrementTest, TcpBicIncrementTest, TcpDctcpToLinuxReno, TcpEndPointBug2211Test, TcpHeaderFlagsToString, TcpHeaderGetSetTestCase, TcpHeaderWithRFC793OptionTestCase, TcpHighSpeedDecrementTest, TcpHighSpeedIncrementTest, TcpHtcpIncrementTest, TcpHyblaIncrementTest, TcpIllinoisTest, TcpLedbatDecrementTest, TcpLedbatIncrementTest, TcpLedbatToNewReno, TcpOptionTSTestCase, TcpOptionWSTestCase, TcpRateLinuxBasicTest, TcpRateLinuxWithBufferTest, TcpRxBufferTestCase, TcpScalableDecrementTest, TcpScalableIncrementTest, TcpSynConnectionFailedTest, TcpTestCase, TcpTxBufferTestCase, TcpVegasTest, TcpVenoTest, TcpYeahDecrementTest, TcpYeahIncrementTest, TestActiveScanPanDescriptors, TestDlMuMimoPhyTransmission, TestDlMuTxVector, TestDlOfdmaPhyPuncturing, TestDlOfdmaPhyTransmission, TestEmptyOptionField, TestFulfilledAlignment, TestInterBssConstantObssPdAlgo, TestMultipleCtsResponsesFromMuRts, TestMultipleHeTbPreambles, TestNonHtDuplicatePhyReception, TestOptionWithAlignment, TestOptionWithoutAlignment, TestOrphanScan, TestPhyDropDueToTx, TestPhyPaddingExclusion, TestPrimary20CoveredByPpdu, TestRxOffWhenIdleAfterCsmaFailure, TestSpectrumChannelWithBandwidthFilter, TestUlMuMimoPhyTransmission, TestUlOfdmaPhyTransmission, TestUlOfdmaPowerControl, TestUlOfdmaPpduUid, TestUnsupportedBandwidthReception, TestUnsupportedModulationReception, TestWifiPhyRxTraceHelper, TestWifiPhyRxTraceHelperMloStr, TestWifiPhyRxTraceHelperYans, ThreadedSimulatorEventsTestCase, ThreeGppAntennaSetupChangedTest, ThreeGppCalcLongTermMultiPortTest, ThreeGppChannelConditionModelTestCase, ThreeGppChannelMatrixComputationTest, ThreeGppChannelMatrixUpdateTest, ThreeGppHttpObjectTestCase, ThreeGppIndoorOfficePropagationLossModelTestCase, ThreeGppMimoPolarizationTest, ThreeGppNTNPropagationLossModelTestCase, ThreeGppRmaPropagationLossModelTestCase, ThreeGppShadowingTestCase, ThreeGppSpectrumPropagationLossModelTest, ThreeGppUmaPropagationLossModelTestCase, ThreeGppUmiPropagationLossModelTestCase, ThreeGppV2vBuildingsChCondModelTestCase, ThreeGppV2vHighwayLosNlosvChCondModelTestCase, ThreeGppV2vHighwayPropagationLossModelTestCase, ThreeGppV2vUrbanLosNlosvChCondModelTestCase, ThreeGppV2vUrbanPropagationLossModelTestCase, TimeInputOutputTestCase, TimeSimpleTestCase, TimeWithSignTestCase, TimerStateTestCase, TimerTemplateTestCase, TimestampValueTestCase, TracedCallbackTestCase, TracedCallbackTypedefTestCase, TracedValueCallbackTestCase, TupleValueTestCase, TvHelperDistributionTestCase, TvSpectrumTransmitterTestCase, TwoBridgeTest, TwoLanTest, TwoLinkTest, TwoRayGroundPropagationLossModelTestCase, TwoVectorsConstructorTestCase, TxDurationTest, UanModesListTest, UanTest, Udp6SocketImplTest, Udp6SocketLoopbackTest, UdpClientServerTestCase, UdpEchoClientSetFillTestCase, UdpSocketImplTest, UdpSocketLoopbackTest, UdpTraceClientServerTestCase, UniformPlanarArrayTestCase, UniqueTypeIdTestCase, V2vHighwayProbChCondModelTestCase, V2vUrbanProbChCondModelTestCase, WaveformGeneratorTestCase, WaypointInitialPositionIsWaypoint, WaypointLazyNotifyFalse, WaypointLazyNotifyTrue, WaypointMobilityModelAddWaypointTest, WaypointMobilityModelNotifyTest, WaypointMobilityModelViaHelper, Wifi20MHzChannelIndicesTest, Wifi20MHzIndicesCoveringRuTest, WifiAcMappingTest, WifiChannelSwitchingTest, WifiErrorRateModelsTestCaseDsss, WifiErrorRateModelsTestCaseMimo, WifiErrorRateModelsTestCaseNist, WifiExtractExpiredMpdusTest, WifiFilsFrameTest, WifiMacQueueDropOldestTest, WifiMsduAggregatorThroughputTest, WifiOfdmMaskSlopesTestCase, WifiPhyCcaIndicationTest, WifiPhyCcaThresholdsTest, WifiPhyChannel80Plus80Test, WifiPhyReceptionTest, WifiPhyThresholdsTest, WifiPrimaryChannelsTest, WifiTest, WifiTxopTest, WifiUseAvailBwTest, WrapToRangeFunctionalTestCase, WrapToRangeTestCase, WriteModeCreateTestCase, ns3::ExampleAsTestCase, ns3::HeaderSerializationTestCase, ns3::Ipv4ListRoutingNegativeTestCase, ns3::Ipv4ListRoutingPositiveTestCase, ns3::Ipv6ListRoutingNegativeTestCase, ns3::Ipv6ListRoutingPositiveTestCase, ns3::LenaDeactivateBearerTestCase, ns3::RlcAmStatusPduTestCase, ns3::TcpBbrCheckGainValuesTest, ns3::TcpBbrPacingEnableTest, ns3::TcpGeneralTest, ns3::TcpLpInferenceTest1, ns3::TcpLpInferenceTest2, ns3::TcpLpToNewReno, ns3::TestSuite, 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::Int64x64IntRoundTestCase, ns3::int64x64::test::Int64x64InvertTestCase, ns3::olsr::Bug780Test, ns3::olsr::HelloRegressionTest, ns3::olsr::TcRegressionTest, ns3::test::RandomVariable::ShuffleElementsTest, ns3::test::RandomVariable::TestCaseBase, ns3::tests::AggregateObjectTestCase, ns3::tests::AlternateFindTestCase, ns3::tests::BasicAddTestCase, ns3::tests::BasicFindTestCase, ns3::tests::BasicRenameTestCase, ns3::tests::BuildProfileTestCase, ns3::tests::CommandLineTestCaseBase, ns3::tests::ComplexMatrixArrayTestCase, ns3::tests::CreateObjectTestCase, ns3::tests::EnvVarTestCase, 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::MatrixArrayTestCase< T >, 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::SplitStringTestCase, ns3::tests::StringContextAddTestCase, ns3::tests::StringContextFindTestCase, ns3::tests::StringContextRenameTestCase, ns3::tests::TrickleTimerTestCase, ns3::tests::TypeTraitsTestCase, ns3::tests::UnderRootNamespaceConfigTestCase, ns3::tests::UnidirectionalAggregateObjectTestCase, ns3::tests::ValArrayTestCase< T >, and ns3::tests::WatchdogTestCase.
Classes | |
struct | Result |
Container for results from a TestCase. More... | |
Public Types | |
enum class | Duration { QUICK = 1 , EXTENSIVE = 2 , TAKES_FOREVER = 3 } |
How long the test takes to execute. More... | |
Public Member Functions | |
TestCase (const TestCase &)=delete | |
virtual | ~TestCase () |
Destructor. | |
std::string | GetName () const |
TestCase & | operator= (const TestCase &)=delete |
Static Public Attributes | |
static constexpr auto | QUICK = Duration::QUICK |
Deprecated test duration simple enums. | |
static constexpr auto | EXTENSIVE = Duration::EXTENSIVE |
static constexpr auto | TAKES_FOREVER = Duration::TAKES_FOREVER |
Protected Member Functions | |
TestCase (std::string name) | |
Constructor. | |
void | AddTestCase (TestCase *testCase, Duration duration=Duration::QUICK) |
Add an individual child TestCase to this test suite. | |
TestCase * | GetParent () const |
Get the parent of this TestCase. | |
bool | IsStatusFailure () const |
Check if any tests failed. | |
bool | IsStatusSuccess () const |
Check if all tests passed. | |
void | SetDataDir (std::string directory) |
Set the data directory where reference trace files can be found. | |
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. | |
bool | MustAssertOnFailure () const |
Check if this run should assert on failure. | |
bool | MustContinueOnFailure () const |
Check if this run should continue on failure. | |
std::string | CreateDataDirFilename (std::string filename) |
Construct the full path to a file in the data directory. | |
std::string | CreateTempDirFilename (std::string filename) |
Construct the full path to a file in a temporary directory. | |
Private Member Functions | |
virtual void | DoRun ()=0 |
Implementation to actually run this TestCase. | |
virtual void | DoSetup () |
Implementation to do any local setup required for this TestCase. | |
virtual void | DoTeardown () |
Implementation to do any local setup required for this TestCase. | |
bool | IsFailed () const |
Check if any tests failed. | |
void | Run (TestRunnerImpl *runner) |
Executes DoSetup(), DoRun(), and DoTeardown() for the TestCase. | |
Private Attributes | |
std::vector< TestCase * > | m_children |
Vector of my children. | |
std::string | m_dataDir |
My data directory. | |
Duration | m_duration |
TestCase duration. | |
std::string | m_name |
TestCase name. | |
TestCase * | m_parent |
Pointer to my parent TestCase. | |
Result * | m_result |
Results data. | |
TestRunnerImpl * | m_runner |
Pointer to the TestRunner. | |
Friends | |
class | TestRunnerImpl |
Needs access to the TestCase data members. | |
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.
|
strong |
|
virtual |
Destructor.
Definition at line 278 of file test.cc.
References m_children, m_parent, m_result, m_runner, NS_ASSERT, and NS_LOG_FUNCTION.
|
delete |
|
protected |
Constructor.
[in] | name | The name of the new TestCase created |
Definition at line 267 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 292 of file test.cc.
References m_children, m_duration, m_name, m_parent, NS_LOG_FUNCTION, and NS_LOG_UNCOND.
Referenced by AnglesTestSuite::AnglesTestSuite(), AnimationInterfaceTestSuite::AnimationInterfaceTestSuite(), ns3::aodv::AodvLoopbackTestSuite::AodvLoopbackTestSuite(), AodvRegressionTestSuite::AodvRegressionTestSuite(), ns3::aodv::AodvTestSuite::AodvTestSuite(), AredQueueDiscTestSuite::AredQueueDiscTestSuite(), Asn1EncodingSuite::Asn1EncodingSuite(), AttributeContainerTestSuite::AttributeContainerTestSuite(), AttributesTestSuite::AttributesTestSuite(), AverageTestSuite::AverageTestSuite(), BasicDataCalculatorsTestSuite::BasicDataCalculatorsTestSuite(), BasicEnergyHarvesterTestSuite::BasicEnergyHarvesterTestSuite(), BitSerializerTestSuite::BitSerializerTestSuite(), BlockAckTestSuite::BlockAckTestSuite(), BoxLineIntersectionTestSuite::BoxLineIntersectionTestSuite(), BriteTestSuite::BriteTestSuite(), BufferTestSuite::BufferTestSuite(), BuildingPositionAllocatorTestSuite::BuildingPositionAllocatorTestSuite(), BuildingsChannelConditionModelsTestSuite::BuildingsChannelConditionModelsTestSuite(), BuildingsHelperTestSuite::BuildingsHelperTestSuite(), BuildingsPathlossTestSuite::BuildingsPathlossTestSuite(), BuildingsPenetrationLossesTestSuite::BuildingsPenetrationLossesTestSuite(), BuildingsShadowingTestSuite::BuildingsShadowingTestSuite(), ns3::tests::BuildProfileTestSuite::BuildProfileTestSuite(), BulkSendTestSuite::BulkSendTestSuite(), CallbackTestSuite::CallbackTestSuite(), CarrierAggregationConfigTestSuite::CarrierAggregationConfigTestSuite(), ChannelAccessManagerTestSuite::ChannelAccessManagerTestSuite(), ChannelConditionModelsTestSuite::ChannelConditionModelsTestSuite(), CircularApertureAntennaModelTestSuite::CircularApertureAntennaModelTestSuite(), ClassicRecoveryTestSuite::ClassicRecoveryTestSuite(), ClickIfidFromNameTestSuite::ClickIfidFromNameTestSuite(), CobaltQueueDiscTestSuite::CobaltQueueDiscTestSuite(), CoDelQueueDiscTestSuite::CoDelQueueDiscTestSuite(), ns3::tests::CommandLineTestSuite::CommandLineTestSuite(), ns3::tests::ConfigTestSuite::ConfigTestSuite(), CosineAntennaModelTestSuite::CosineAntennaModelTestSuite(), CsmaSystemTestSuite::CsmaSystemTestSuite(), DataRateTestSuite::DataRateTestSuite(), DegreesRadiansTestSuite::DegreesRadiansTestSuite(), DhcpTestSuite::DhcpTestSuite(), Dot11sRegressionSuite::Dot11sRegressionSuite(), Dot11sTestSuite::Dot11sTestSuite(), DropTailQueueTestSuite::DropTailQueueTestSuite(), DsdvTestSuite::DsdvTestSuite(), DsrTestSuite::DsrTestSuite(), ns3::tests::EnvironmentVariableTestSuite::EnvironmentVariableTestSuite(), EpcS1uDlTestSuite::EpcS1uDlTestSuite(), EpcS1uUlTestSuite::EpcS1uUlTestSuite(), EpcTftClassifierTestSuite::EpcTftClassifierTestSuite(), EpsGtpuTestSuite::EpsGtpuTestSuite(), ErrorModelTestSuite::ErrorModelTestSuite(), ns3::tests::EventGarbageCollectorTestSuite::EventGarbageCollectorTestSuite(), ns3::ExampleAsTestSuite::ExampleAsTestSuite(), ns3::tests::ExamplesAsTestsTestSuite::ExamplesAsTestsTestSuite(), FifoQueueDiscTestSuite::FifoQueueDiscTestSuite(), FlameRegressionSuite::FlameRegressionSuite(), FlameTestSuite::FlameTestSuite(), FqCobaltQueueDiscTestSuite::FqCobaltQueueDiscTestSuite(), FqCoDelQueueDiscTestSuite::FqCoDelQueueDiscTestSuite(), FqPieQueueDiscTestSuite::FqPieQueueDiscTestSuite(), GeoToAndFromTopocentricTestSuite::GeoToAndFromTopocentricTestSuite(), GeoToCartesianTestSuite::GeoToCartesianTestSuite(), GlobalRouteManagerImplTestSuite::GlobalRouteManagerImplTestSuite(), ns3::tests::GlobalValueTestSuite::GlobalValueTestSuite(), ns3::tests::HashTestSuite::HashTestSuite(), HistogramTestSuite::HistogramTestSuite(), IcmpTestSuite::IcmpTestSuite(), ns3::aodv::IdCacheTestSuite::IdCacheTestSuite(), ns3::int64x64::test::Int64x64TestSuite::Int64x64TestSuite(), InterBssTestSuite::InterBssTestSuite(), InternetStackHelperTestSuite::InternetStackHelperTestSuite(), Ipv4AddressGeneratorTestSuite::Ipv4AddressGeneratorTestSuite(), Ipv4AddressHelperTestSuite::Ipv4AddressHelperTestSuite(), Ipv4DeduplicationPerformanceTestSuite::Ipv4DeduplicationPerformanceTestSuite(), Ipv4DeduplicationTestSuite::Ipv4DeduplicationTestSuite(), Ipv4ForwardingTestSuite::Ipv4ForwardingTestSuite(), Ipv4FragmentationTestSuite::Ipv4FragmentationTestSuite(), Ipv4GlobalRoutingTestSuite::Ipv4GlobalRoutingTestSuite(), Ipv4HeaderTestSuite::Ipv4HeaderTestSuite(), IPv4L3ProtocolTestSuite::IPv4L3ProtocolTestSuite(), ns3::Ipv4ListRoutingTestSuite::Ipv4ListRoutingTestSuite(), Ipv4PacketInfoTagTestSuite::Ipv4PacketInfoTagTestSuite(), Ipv4RawTestSuite::Ipv4RawTestSuite(), Ipv4RipTestSuite::Ipv4RipTestSuite(), Ipv4StaticRoutingTestSuite::Ipv4StaticRoutingTestSuite(), Ipv6AddressGeneratorTestSuite::Ipv6AddressGeneratorTestSuite(), Ipv6AddressHelperTestSuite::Ipv6AddressHelperTestSuite(), Ipv6AddressTestSuite::Ipv6AddressTestSuite(), Ipv6DadTestSuite::Ipv6DadTestSuite(), Ipv6DualStackTestSuite::Ipv6DualStackTestSuite(), Ipv6ExtensionHeaderTestSuite::Ipv6ExtensionHeaderTestSuite(), Ipv6ForwardingTestSuite::Ipv6ForwardingTestSuite(), Ipv6FragmentationTestSuite::Ipv6FragmentationTestSuite(), IPv6L3ProtocolTestSuite::IPv6L3ProtocolTestSuite(), ns3::Ipv6ListRoutingTestSuite::Ipv6ListRoutingTestSuite(), Ipv6PacketInfoTagTestSuite::Ipv6PacketInfoTagTestSuite(), Ipv6RawTestSuite::Ipv6RawTestSuite(), Ipv6RipngTestSuite::Ipv6RipngTestSuite(), IsotropicAntennaModelTestSuite::IsotropicAntennaModelTestSuite(), Issue211TestSuite::Issue211TestSuite(), 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(), LengthTestSuite::LengthTestSuite(), LiIonEnergySourceTestSuite::LiIonEnergySourceTestSuite(), LollipopCounterTestSuite::LollipopCounterTestSuite(), LrWpanAckTestSuite::LrWpanAckTestSuite(), LrWpanCcaTestSuite::LrWpanCcaTestSuite(), LrWpanCollisionTestSuite::LrWpanCollisionTestSuite(), LrWpanEdTestSuite::LrWpanEdTestSuite(), LrWpanErrorModelTestSuite::LrWpanErrorModelTestSuite(), LrWpanIfsTestSuite::LrWpanIfsTestSuite(), LrWpanMacTestSuite::LrWpanMacTestSuite(), LrWpanPacketTestSuite::LrWpanPacketTestSuite(), LrWpanPlmeAndPdInterfaceTestSuite::LrWpanPlmeAndPdInterfaceTestSuite(), LrWpanSlottedCsmacaTestSuite::LrWpanSlottedCsmacaTestSuite(), LrWpanSpectrumValueHelperTestSuite::LrWpanSpectrumValueHelperTestSuite(), LteAggregationThroughputScaleTestSuite::LteAggregationThroughputScaleTestSuite(), LteAntennaTestSuite::LteAntennaTestSuite(), LteCellSelectionTestSuite::LteCellSelectionTestSuite(), LteCqiGenerationTestSuite::LteCqiGenerationTestSuite(), LteDownlinkPowerControlTestSuite::LteDownlinkPowerControlTestSuite(), LteDownlinkSinrTestSuite::LteDownlinkSinrTestSuite(), LteEarfcnTestSuite::LteEarfcnTestSuite(), LteEpcE2eDataTestSuite::LteEpcE2eDataTestSuite(), LteFrequencyReuseTestSuite::LteFrequencyReuseTestSuite(), LteHandoverDelayTestSuite::LteHandoverDelayTestSuite(), LteHandoverFailureTestSuite::LteHandoverFailureTestSuite(), LteHandoverTargetTestSuite::LteHandoverTargetTestSuite(), LteInterferenceFrTestSuite::LteInterferenceFrTestSuite(), LteInterferenceTestSuite::LteInterferenceTestSuite(), LteIpv6RoutingTestSuite::LteIpv6RoutingTestSuite(), LteLinkAdaptationTestSuite::LteLinkAdaptationTestSuite(), LtePathlossModelTestSuite::LtePathlossModelTestSuite(), LtePrimaryCellChangeTestSuite::LtePrimaryCellChangeTestSuite(), LteRadioLinkFailureTestSuite::LteRadioLinkFailureTestSuite(), LteRlcAmE2eTestSuite::LteRlcAmE2eTestSuite(), LteRlcAmTransmitterTestSuite::LteRlcAmTransmitterTestSuite(), ns3::LteRlcHeaderTestSuite::LteRlcHeaderTestSuite(), LteRlcUmE2eTestSuite::LteRlcUmE2eTestSuite(), LteRlcUmTransmitterTestSuite::LteRlcUmTransmitterTestSuite(), LteRrcTestSuite::LteRrcTestSuite(), LteSecondaryCellHandoverTestSuite::LteSecondaryCellHandoverTestSuite(), LteSecondaryCellSelectionTestSuite::LteSecondaryCellSelectionTestSuite(), LteSpectrumValueHelperTestSuite::LteSpectrumValueHelperTestSuite(), LteUeMeasurementsHandoverTestSuite::LteUeMeasurementsHandoverTestSuite(), LteUeMeasurementsPiecewiseTestSuite1::LteUeMeasurementsPiecewiseTestSuite1(), LteUeMeasurementsPiecewiseTestSuite2::LteUeMeasurementsPiecewiseTestSuite2(), LteUeMeasurementsPiecewiseTestSuite3::LteUeMeasurementsPiecewiseTestSuite3(), LteUeMeasurementsTestSuite::LteUeMeasurementsTestSuite(), LteUplinkPowerControlTestSuite::LteUplinkPowerControlTestSuite(), LteUplinkSinrTestSuite::LteUplinkSinrTestSuite(), LteX2HandoverMeasuresTestSuite::LteX2HandoverMeasuresTestSuite(), LteX2HandoverTestSuite::LteX2HandoverTestSuite(), ns3::tests::ManyUniformRandomVariablesOneGetValueCallTestSuite::ManyUniformRandomVariablesOneGetValueCallTestSuite(), ns3::tests::MatrixArrayTestSuite::MatrixArrayTestSuite(), MeshTestSuite::MeshTestSuite(), MobilityTestSuite::MobilityTestSuite(), MobilityTraceTestSuite::MobilityTraceTestSuite(), MpiTestSuite::MpiTestSuite(), ns3::tests::NamesTestSuite::NamesTestSuite(), NeighborCacheTestSuite::NeighborCacheTestSuite(), NixVectorRoutingTestSuite::NixVectorRoutingTestSuite(), Ns2MobilityHelperTestSuite::Ns2MobilityHelperTestSuite(), Ns3TcpCubicTestSuite::Ns3TcpCubicTestSuite(), Ns3TcpLossTestSuite::Ns3TcpLossTestSuite(), Ns3TcpNoDelayTestSuite::Ns3TcpNoDelayTestSuite(), Ns3TcpSocketTestSuite::Ns3TcpSocketTestSuite(), Ns3TcpStateTestSuite::Ns3TcpStateTestSuite(), Ns3WimaxFragmentationTestSuite::Ns3WimaxFragmentationTestSuite(), Ns3WimaxMacMessagesTestSuite::Ns3WimaxMacMessagesTestSuite(), Ns3WimaxPhyTestSuite::Ns3WimaxPhyTestSuite(), Ns3WimaxQoSTestSuite::Ns3WimaxQoSTestSuite(), Ns3WimaxServiceFlowTestSuite::Ns3WimaxServiceFlowTestSuite(), Ns3WimaxSSMacTestSuite::Ns3WimaxSSMacTestSuite(), Ns3WimaxTlvTestSuite::Ns3WimaxTlvTestSuite(), ns3::tests::ObjectTestSuite::ObjectTestSuite(), OkumuraHataPropagationLossModelTestSuite::OkumuraHataPropagationLossModelTestSuite(), OlsrProtocolTestSuite::OlsrProtocolTestSuite(), OlsrTestSuite::OlsrTestSuite(), ns3::tests::OneUniformRandomVariableManyGetValueCallsTestSuite::OneUniformRandomVariableManyGetValueCallsTestSuite(), OutdoorRandomWalkTestSuite::OutdoorRandomWalkTestSuite(), PacketMetadataTestSuite::PacketMetadataTestSuite(), PacketSocketAppsTestSuite::PacketSocketAppsTestSuite(), PacketTestSuite::PacketTestSuite(), PairValueTestSuite::PairValueTestSuite(), ParabolicAntennaModelTestSuite::ParabolicAntennaModelTestSuite(), PbbTestSuite::PbbTestSuite(), PcapFileTestSuite::PcapFileTestSuite(), PfifoFastQueueDiscTestSuite::PfifoFastQueueDiscTestSuite(), PieQueueDiscTestSuite::PieQueueDiscTestSuite(), PingTestSuite::PingTestSuite(), PointToPointTestSuite::PointToPointTestSuite(), PowerRateAdaptationTestSuite::PowerRateAdaptationTestSuite(), PowerSaveTestSuite::PowerSaveTestSuite(), PrioQueueDiscTestSuite::PrioQueueDiscTestSuite(), ProbabilisticV2vChCondModelsTestSuite::ProbabilisticV2vChCondModelsTestSuite(), ProbeTestSuite::ProbeTestSuite(), PropagationLossModelsTestSuite::PropagationLossModelsTestSuite(), PrrRecoveryTestSuite::PrrRecoveryTestSuite(), ns3::tests::PtrTestSuite::PtrTestSuite(), QosTxopTestSuite::QosTxopTestSuite(), QueueDiscTracesTestSuite::QueueDiscTracesTestSuite(), RadvdTestSuite::RadvdTestSuite(), RandCartAroundGeoTestSuite::RandCartAroundGeoTestSuite(), ns3::test::RandomVariable::RandomVariableSuite::RandomVariableSuite(), RectangleClosestBorderTestSuite::RectangleClosestBorderTestSuite(), RedQueueDiscTestSuite::RedQueueDiscTestSuite(), RegressionTestSuite::RegressionTestSuite(), RngTestSuite::RngTestSuite(), RocketfuelTopologyReaderTestSuite::RocketfuelTopologyReaderTestSuite(), RttEstimatorTestSuite::RttEstimatorTestSuite(), ns3::tests::SampleTestSuite::SampleTestSuite(), SequenceNumberTestSuite::SequenceNumberTestSuite(), SimulatorTestSuite::SimulatorTestSuite(), SixlowpanFragmentationTestSuite::SixlowpanFragmentationTestSuite(), SixlowpanHc1TestSuite::SixlowpanHc1TestSuite(), SixlowpanIphcStatefulTestSuite::SixlowpanIphcStatefulTestSuite(), SixlowpanIphcTestSuite::SixlowpanIphcTestSuite(), SpectrumConverterTestSuite::SpectrumConverterTestSuite(), SpectrumIdealPhyTestSuite::SpectrumIdealPhyTestSuite(), SpectrumInterferenceTestSuite::SpectrumInterferenceTestSuite(), SpectrumValueTestSuite::SpectrumValueTestSuite(), SpectrumWifiPhyTestSuite::SpectrumWifiPhyTestSuite(), ns3::tests::SplitStringTestSuite::SplitStringTestSuite(), SteadyStateRandomWaypointTestSuite::SteadyStateRandomWaypointTestSuite(), SwitchTestSuite::SwitchTestSuite(), TbfQueueDiscTestSuite::TbfQueueDiscTestSuite(), TcFlowControlTestSuite::TcFlowControlTestSuite(), TcpAdvertisedWindowTestSuite::TcpAdvertisedWindowTestSuite(), ns3::TcpBbrTestSuite::TcpBbrTestSuite(), TcpBicTestSuite::TcpBicTestSuite(), TcpBytesInFlightTestSuite::TcpBytesInFlightTestSuite(), TcpDataSentCbTestSuite::TcpDataSentCbTestSuite(), TcpDctcpTestSuite::TcpDctcpTestSuite(), ns3::TcpEcnTestSuite::TcpEcnTestSuite(), TcpEndpointBug2211TestSuite::TcpEndpointBug2211TestSuite(), TcpFastRetrTestSuite::TcpFastRetrTestSuite(), TcpHeaderTestSuite::TcpHeaderTestSuite(), TcpHighSpeedTestSuite::TcpHighSpeedTestSuite(), TcpHtcpTestSuite::TcpHtcpTestSuite(), TcpHyblaTestSuite::TcpHyblaTestSuite(), TcpIllinoisTestSuite::TcpIllinoisTestSuite(), TcpLedbatTestSuite::TcpLedbatTestSuite(), TcpLinuxRenoTestSuite::TcpLinuxRenoTestSuite(), TcpLossTestSuite::TcpLossTestSuite(), ns3::TcpLpTestSuite::TcpLpTestSuite(), TcpOptionTestSuite::TcpOptionTestSuite(), TcpPacingTestSuite::TcpPacingTestSuite(), TcpPktsAckedTestSuite::TcpPktsAckedTestSuite(), TcpRateOpsTestSuite::TcpRateOpsTestSuite(), TcpRenoCongAvoidTestSuite::TcpRenoCongAvoidTestSuite(), TcpRtoTestSuite::TcpRtoTestSuite(), TcpRttEstimationTestSuite::TcpRttEstimationTestSuite(), TcpRxBufferTestSuite::TcpRxBufferTestSuite(), TcpSackPermittedTestSuite::TcpSackPermittedTestSuite(), TcpScalableTestSuite::TcpScalableTestSuite(), TcpSlowStartTestSuite::TcpSlowStartTestSuite(), TcpSynConnectionFailedTestSuite::TcpSynConnectionFailedTestSuite(), ns3::TcpTcpCloseTestSuite::TcpTcpCloseTestSuite(), TcpTestSuite::TcpTestSuite(), TcpTimestampTestSuite::TcpTimestampTestSuite(), TcpTxBufferTestSuite::TcpTxBufferTestSuite(), TcpVegasTestSuite::TcpVegasTestSuite(), TcpVenoTestSuite::TcpVenoTestSuite(), TcpWScalingTestSuite::TcpWScalingTestSuite(), TcpYeahTestSuite::TcpYeahTestSuite(), TcpZeroWindowTestSuite::TcpZeroWindowTestSuite(), TestCarrierAggregationSuite::TestCarrierAggregationSuite(), ThreadedSimulatorTestSuite::ThreadedSimulatorTestSuite(), ThreeGppChannelTestSuite::ThreeGppChannelTestSuite(), ThreeGppNTNPropagationLossModelsTestSuite::ThreeGppNTNPropagationLossModelsTestSuite(), ThreeGppPropagationLossModelsTestSuite::ThreeGppPropagationLossModelsTestSuite(), ThreeGppV2vChCondModelsTestSuite::ThreeGppV2vChCondModelsTestSuite(), TimerTestSuite::TimerTestSuite(), TimeTestSuite::TimeTestSuite(), TracedCallbackTestSuite::TracedCallbackTestSuite(), TracedCallbackTypedefTestSuite::TracedCallbackTypedefTestSuite(), TracedValueCallbackTestSuite::TracedValueCallbackTestSuite(), ns3::tests::TrickleTimerTestSuite::TrickleTimerTestSuite(), TupleValueTestSuite::TupleValueTestSuite(), TvHelperDistributionTestSuite::TvHelperDistributionTestSuite(), TvSpectrumTransmitterTestSuite::TvSpectrumTransmitterTestSuite(), TwoRaySplmTestSuite::TwoRaySplmTestSuite(), TxDurationTestSuite::TxDurationTestSuite(), TxopTestSuite::TxopTestSuite(), TypeIdPerformanceSuite::TypeIdPerformanceSuite(), TypeIdTestSuite::TypeIdTestSuite(), ns3::tests::TypeTraitsTestSuite::TypeTraitsTestSuite(), UanEnergyModelTestSuite::UanEnergyModelTestSuite(), UanTestSuite::UanTestSuite(), UdpClientServerTestSuite::UdpClientServerTestSuite(), UdpTestSuite::UdpTestSuite(), UniformPlanarArrayTestSuite::UniformPlanarArrayTestSuite(), ns3::tests::ValArrayTestSuite::ValArrayTestSuite(), ns3::tests::WatchdogTestSuite::WatchdogTestSuite(), WaveformGeneratorTestSuite::WaveformGeneratorTestSuite(), WaypointMobilityModelTestSuite::WaypointMobilityModelTestSuite(), WifiAcMappingTestSuite::WifiAcMappingTestSuite(), WifiAggregationTestSuite::WifiAggregationTestSuite(), WifiChannelSwitchingTestSuite::WifiChannelSwitchingTestSuite(), WifiDynamicBwOpTestSuite::WifiDynamicBwOpTestSuite(), WifiEhtInfoElemsTestSuite::WifiEhtInfoElemsTestSuite(), WifiEmlsrTestSuite::WifiEmlsrTestSuite(), WifiErrorRateModelsTestSuite::WifiErrorRateModelsTestSuite(), WifiFilsFrameTestSuite::WifiFilsFrameTestSuite(), WifiHeInfoElemsTestSuite::WifiHeInfoElemsTestSuite(), WifiIeFragmentationTestSuite::WifiIeFragmentationTestSuite(), WifiMacOfdmaTestSuite::WifiMacOfdmaTestSuite(), WifiMacQueueTestSuite::WifiMacQueueTestSuite(), WifiMsduAggregatorTestSuite::WifiMsduAggregatorTestSuite(), WifiMultiLinkOperationsTestSuite::WifiMultiLinkOperationsTestSuite(), WifiNonHtDuplicateTestSuite::WifiNonHtDuplicateTestSuite(), WifiOperatingChannelTestSuite::WifiOperatingChannelTestSuite(), WifiPhyCcaTestSuite::WifiPhyCcaTestSuite(), WifiPhyMuMimoTestSuite::WifiPhyMuMimoTestSuite(), WifiPhyOfdmaTestSuite::WifiPhyOfdmaTestSuite(), WifiPhyReceptionTestSuite::WifiPhyReceptionTestSuite(), WifiPhyRxTraceHelperTestSuite::WifiPhyRxTraceHelperTestSuite(), WifiPhyThresholdsTestSuite::WifiPhyThresholdsTestSuite(), WifiPrimaryChannelsTestSuite::WifiPrimaryChannelsTestSuite(), WifiRuAllocationTestSuite::WifiRuAllocationTestSuite(), WifiTestSuite::WifiTestSuite(), WifiTransmitMaskTestSuite::WifiTransmitMaskTestSuite(), and WifiTxopTestSuite::WifiTxopTestSuite().
|
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 |
Definition at line 413 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(), DiffTestCase::DoRun(), MobilityTraceTestCase::DoRun(), ns3::ExampleAsTestCase::DoRun(), ReadFileTestCase::DoRun(), Ns3TcpLossTestCase::DoSetup(), and Ns3TcpStateTestCase::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 |
Definition at line 432 of file test.cc.
References ns3::SystemPath::Append(), CreateDataDirFilename(), ns3::SystemPath::CreateValidSystemPath(), ns3::TestRunnerImpl::GetTempDir(), ns3::SystemPath::Join(), m_name, m_parent, m_runner, ns3::SystemPath::MakeDirectories(), ns3::TestRunnerImpl::MustUpdateData(), and NS_LOG_FUNCTION.
Referenced by ChainRegressionTest::CreateDevices(), FlameRegressionTest::CreateDevices(), HwmpDoRfRegressionTest::CreateDevices(), HwmpProactiveRegressionTest::CreateDevices(), HwmpReactiveRegressionTest::CreateDevices(), HwmpSimplestRegressionTest::CreateDevices(), PeerManagementProtocolRegressionTest::CreateDevices(), CarrierAggregationTestCase::DoRun(), DiffTestCase::DoRun(), LenaCqaFfMacSchedulerTestCase1::DoRun(), LenaCqaFfMacSchedulerTestCase2::DoRun(), LenaDataPhyErrorModelTestCase::DoRun(), LenaDlCtrlPhyErrorModelTestCase::DoRun(), LenaFdBetFfMacSchedulerTestCase1::DoRun(), LenaFdBetFfMacSchedulerTestCase2::DoRun(), LenaFdMtFfMacSchedulerTestCase::DoRun(), LenaFdTbfqFfMacSchedulerTestCase1::DoRun(), LenaFdTbfqFfMacSchedulerTestCase2::DoRun(), LenaHarqTestCase::DoRun(), LenaMimoTestCase::DoRun(), LenaPfFfMacSchedulerTestCase1::DoRun(), LenaPfFfMacSchedulerTestCase2::DoRun(), LenaPssFfMacSchedulerTestCase1::DoRun(), LenaPssFfMacSchedulerTestCase2::DoRun(), LenaRrFfMacSchedulerTestCase::DoRun(), LenaTdBetFfMacSchedulerTestCase1::DoRun(), LenaTdBetFfMacSchedulerTestCase2::DoRun(), LenaTdMtFfMacSchedulerTestCase::DoRun(), LenaTdTbfqFfMacSchedulerTestCase1::DoRun(), LenaTdTbfqFfMacSchedulerTestCase2::DoRun(), LenaTtaFfMacSchedulerTestCase::DoRun(), LrWpanAckTestCase::DoRun(), LteEpcE2eDataTestCase::DoRun(), LteLinkAdaptationTestCase::DoRun(), LtePathlossModelSystemTestCase::DoRun(), LteRadioLinkFailureTestCase::DoRun(), MobilityTraceTestCase::DoRun(), ns3::ExampleAsTestCase::DoRun(), ns3::LenaDeactivateBearerTestCase::DoRun(), FileHeaderTestCase::DoSetup(), ReadModeCreateTestCase::DoSetup(), RecordHeaderTestCase::DoSetup(), WriteModeCreateTestCase::DoSetup(), and Ns2MobilityHelperTest::WriteTrace().
|
privatepure virtual |
Implementation to actually run this TestCase.
Subclasses should override this method to conduct their tests.
Implemented in AbstractAnimationInterfaceTestCase, AcousticModemEnergyDepletionTestCase, AcousticModemEnergyTestCase, AddressAllocator6TestCase, AddressAllocatorHelperTestCase, AddressAllocatorTestCase, AddressCollision6TestCase, AddressCollisionTestCase, AidAssignmentTest, AmpduAggregationTest, AredQueueDiscTestCase, ArrayResponseTest, AttributeContainerSerializationTestCase, AttributeContainerSetGetTestCase, AttributeContainerTestCase, AttributeTestCase< T >, AttributeTestCase< T >, AttributeTestCase< T >, AttributeTestCase< T >, AttributeTestCase< T >, AttributeTestCase< T >, AttributeTestCase< T >, AttributeTestCase< T >, BackoffGenerationTest, BasicCallbackTestCase, BasicEnergyHarvesterTestCase, BasicMultiLinkElementTest, BasicTracedCallbackTestCase, BitDeserializerTest, BitSerializerTest, BlockAckAggregationDisabledTest, BlockAckRecipientBufferTest, BoxLineIntersectionTestCase, BridgeTest, BriteTopologyFunctionTestCase, BriteTopologyStructureTestCase, BufferTest, Bug2222TestCase, Bug2470TestCase, Bug2831TestCase, Bug2843TestCase, Bug730TestCase, Bug772ChainTest, BuildingsChannelConditionModelTestCase, BuildingsHelperOneTestCase, BuildingsPathlossTestCase, BuildingsPenetrationLossesTestCase, BuildingsShadowingTestCase, BulkSendBasicTestCase, BulkSendSeqTsSizeTestCase, BurstErrorModelSimple, CallbackEqualityTestCase, CallbackValueTestCase, CarrierAggregationConfigTestCase, CarrierAggregationTestCase, CartesianToGeoTestCase, CCAVulnerableWindowTest, ChainRegressionTest, ChannelAccessManagerTest< TxopType >, ChannelAccessManagerTest< TxopType >, ChannelAccessManagerTest< TxopType >, ChannelTest, CircularApertureAntennaModelTestCase, ClassicRecoveryTest, ClickIfidFromNameTest, ClickIpMacAddressFromNameTest, ClickTrivialTest, CobaltQueueDiscBasicEnqueueDequeue, CobaltQueueDiscCeThresholdTest, CobaltQueueDiscDropTest, CobaltQueueDiscEnhancedBlueTest, CobaltQueueDiscMarkTest, CoDelQueueDiscBasicDrop, CoDelQueueDiscBasicEnqueueDequeue, CoDelQueueDiscBasicMark, CoDelQueueDiscBasicOverflow, CoDelQueueDiscControlLawTest, CoDelQueueDiscNewtonStepTest, CollisionTestCase, CosineAntennaModelTestCase, CsmaBridgeTestCase, CsmaBroadcastTestCase, CsmaMulticastTestCase, CsmaOneSubnetTestCase, CsmaPacketSocketTestCase, CsmaPingTestCase, CsmaRawIpSocketTestCase, CsmaStarTestCase, CtrlBAckResponseHeaderTest, DataRateTestCase1, DataRateTestCase2, DataRateTestCase, DcfImmediateAccessBroadcastTestCase, DegreesToRadiansTestCase, DeprecatedAttributeTestCase, DhcpTestCase, DiffTestCase, DropTailQueueTestCase, DsaRequestTestCase, DsdvHeaderTestCase, DsdvTableTestCase, DsrAckHeaderTest, DsrAckReqHeaderTest, DsrCacheEntryTest, DsrFsHeaderTest, DsrRerrHeaderTest, DsrRrepHeaderTest, DsrRreqHeaderTest, DsrRreqTableTest, DsrSendBuffTest, DsrSRHeaderTest, DsssModulationTest, DualStackTestCase, DuplicateTest, DynamicNeighborCacheTest, DynamicPartialTest, EhtAggregationTest, EhtOperationElementTest, EmlOmnExchangeTest, EmlOperatingModeNotificationTest, EmlsrCcaBusyTest, EmlsrDlTxopTest, EmlsrLinkSwitchTest, EmlsrUlOfdmaTest, EmlsrUlTxopTest, EpcS1uDlTestCase, EpcS1uUlTestCase, EpcTftClassifierTestCase, EpsGtpuHeaderTestCase, ErrorModelSimple, ExampleAddress6GeneratorTestCase, ExampleAddressGeneratorTestCase, FifoQueueDiscTestCase, FileHeaderTestCase, FiveDoublesAverageTestCase, FiveDoublesTestCase, FiveIntegersAverageTestCase, FiveIntegersTestCase, FlameHeaderTest, FlameRegressionTest, FlameRtableTest, FlushTest, FqCobaltQueueDiscDeficit, FqCobaltQueueDiscEcnMarking, FqCobaltQueueDiscIPFlowsSeparationAndPacketLimit, FqCobaltQueueDiscL4sMode, FqCobaltQueueDiscNoSuitableFilter, FqCobaltQueueDiscSetLinearProbing, FqCobaltQueueDiscTCPFlowsSeparation, FqCobaltQueueDiscUDPFlowsSeparation, FqCoDelQueueDiscDeficit, FqCoDelQueueDiscECNMarking, FqCoDelQueueDiscIPFlowsSeparationAndPacketLimit, FqCoDelQueueDiscL4sMode, FqCoDelQueueDiscNoSuitableFilter, FqCoDelQueueDiscSetLinearProbing, FqCoDelQueueDiscTCPFlowsSeparation, FqCoDelQueueDiscUDPFlowsSeparation, FqPieQueueDiscDeficit, FqPieQueueDiscIPFlowsSeparationAndPacketLimit, FqPieQueueDiscL4sMode, FqPieQueueDiscNoSuitableFilter, FqPieQueueDiscSetLinearProbing, FqPieQueueDiscTCPFlowsSeparation, FqPieQueueDiscUDPFlowsSeparation, FriisPropagationLossModelTestCase, FtrFadingModelAverageTest, GeoToAndFromTopocentricTestCase, GeoToCartesianTestCase, GetRnrLinkInfoTest, GlobalRouteManagerImplTestCase, HandoverPreparationInfoTestCase, He6GhzBandCapabilitiesTest, HeAggregationTest, HeOperationElementTest, HeRuMcsDataRateTestCase, HeSigBDurationTest, HistogramTestCase, HwmpDoRfRegressionTest, HwmpProactiveRegressionTest, HwmpReactiveRegressionTest, HwmpRtableTest, HwmpSimplestRegressionTest, IcmpEchoReplyTestCase, IcmpTimeExceedTestCase, IcmpV6EchoReplyTestCase, IcmpV6TimeExceedTestCase, IdealRateManagerChannelWidthTest, IdealRateManagerMimoTest, IntegerTraceSourceAttributeTestCase, IntegerTraceSourceTestCase, InterfaceContainerTest, InterferenceHelperSequenceTest, InternetStackHelperTestCase, IpAddressHelperTestCasev4, IpAddressHelperTestCasev6, Ipv4DeduplicationPerformanceTest, Ipv4DeduplicationTest, Ipv4DynamicGlobalRoutingTestCase, Ipv4ForwardingTest, Ipv4FragmentationTest, Ipv4GlobalRoutingSlash32TestCase, Ipv4HeaderTest, Ipv4L3ProtocolTestCase, Ipv4PacketInfoTagTest, Ipv4RawSocketImplTest, Ipv4RipCountToInfinityTest, Ipv4RipSplitHorizonStrategyTest, Ipv4RipTest, Ipv4StaticRoutingSlash32TestCase, Ipv6AddressTestCase, Ipv6DadTest, Ipv6ForwardingTest, Ipv6FragmentationTest, Ipv6L3ProtocolTestCase, Ipv6PacketInfoTagTest, Ipv6RawSocketImplTest, Ipv6RipngCountToInfinityTest, Ipv6RipngSplitHorizonStrategyTest, Ipv6RipngTest, IsotropicAntennaModelTestCase, Issue169TestCase, Issue211Test, Issue40TestCase, ItuR1411LosPropagationLossModelTestCase, ItuR1411NlosOverRooftopPropagationLossModelTestCase, Kun2600MhzPropagationLossModelTestCase, LanTest, LargestIdlePrimaryChannelTest, LenaCqaFfMacSchedulerTestCase1, LenaCqaFfMacSchedulerTestCase2, LenaDataPhyErrorModelTestCase, LenaDlCtrlPhyErrorModelTestCase, LenaFdBetFfMacSchedulerTestCase1, LenaFdBetFfMacSchedulerTestCase2, LenaFdMtFfMacSchedulerTestCase, LenaFdTbfqFfMacSchedulerTestCase1, LenaFdTbfqFfMacSchedulerTestCase2, LenaHarqTestCase, LenaMimoTestCase, LenaPfFfMacSchedulerTestCase1, LenaPfFfMacSchedulerTestCase2, LenaPssFfMacSchedulerTestCase1, LenaPssFfMacSchedulerTestCase2, LenaRrFfMacSchedulerTestCase, LenaTdBetFfMacSchedulerTestCase1, LenaTdBetFfMacSchedulerTestCase2, LenaTdMtFfMacSchedulerTestCase, LenaTdTbfqFfMacSchedulerTestCase1, LenaTdTbfqFfMacSchedulerTestCase2, LenaTtaFfMacSchedulerTestCase, LengthTestCase, LengthValueTestCase, LiIonEnergyTestCase, LinkTest, LogDistancePropagationLossModelTestCase, LollipopCounterTest, LookupTimeTestCase, LrWpanAckTestCase, LrWpanCcaTestCase, LrWpanCollisionTestCase, LrWpanDataIfsTestCase, LrWpanEdTestCase, LrWpanErrorDistanceTestCase, LrWpanErrorModelTestCase, LrWpanPacketTestCase, LrWpanPlmeAndPdInterfaceTestCase, LrWpanSlottedCsmacaTestCase, LrWpanSpectrumValueHelperTestCase, LteAggregationThroughputScaleTestCase, LteCellSelectionTestCase, LteCqiGenerationDlPowerControlTestCase, LteCqiGenerationTestCase, LteDistributedFfrAreaTestCase, LteDownlinkCtrlSinrTestCase, LteDownlinkDataSinrTestCase, LteDownlinkPowerControlRrcConnectionReconfigurationTestCase, LteDownlinkPowerControlSpectrumValueTestCase, LteDownlinkPowerControlTestCase, LteEarfcnDlTestCase, LteEarfcnTestCase, LteEarfcnUlTestCase, LteEnbAntennaTestCase, LteEnhancedFfrAreaTestCase, LteEpcE2eDataTestCase, LteFrAreaTestCase, LteFrTestCase, LteHandoverDelayTestCase, LteHandoverFailureTestCase, LteHandoverTargetTestCase, LteHardFrTestCase, LteInterferenceHardFrTestCase, LteInterferenceStrictFrTestCase, LteInterferenceTestCase, LteIpv6RoutingTestCase, LteLinkAdaptationTestCase, LteNoisePsdTestCase, LtePathlossModelSystemTestCase, LtePrimaryCellChangeTestCase, LteRadioLinkFailureTestCase, LteRlcAmE2eTestCase, LteRlcAmTransmitterConcatenationTestCase, LteRlcAmTransmitterOneSduTestCase, LteRlcAmTransmitterReportBufferStatusTestCase, LteRlcAmTransmitterSegmentationTestCase, LteRlcAmTransmitterTestCase, LteRlcUmE2eTestCase, LteRlcUmTransmitterConcatenationTestCase, LteRlcUmTransmitterOneSduTestCase, LteRlcUmTransmitterReportBufferStatusTestCase, LteRlcUmTransmitterSegmentationTestCase, LteRlcUmTransmitterTestCase, LteRrcConnectionEstablishmentErrorTestCase, LteRrcConnectionEstablishmentTestCase, LteSecondaryCellHandoverTestCase, LteSecondaryCellSelectionTestCase, LteSoftFfrAreaTestCase, LteSoftFrAreaTestCase, LteSpectrumModelTestCase, LteStrictFrAreaTestCase, LteStrictFrTestCase, LteTxPsdTestCase, LteUeMeasurementsHandoverTestCase, LteUeMeasurementsPiecewiseTestCase1, LteUeMeasurementsPiecewiseTestCase2, LteUeMeasurementsPiecewiseTestCase3, LteUeMeasurementsTestCase, LteUplinkClosedLoopPowerControlAbsoluteModeTestCase, LteUplinkClosedLoopPowerControlAccumulatedModeTestCase, LteUplinkDataSinrTestCase, LteUplinkOpenLoopPowerControlTestCase, LteUplinkPowerControlTestCase, LteUplinkSrsSinrTestCase, LteX2HandoverMeasuresTestCase, LteX2HandoverTestCase, MakeBoundCallbackTestCase, MakeCallbackTemplatesTestCase, MakeCallbackTestCase, MatrixPropagationLossModelTestCase, MeasurementReportTestCase, MeshHeaderTest, MeshInformationElementVectorBist, MldSwapLinksTest, MobilityTraceTestCase, MultiLinkMuTxTest, MultiLinkSetupTest, MultiLinkTxTest, MultiStaCtrlBAckResponseHeaderTest, NetDeviceContainerTest, NetworkAllocatorHelperTestCase, NetworkAndAddress6TestCase, NetworkAndAddressTestCase, NetworkNumber6AllocatorTestCase, NetworkNumberAllocatorTestCase, NixVectorRoutingTest, 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::ExampleAsTestCase, 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::Int64x64IntRoundTestCase, ns3::int64x64::test::Int64x64InvertTestCase, ns3::Ipv4ListRoutingNegativeTestCase, ns3::Ipv4ListRoutingPositiveTestCase, ns3::Ipv6ListRoutingNegativeTestCase, ns3::Ipv6ListRoutingPositiveTestCase, ns3::LenaDeactivateBearerTestCase, ns3::olsr::Bug780Test, ns3::olsr::HelloRegressionTest, ns3::olsr::TcRegressionTest, ns3::RlcAmStatusPduTestCase, ns3::TcpBbrCheckGainValuesTest, ns3::TcpBbrPacingEnableTest, ns3::TcpGeneralTest, ns3::TcpLpInferenceTest1, ns3::TcpLpInferenceTest2, ns3::TcpLpToNewReno, ns3::test::RandomVariable::BernoulliAntitheticTestCase, ns3::test::RandomVariable::BernoulliTestCase, ns3::test::RandomVariable::BinomialAntitheticTestCase, ns3::test::RandomVariable::BinomialTestCase, ns3::test::RandomVariable::ConstantTestCase, ns3::test::RandomVariable::DeterministicTestCase, ns3::test::RandomVariable::EmpiricalAntitheticTestCase, ns3::test::RandomVariable::EmpiricalTestCase, ns3::test::RandomVariable::ErlangAntitheticTestCase, ns3::test::RandomVariable::ErlangTestCase, ns3::test::RandomVariable::ExponentialAntitheticTestCase, ns3::test::RandomVariable::ExponentialTestCase, ns3::test::RandomVariable::GammaAntitheticTestCase, ns3::test::RandomVariable::GammaTestCase, ns3::test::RandomVariable::LaplacianTestCase, ns3::test::RandomVariable::LargestExtremeValueTestCase, ns3::test::RandomVariable::LogNormalAntitheticTestCase, ns3::test::RandomVariable::LogNormalTestCase, ns3::test::RandomVariable::NormalAntitheticTestCase, ns3::test::RandomVariable::NormalCachingTestCase, ns3::test::RandomVariable::NormalTestCase, ns3::test::RandomVariable::ParetoAntitheticTestCase, ns3::test::RandomVariable::ParetoTestCase, ns3::test::RandomVariable::SequentialTestCase, ns3::test::RandomVariable::ShuffleElementsTest, ns3::test::RandomVariable::UniformAntitheticTestCase, ns3::test::RandomVariable::UniformTestCase, ns3::test::RandomVariable::WeibullAntitheticTestCase, ns3::test::RandomVariable::WeibullTestCase, ns3::test::RandomVariable::ZetaAntitheticTestCase, ns3::test::RandomVariable::ZetaTestCase, ns3::test::RandomVariable::ZipfAntitheticTestCase, ns3::test::RandomVariable::ZipfTestCase, ns3::tests::AggregateObjectTestCase, ns3::tests::AlternateFindTestCase, ns3::tests::BasicAddTestCase, ns3::tests::BasicFindTestCase, ns3::tests::BasicRenameTestCase, ns3::tests::BuildProfileTestCase, ns3::tests::CommandLineBooleanTestCase, ns3::tests::CommandLineCharStarTestCase, ns3::tests::CommandLineIntTestCase, ns3::tests::CommandLineInvalidTestCase, ns3::tests::CommandLineNonOptionTestCase, ns3::tests::CommandLineOrderTestCase, ns3::tests::CommandLineStringTestCase, ns3::tests::CommandLineUint8tTestCase, ns3::tests::CommandLineUnsignedIntTestCase, ns3::tests::ComplexMatrixArrayTestCase, ns3::tests::CreateObjectTestCase, ns3::tests::DefaultHashTestCase, ns3::tests::EnvVarTestCase, ns3::tests::EventGarbageCollectorTestCase, ns3::tests::FindPathTestCase, ns3::tests::Fnv1aTestCase, ns3::tests::FullyQualifiedAddTestCase, ns3::tests::FullyQualifiedFindTestCase, ns3::tests::FullyQualifiedRenameTestCase, ns3::tests::GlobalValueTestCase, ns3::tests::Hash32FunctionPtrTestCase, ns3::tests::Hash64FunctionPtrTestCase, ns3::tests::HashTestCase, ns3::tests::IncrementalTestCase, ns3::tests::ManyUniformRandomVariablesOneGetValueCallTestCase, ns3::tests::MatrixArrayTestCase< T >, ns3::tests::Murmur3TestCase, 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::SplitStringTestCase, ns3::tests::StringContextAddTestCase, ns3::tests::StringContextFindTestCase, ns3::tests::StringContextRenameTestCase, ns3::tests::TrickleTimerTestCase, ns3::tests::TypeTraitsTestCase, ns3::tests::UnderRootNamespaceConfigTestCase, ns3::tests::UnidirectionalAggregateObjectTestCase, ns3::tests::ValArrayTestCase< T >, ns3::tests::WatchdogTestCase, ns3::TestSuite, Ns3TcpCubicTestCase, Ns3TcpLossTestCase, Ns3TcpNoDelayTestCase, Ns3TcpSocketTestCaseCsma, Ns3TcpSocketTestCaseP2P, Ns3TcpStateTestCase, Ns3WimaxCsParamTlvTestCase, Ns3WimaxFragmentationTestCase, Ns3WimaxManagementConnectionsTestCase, Ns3WimaxNetworkEntryTestCase, Ns3WimaxSchedulingTestCase, Ns3WimaxSfCreationTestCase, Ns3WimaxSfTlvTestCase, Ns3WimaxSFTypeTestCase, Ns3WimaxSimpleOFDMTestCase, Ns3WimaxSNRtoBLERTestCase, NullifyCallbackTestCase, ObjectMapAttributeTestCase, ObjectVectorAttributeTestCase, OfdmaAckSequenceTest, OkumuraHataPropagationLossModelTestCase, OlsrEmfTestCase, OlsrHelloTestCase, OlsrHnaTestCase, OlsrMidTestCase, OlsrMprTestCase, OlsrTcTestCase, OneIntegerAverageTestCase, OneIntegerTestCase, OneVectorConstructorTestCase, OrigBlockAckWindowStalled, OriginatorBlockAckWindowTest, OutdoorRandomWalkTestCase, OverallGainAverageTest, PacketBufferingCaseA, PacketBufferingCaseB, PacketLossCounterTestCase, PacketMetadataTest, PacketSocketAppsTest, PacketTagListTest, PacketTest, PairValueSettingsTestCase, PairValueTestCase, ParabolicAntennaModelTestCase, PbbTestCase, PeerLinkFrameStartTest, PeerManagementProtocolRegressionTest, PfifoFastQueueDiscDscpPrioritization, PfifoFastQueueDiscNoPriority, PfifoFastQueueDiscOverflow, PfifoFastQueueDiscTosPrioritization, PhyChannelSettingsToOperatingChannelTest, PhyHeaderSectionsTest, PieQueueDiscTestCase, PingTestCase, PointerAttributeTestCase, PointToPointTest, PowerRateAdaptationTest, PreservePacketsInAmpdus, PrioQueueDiscTestCase, ProbeTestCase1, PrrRecoveryTest, QosFragmentationTestCase, QosUtilsIsOldPacketTest, QueueDiscTracesTestCase, RadiansToDegreesTestCase, RadvdTestCase, RandCartAroundGeoTestCase, RandomRoomPositionAllocatorTestCase, RandomVariableStreamAttributeTestCase, RangePropagationLossModelTestCase, ReadFileTestCase, ReadModeCreateTestCase, RecordHeaderTestCase, RectangleClosestBorderTestCase, RedQueueDiscTestCase, ReducedNeighborReportTest, ReleaseSeqNoAfterCtsTimeoutTest, ResetAllocatorHelperTestCase, RngExponentialTestCase, RngNormalTestCase, RngParetoTestCase, RngUniformTestCase, RocketfuelTopologyReaderMapsTest, RocketfuelTopologyReaderWeightsTest, RrcConnectionReconfigurationCompleteTestCase, RrcConnectionReconfigurationTestCase, RrcConnectionReestablishmentCompleteTestCase, RrcConnectionReestablishmentRequestTestCase, RrcConnectionReestablishmentTestCase, RrcConnectionRejectTestCase, RrcConnectionRequestTestCase, RrcConnectionSetupCompleteTestCase, RrcConnectionSetupTestCase, RrcHeaderTestCase, RttEstimatorTestCase, SameRoomPositionAllocatorTestCase, SequenceNumberTestCase, SetChannelFrequencyTest, SetWifiOperatingChannelTest, SimulatorEventsTestCase, SimulatorTemplateTestCase, SixlowpanFragmentationTest, SixlowpanHc1ImplTest, SixlowpanIphcImplTest, SixlowpanIphcStatefulImplTest, SpectrumIdealPhyTestCase, SpectrumInterferenceTestCase, SpectrumValueTestCase, SpectrumWifiPhy80Plus80Test, SpectrumWifiPhyBasicTest, SpectrumWifiPhyFilterTest, SpectrumWifiPhyGetBandTest, SpectrumWifiPhyInterfacesHelperTest, SpectrumWifiPhyListenerTest, SpectrumWifiPhyMultipleInterfacesTest, SpectrumWifiPhyTrackedBandsTest, StartSeqNoUpdateAfterAddBaTimeoutTest, StaWifiMacScanningTestCase, SteadyStateRandomWaypointTest, SwitchFlowTableTestCase, TableBasedErrorRateTestCase, TbfQueueDiscTestCase, TcFlowControlTestCase, TcpBicDecrementTest, TcpBicIncrementTest, TcpDctcpToLinuxReno, TcpEndPointBug2211Test, TcpHeaderFlagsToString, TcpHeaderGetSetTestCase, TcpHeaderWithRFC793OptionTestCase, TcpHighSpeedDecrementTest, TcpHighSpeedIncrementTest, TcpHtcpIncrementTest, TcpHyblaIncrementTest, TcpIllinoisTest, TcpLedbatDecrementTest, TcpLedbatIncrementTest, TcpLedbatToNewReno, TcpOptionTSTestCase, TcpOptionWSTestCase, TcpRateLinuxBasicTest, TcpRateLinuxWithBufferTest, TcpRxBufferTestCase, TcpScalableDecrementTest, TcpScalableIncrementTest, TcpSynConnectionFailedTest, TcpTestCase, TcpTxBufferTestCase, TcpVegasTest, TcpVenoTest, TcpYeahDecrementTest, TcpYeahIncrementTest, TestActiveScanPanDescriptors, TestAmpduReception, TestDlMuMimoPhyTransmission, TestDlMuTxVector, TestDlOfdmaPhyPuncturing, TestDlOfdmaPhyTransmission, TestEmptyOptionField, TestFulfilledAlignment, TestInterBssConstantObssPdAlgo, TestMultipleCtsResponsesFromMuRts, TestMultipleHeTbPreambles, TestNonHtDuplicatePhyReception, TestOptionWithAlignment, TestOptionWithoutAlignment, TestOrphanScan, TestPhyDropDueToTx, TestPhyHeadersReception, TestPhyPaddingExclusion, TestPrimary20CoveredByPpdu, TestRxOffWhenIdleAfterCsmaFailure, TestSimpleFrameCaptureModel, TestSpectrumChannelWithBandwidthFilter, TestThresholdPreambleDetectionWithFrameCapture, TestThresholdPreambleDetectionWithoutFrameCapture, TestUlMuMimoPhyTransmission, TestUlOfdmaPhyTransmission, TestUlOfdmaPowerControl, TestUlOfdmaPpduUid, TestUnsupportedBandwidthReception, TestUnsupportedModulationReception, TestWifiPhyRxTraceHelper, TestWifiPhyRxTraceHelperMloStr, TestWifiPhyRxTraceHelperYans, ThreadedSimulatorEventsTestCase, ThreeGppAntennaSetupChangedTest, ThreeGppCalcLongTermMultiPortTest, ThreeGppChannelConditionModelTestCase, ThreeGppChannelMatrixComputationTest, ThreeGppChannelMatrixUpdateTest, ThreeGppHttpObjectTestCase, ThreeGppIndoorOfficePropagationLossModelTestCase, ThreeGppMimoPolarizationTest, ThreeGppNTNPropagationLossModelTestCase, ThreeGppRmaPropagationLossModelTestCase, ThreeGppShadowingTestCase, ThreeGppSpectrumPropagationLossModelTest, ThreeGppUmaPropagationLossModelTestCase, ThreeGppUmiPropagationLossModelTestCase, ThreeGppV2vBuildingsChCondModelTestCase, ThreeGppV2vHighwayLosNlosvChCondModelTestCase, ThreeGppV2vHighwayPropagationLossModelTestCase, ThreeGppV2vUrbanLosNlosvChCondModelTestCase, ThreeGppV2vUrbanPropagationLossModelTestCase, TidToLinkMappingElementTest, TimeInputOutputTestCase, TimerStateTestCase, TimerTemplateTestCase, TimeSimpleTestCase, TimestampValueTestCase, TimeWithSignTestCase, TimInformationElementTest, TracedCallbackTestCase, TracedCallbackTypedefTestCase, TracedValueCallbackTestCase, TupleValueTestCase, TvHelperDistributionTestCase, TvSpectrumTransmitterTestCase, TwoBridgeTest, TwoLanTest, TwoLevelAggregationTest, TwoLinkTest, TwoRayGroundPropagationLossModelTestCase, TwoVectorsConstructorTestCase, TxDurationTest, UanModesListTest, UanTest, Udp6SocketImplTest, Udp6SocketLoopbackTest, UdpClientServerTestCase, UdpEchoClientSetFillTestCase, UdpSocketImplTest, UdpSocketLoopbackTest, UdpTraceClientServerTestCase, UniformPlanarArrayTestCase, UniqueTypeIdTestCase, V2vHighwayProbChCondModelTestCase, V2vUrbanProbChCondModelTestCase, WaveformGeneratorTestCase, WaypointInitialPositionIsWaypoint, WaypointLazyNotifyFalse, WaypointLazyNotifyTrue, WaypointMobilityModelAddWaypointTest, WaypointMobilityModelNotifyTest, WaypointMobilityModelViaHelper, Wifi20MHzChannelIndicesTest, Wifi20MHzIndicesCoveringRuTest, WifiAcMappingTest, WifiChannelSwitchingTest, WifiEhtCapabilitiesIeTest, WifiErrorRateModelsTestCaseDsss, WifiErrorRateModelsTestCaseMimo, WifiErrorRateModelsTestCaseNist, WifiExtractExpiredMpdusTest, WifiFilsFrameTest, WifiIeFragmentationTest, WifiMacQueueDropOldestTest, WifiMgtHeaderTest, WifiMsduAggregatorThroughputTest, WifiOfdmMaskSlopesTestCase, WifiPhyCcaIndicationTest, WifiPhyCcaThresholdsTest, WifiPhyChannel80Plus80Test, WifiPhyThresholdsStrongForeignSignalTest, WifiPhyThresholdsStrongWifiSignalTest, WifiPhyThresholdsWeakForeignSignalTest, WifiPhyThresholdsWeakWifiSignalTest, WifiPrimaryChannelsTest, WifiTest, WifiTxopTest, WifiUseAvailBwTest, WrapToRangeFunctionalTestCase, WrapToRangeTestCase, and WriteModeCreateTestCase.
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 setup before DoRun is invoked.
Reimplemented in AidAssignmentTest, AmpduAggregationTest, BackoffGenerationTest, BasicCallbackTestCase, BridgeTest, CallbackEqualityTestCase, EmlOmnExchangeTest, EmlsrCcaBusyTest, EmlsrDlTxopTest, EmlsrLinkSwitchTest, EmlsrOperationsTestBase, EmlsrUlOfdmaTest, EmlsrUlTxopTest, FileHeaderTestCase, LanTest, LinkTest, LookupTimeTestCase, MakeBoundCallbackTestCase, MakeCallbackTestCase, MultiLinkMuTxTest, MultiLinkOperationsTestBase, MultiLinkSetupTest, MultiLinkTxTest, Ns2MobilityHelperTest, Ns3TcpLossTestCase, Ns3TcpStateTestCase, NullifyCallbackTestCase, OrigBlockAckWindowStalled, PhyChannelSettingsToOperatingChannelTest, PingTestCase, ReadFileTestCase, ReadModeCreateTestCase, RecordHeaderTestCase, ReleaseSeqNoAfterCtsTimeoutTest, SpectrumWifiPhy80Plus80Test, SpectrumWifiPhyBasicTest, SpectrumWifiPhyFilterTest, SpectrumWifiPhyGetBandTest, SpectrumWifiPhyListenerTest, SpectrumWifiPhyMultipleInterfacesTest, SpectrumWifiPhyTrackedBandsTest, StartSeqNoUpdateAfterAddBaTimeoutTest, TestAmpduReception, TestDlMuMimoPhyTransmission, TestDlOfdmaPhyPuncturing, TestDlOfdmaPhyTransmission, TestMultipleCtsResponsesFromMuRts, TestMultipleHeTbPreambles, TestNonHtDuplicatePhyReception, TestPhyDropDueToTx, TestPhyPaddingExclusion, TestPrimary20CoveredByPpdu, TestSimpleFrameCaptureModel, TestSpectrumChannelWithBandwidthFilter, TestThresholdPreambleDetectionWithFrameCapture, TestThresholdPreambleDetectionWithoutFrameCapture, TestUlMuMimoPhyTransmission, TestUlOfdmaPhyTransmission, TestUlOfdmaPowerControl, TestUlOfdmaPpduUid, TestUnsupportedBandwidthReception, TestWifiPhyRxTraceHelper, TestWifiPhyRxTraceHelperMloStr, TestWifiPhyRxTraceHelperYans, ThreadedSimulatorEventsTestCase, TidToLinkMappingElementTest, TimeSimpleTestCase, TimeWithSignTestCase, TwoBridgeTest, TwoLanTest, TwoLinkTest, WifiFilsFrameTest, WifiOfdmMaskSlopesTestCase, WifiPhyCcaIndicationTest, WifiPhyCcaThresholdsTest, WifiPhyReceptionTest, WifiPhyThresholdsTest, WifiPrimaryChannelsTest, and WriteModeCreateTestCase.
Definition at line 479 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 AddressAllocator6TestCase, AddressAllocatorHelperTestCase, AddressAllocatorTestCase, AddressCollision6TestCase, AddressCollisionTestCase, AmpduAggregationTest, DualStackTestCase, ExampleAddress6GeneratorTestCase, ExampleAddressGeneratorTestCase, FileHeaderTestCase, InternetStackHelperTestCase, IpAddressHelperTestCasev4, IpAddressHelperTestCasev6, LteHandoverFailureTestCase, LteHandoverTargetTestCase, LteSecondaryCellHandoverTestCase, LteUeMeasurementsHandoverTestCase, LteUeMeasurementsPiecewiseTestCase1, LteUeMeasurementsPiecewiseTestCase2, LteUeMeasurementsPiecewiseTestCase3, NetworkAllocatorHelperTestCase, NetworkAndAddress6TestCase, NetworkAndAddressTestCase, NetworkNumber6AllocatorTestCase, NetworkNumberAllocatorTestCase, Ns2MobilityHelperTest, ns3::TcpGeneralTest, ns3::tests::AlternateFindTestCase, ns3::tests::BasicAddTestCase, ns3::tests::BasicFindTestCase, ns3::tests::BasicRenameTestCase, ns3::tests::FindPathTestCase, ns3::tests::FullyQualifiedAddTestCase, ns3::tests::FullyQualifiedFindTestCase, ns3::tests::FullyQualifiedRenameTestCase, ns3::tests::RelativeAddTestCase, ns3::tests::RelativeFindTestCase, ns3::tests::RelativeRenameTestCase, ns3::tests::StringContextAddTestCase, ns3::tests::StringContextFindTestCase, ns3::tests::StringContextRenameTestCase, Ns3TcpLossTestCase, Ns3TcpStateTestCase, PhyChannelSettingsToOperatingChannelTest, PingTestCase, ReadFileTestCase, ReadModeCreateTestCase, RecordHeaderTestCase, ResetAllocatorHelperTestCase, RttEstimatorTestCase, SpectrumWifiPhy80Plus80Test, SpectrumWifiPhyBasicTest, SpectrumWifiPhyFilterTest, SpectrumWifiPhyGetBandTest, SpectrumWifiPhyMultipleInterfacesTest, SpectrumWifiPhyTrackedBandsTest, SteadyStateRandomWaypointTest, TcpHeaderGetSetTestCase, TcpHeaderWithRFC793OptionTestCase, TcpLinuxRenoCongAvoidTest, TcpLinuxRenoSSTest, TcpOptionTSTestCase, TcpOptionWSTestCase, TcpRateLinuxWithBufferTest, TcpRxBufferTestCase, TcpTestCase, TcpTxBufferTestCase, TestDlMuMimoPhyTransmission, TestDlOfdmaPhyPuncturing, TestDlOfdmaPhyTransmission, TestMultipleCtsResponsesFromMuRts, TestMultipleHeTbPreambles, TestNonHtDuplicatePhyReception, TestPhyDropDueToTx, TestPhyPaddingExclusion, TestPrimary20CoveredByPpdu, TestSpectrumChannelWithBandwidthFilter, TestUlMuMimoPhyTransmission, TestUlOfdmaPhyTransmission, TestUlOfdmaPowerControl, TestUlOfdmaPpduUid, TestUnsupportedBandwidthReception, TestWifiPhyRxTraceHelper, TestWifiPhyRxTraceHelperMloStr, TestWifiPhyRxTraceHelperYans, ThreadedSimulatorEventsTestCase, ThreeGppHttpObjectTestCase, TimerTemplateTestCase, TimeSimpleTestCase, TimestampValueTestCase, TimeWithSignTestCase, WaypointMobilityModelAddWaypointTest, WaypointMobilityModelNotifyTest, WifiFilsFrameTest, WifiPhyCcaIndicationTest, WifiPhyCcaThresholdsTest, WifiPhyReceptionTest, WifiPhyThresholdsTest, and WriteModeCreateTestCase.
Definition at line 485 of file test.cc.
References NS_LOG_FUNCTION.
Referenced by Run().
std::string ns3::TestCase::GetName | ( | ) | const |
Definition at line 367 of file test.cc.
References m_name, and NS_LOG_FUNCTION.
Referenced by LteAggregationThroughputScaleTestCase::LteAggregationThroughputScaleTestCase(), LteCellSelectionTestCase::LteCellSelectionTestCase(), LtePrimaryCellChangeTestCase::LtePrimaryCellChangeTestCase(), LteRadioLinkFailureTestCase::LteRadioLinkFailureTestCase(), LteRrcConnectionEstablishmentErrorTestCase::LteRrcConnectionEstablishmentErrorTestCase(), LteRrcConnectionEstablishmentTestCase::LteRrcConnectionEstablishmentTestCase(), LteSecondaryCellSelectionTestCase::LteSecondaryCellSelectionTestCase(), ThreeGppHttpObjectTestCase::ThreeGppHttpObjectTestCase(), LteAggregationThroughputScaleTestCase::~LteAggregationThroughputScaleTestCase(), LteCellSelectionTestCase::~LteCellSelectionTestCase(), LtePrimaryCellChangeTestCase::~LtePrimaryCellChangeTestCase(), LteRadioLinkFailureTestCase::~LteRadioLinkFailureTestCase(), LteSecondaryCellSelectionTestCase::~LteSecondaryCellSelectionTestCase(), PacketTagListTest::AddRemoveTime(), ns3::int64x64::test::Int64x64ArithmeticTestCase::Check(), ns3::int64x64::test::Int64x64Bug1786TestCase::Check(), ns3::int64x64::test::Int64x64Bug455TestCase::Check(), ns3::int64x64::test::Int64x64Bug863TestCase::Check(), ns3::int64x64::test::Int64x64CompareTestCase::Check(), ns3::int64x64::test::Int64x64DoubleTestCase::Check(), ns3::int64x64::test::Int64x64DoubleTestCase::Check(), ns3::int64x64::test::Int64x64HiLoTestCase::Check(), ns3::int64x64::test::Int64x64InputOutputTestCase::Check(), ns3::int64x64::test::Int64x64InputTestCase::Check(), ns3::int64x64::test::Int64x64IntRoundTestCase::Check(), ns3::tests::HashTestCase::Check(), TimeInputOutputTestCase::Check(), TimeInputOutputTestCase::CheckAs(), ns3::int64x64::test::Int64x64InvertTestCase::CheckCase(), CollisionTestCase::DoRun(), DeprecatedAttributeTestCase::DoRun(), LenaCqaFfMacSchedulerTestCase1::DoRun(), LenaFdTbfqFfMacSchedulerTestCase1::DoRun(), LenaMimoTestCase::DoRun(), LenaPssFfMacSchedulerTestCase1::DoRun(), LenaTdTbfqFfMacSchedulerTestCase1::DoRun(), LookupTimeTestCase::DoRun(), LteCellSelectionTestCase::DoRun(), LteEpcE2eDataTestCase::DoRun(), LteHandoverFailureTestCase::DoRun(), LteHandoverTargetTestCase::DoRun(), LteInterferenceHardFrTestCase::DoRun(), LteInterferenceStrictFrTestCase::DoRun(), LteInterferenceTestCase::DoRun(), LtePrimaryCellChangeTestCase::DoRun(), LteRadioLinkFailureTestCase::DoRun(), LteRrcConnectionEstablishmentErrorTestCase::DoRun(), LteRrcConnectionEstablishmentTestCase::DoRun(), LteSecondaryCellHandoverTestCase::DoRun(), LteSecondaryCellSelectionTestCase::DoRun(), LteUeMeasurementsHandoverTestCase::DoRun(), LteUeMeasurementsPiecewiseTestCase1::DoRun(), LteUeMeasurementsPiecewiseTestCase2::DoRun(), LteUeMeasurementsPiecewiseTestCase3::DoRun(), LteUeMeasurementsTestCase::DoRun(), ns3::ExampleAsTestCase::DoRun(), ns3::int64x64::test::Int64x64ArithmeticTestCase::DoRun(), ns3::int64x64::test::Int64x64Bug1786TestCase::DoRun(), ns3::int64x64::test::Int64x64Bug455TestCase::DoRun(), ns3::int64x64::test::Int64x64Bug863TestCase::DoRun(), ns3::int64x64::test::Int64x64CompareTestCase::DoRun(), ns3::int64x64::test::Int64x64DoubleTestCase::DoRun(), ns3::int64x64::test::Int64x64HiLoTestCase::DoRun(), ns3::int64x64::test::Int64x64ImplTestCase::DoRun(), ns3::int64x64::test::Int64x64InputOutputTestCase::DoRun(), ns3::int64x64::test::Int64x64InputTestCase::DoRun(), ns3::int64x64::test::Int64x64IntRoundTestCase::DoRun(), ns3::int64x64::test::Int64x64InvertTestCase::DoRun(), ns3::tests::BuildProfileTestCase::DoRun(), ns3::tests::DefaultHashTestCase::DoRun(), ns3::tests::IncrementalTestCase::DoRun(), PacketTagListTest::DoRun(), ThreeGppHttpObjectTestCase::DoRun(), TimeInputOutputTestCase::DoRun(), UniqueTypeIdTestCase::DoRun(), ThreeGppHttpObjectTestCase::DoTeardown(), LteAggregationThroughputScaleTestCase::GetThroughput(), ns3::tests::CommandLineTestCaseBase::Parse(), and PacketTagListTest::RemoveTime().
|
protected |
Get the parent of this TestCase.
Definition at line 374 of file test.cc.
References m_parent.
Referenced by ns3::int64x64::test::Int64x64ArithmeticTestCase::Check(), ns3::int64x64::test::Int64x64Bug1786TestCase::Check(), ns3::int64x64::test::Int64x64Bug455TestCase::Check(), ns3::int64x64::test::Int64x64Bug863TestCase::Check(), ns3::int64x64::test::Int64x64CompareTestCase::Check(), ns3::int64x64::test::Int64x64DoubleTestCase::Check(), ns3::int64x64::test::Int64x64DoubleTestCase::Check(), ns3::int64x64::test::Int64x64HiLoTestCase::Check(), ns3::int64x64::test::Int64x64InputOutputTestCase::Check(), ns3::int64x64::test::Int64x64InputTestCase::Check(), ns3::int64x64::test::Int64x64IntRoundTestCase::Check(), TimeInputOutputTestCase::Check(), TimeInputOutputTestCase::CheckAs(), ns3::int64x64::test::Int64x64InvertTestCase::CheckCase(), ns3::int64x64::test::Int64x64ArithmeticTestCase::DoRun(), ns3::int64x64::test::Int64x64Bug1786TestCase::DoRun(), ns3::int64x64::test::Int64x64Bug455TestCase::DoRun(), ns3::int64x64::test::Int64x64Bug863TestCase::DoRun(), ns3::int64x64::test::Int64x64CompareTestCase::DoRun(), ns3::int64x64::test::Int64x64DoubleTestCase::DoRun(), ns3::int64x64::test::Int64x64HiLoTestCase::DoRun(), ns3::int64x64::test::Int64x64ImplTestCase::DoRun(), ns3::int64x64::test::Int64x64InputOutputTestCase::DoRun(), ns3::int64x64::test::Int64x64InputTestCase::DoRun(), ns3::int64x64::test::Int64x64IntRoundTestCase::DoRun(), ns3::int64x64::test::Int64x64InvertTestCase::DoRun(), TimeInputOutputTestCase::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 333 of file test.cc.
References ns3::TestCase::Result::childrenFailed, ns3::TestCase::Result::failure, m_result, and NS_LOG_FUNCTION.
Referenced by Run().
|
protected |
Check if any tests failed.
true
if any of the tests have failed, false
otherwise. Definition at line 458 of file test.cc.
References IsStatusSuccess(), and NS_LOG_FUNCTION.
Referenced by Ns2MobilityHelperTest::CheckInitialPositions().
|
protected |
Check if all tests passed.
true
if the tests have succeeded, false
otherwise. Definition at line 465 of file test.cc.
References ns3::TestCase::Result::failure, m_result, and NS_LOG_FUNCTION.
Referenced by Ns3TcpLossTestCase::Ipv4L3Tx(), Ns3TcpStateTestCase::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 406 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 380 of file test.cc.
References ns3::TestCase::Result::childrenFailed, ns3::TestCase::Result::failure, m_parent, m_result, and NS_LOG_FUNCTION.
|
private |
Executes DoSetup(), DoRun(), and DoTeardown() for the TestCase.
Config::Reset() is called at both the beginning and end of this method so that any changes to attribute default values (Config::SetDefault(...)) or global values (e.g., RngRun) that are made within the test case's DoRun() method do not propagate beyond the scope of running the TestCase.
[in] | runner | The test runner implementation. |
Definition at line 340 of file test.cc.
References ns3::TestCase::Result::clock, DoRun(), DoSetup(), DoTeardown(), ns3::SystemWallClockMs::End(), IsFailed(), m_children, m_result, m_runner, NS_LOG_FUNCTION, ns3::Config::Reset(), ns3::RngSeedManager::ResetNextStreamIndex(), 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/CMakeLists.txt for each module
Definition at line 472 of file test.cc.
References m_dataDir, and NS_LOG_FUNCTION.
Referenced by ns3::aodv::AodvLoopbackTestSuite::AodvLoopbackTestSuite(), AodvRegressionTestSuite::AodvRegressionTestSuite(), Dot11sRegressionSuite::Dot11sRegressionSuite(), FlameRegressionSuite::FlameRegressionSuite(), Ns2MobilityHelperTestSuite::Ns2MobilityHelperTestSuite(), Ns3TcpLossTestSuite::Ns3TcpLossTestSuite(), Ns3TcpStateTestSuite::Ns3TcpStateTestSuite(), PcapFileTestSuite::PcapFileTestSuite(), RegressionTestSuite::RegressionTestSuite(), MobilityTraceTestCase::DoRun(), and ns3::ExampleAsTestCase::DoRun().
|
friend |
|
staticconstexpr |
|
private |
Vector of my children.
Definition at line 1251 of file test.h.
Referenced by ~TestCase(), AddTestCase(), and Run().
|
private |
My data directory.
Definition at line 1252 of file test.h.
Referenced by CreateDataDirFilename(), and SetDataDir().
|
private |
TestCase duration.
Definition at line 1256 of file test.h.
Referenced by AddTestCase(), and ns3::TestRunnerImpl::FilterTests().
|
private |
TestCase name.
Definition at line 1255 of file test.h.
Referenced by AddTestCase(), CreateTempDirFilename(), and GetName().
|
private |
Pointer to my parent TestCase.
Definition at line 1250 of file test.h.
Referenced by ~TestCase(), AddTestCase(), CreateDataDirFilename(), CreateTempDirFilename(), GetParent(), and ReportTestFailure().
|
private |
Results data.
Definition at line 1254 of file test.h.
Referenced by ~TestCase(), IsFailed(), IsStatusSuccess(), ReportTestFailure(), and Run().
|
private |
Pointer to the TestRunner.
Definition at line 1253 of file test.h.
Referenced by ~TestCase(), CreateDataDirFilename(), CreateTempDirFilename(), MustAssertOnFailure(), MustContinueOnFailure(), and Run().
|
staticconstexpr |
Deprecated test duration simple enums.
Use the TestCase::Duration
enum class symbols instead.
|
staticconstexpr |