Make test cases not return bool valuesMake all TestSuite instances be static

This commit is contained in:
Mitch Watrous committed 2011-01-17 12:53:20 -08:00
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
+2 -4
View File
@@ -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)