src/routing/global-routing/model/global-route-manager-impl.cc
changeset 6775 0783f42a364b
parent 6648 d1785ce489c5
equal deleted inserted replaced
6774:034f362af24d 6775:0783f42a364b
  2199 
  2199 
  2200 class GlobalRouteManagerImplTestCase : public TestCase
  2200 class GlobalRouteManagerImplTestCase : public TestCase
  2201 {
  2201 {
  2202 public:
  2202 public:
  2203   GlobalRouteManagerImplTestCase();
  2203   GlobalRouteManagerImplTestCase();
  2204   virtual bool DoRun(void);
  2204   virtual void DoRun(void);
  2205 };
  2205 };
  2206 
  2206 
  2207 GlobalRouteManagerImplTestCase::GlobalRouteManagerImplTestCase()
  2207 GlobalRouteManagerImplTestCase::GlobalRouteManagerImplTestCase()
  2208   : TestCase("GlobalRouteManagerImplTestCase")
  2208   : TestCase("GlobalRouteManagerImplTestCase")
  2209 {}
  2209 {}
  2210 bool 
  2210 void
  2211 GlobalRouteManagerImplTestCase::DoRun(void)
  2211 GlobalRouteManagerImplTestCase::DoRun(void)
  2212 {
  2212 {
  2213   CandidateQueue candidate;
  2213   CandidateQueue candidate;
  2214 
  2214 
  2215   for (int i = 0; i < 100; ++i)
  2215   for (int i = 0; i < 100; ++i)
  2383   delete srm;
  2383   delete srm;
  2384 
  2384 
  2385   // XXX
  2385   // XXX
  2386   // No testing has actually been done other than making sure that this code
  2386   // No testing has actually been done other than making sure that this code
  2387   // does not crash
  2387   // does not crash
  2388   return GetErrorStatus ();
       
  2389 }
  2388 }
  2390 
  2389 
  2391 
  2390 
  2392 static class GlobalRouteManagerImplTestSuite : public TestSuite
  2391 static class GlobalRouteManagerImplTestSuite : public TestSuite
  2393 {
  2392 {