Make test cases not return bool valuesMake all TestSuite instances be static
This commit is contained in:
1 parent
53d882e28b
commit
bfef0ebd2f
119 files changed
+751
-1052
No files matched your search
@@ -275,11 +275,11 @@ private:
|
||||
NodeContainer nodes;
|
||||
double NodeCount;
|
||||
private:
|
||||
virtual bool DoRun (void);
|
||||
virtual void DoRun (void);
|
||||
void DistribCompare ();
|
||||
};
|
||||
|
||||
bool
|
||||
void
|
||||
SteadyStateRandomWaypointTest::DoRun (void)
|
||||
{
|
||||
SeedManager::SetSeed(123);
|
||||
@@ -307,8 +307,6 @@ SteadyStateRandomWaypointTest::DoRun (void)
|
||||
Simulator::Stop (Seconds (totalTime));
|
||||
Simulator::Run ();
|
||||
Simulator::Destroy ();
|
||||
|
||||
return GetErrorStatus ();
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -235,11 +235,11 @@ private:
|
||||
std::deque<Waypoint> waypoints;
|
||||
bool lazyNotify;
|
||||
private:
|
||||
virtual bool DoRun (void);
|
||||
virtual void DoRun (void);
|
||||
void ForceUpdates (void);
|
||||
void CourseChangeCallback (std::string path, Ptr<const MobilityModel> model);
|
||||
};
|
||||
bool
|
||||
void
|
||||
WaypointMobilityModelNotifyTest::DoRun (void)
|
||||
{
|
||||
nodeCount = 1;
|
||||
@@ -282,8 +282,6 @@ WaypointMobilityModelNotifyTest::DoRun (void)
|
||||
Simulator::Stop (Seconds ((double)waypointCount + 2.0));
|
||||
Simulator::Run ();
|
||||
Simulator::Destroy ();
|
||||
|
||||
return GetErrorStatus ();
|
||||
}
|
||||
void
|
||||
WaypointMobilityModelNotifyTest::ForceUpdates (void)
|
||||
|
||||
Reference in new issue
Block a user