Correct misspelled class names: TimeIntputOutputTestCase, TimesWithSignsTestCase
authorPeter D. Barnes, Jr. <barnes26@llnl.gov>
Fri, 20 Feb 2015 14:23:09 -0800
changeset 11416 79f3a7562904
parent 11415 27800f696d2c
child 11417 6155e939456e
Correct misspelled class names: TimeIntputOutputTestCase, TimesWithSignsTestCase
src/core/test/time-test-suite.cc
--- a/src/core/test/time-test-suite.cc	Fri Feb 20 14:20:35 2015 -0800
+++ b/src/core/test/time-test-suite.cc	Fri Feb 20 14:23:09 2015 -0800
@@ -102,28 +102,28 @@
 {
 }
 
-class TimesWithSignsTestCase : public TestCase
+class TimeWithSignTestCase : public TestCase
 {
 public:
-  TimesWithSignsTestCase ();
+  TimeWithSignTestCase ();
 private:
   virtual void DoSetup (void);
   virtual void DoRun (void);
   virtual void DoTeardown (void);
 };
 
-TimesWithSignsTestCase::TimesWithSignsTestCase ()
+TimeWithSignTestCase::TimeWithSignTestCase ()
   : TestCase ("Checks times that have plus or minus signs")
 {
 }
 
 void
-TimesWithSignsTestCase::DoSetup (void)
+TimeWithSignTestCase::DoSetup (void)
 {
 }
 
 void
-TimesWithSignsTestCase::DoRun (void)
+TimeWithSignTestCase::DoRun (void)
 {
   Time timePositive          ("+1000.0");
   Time timePositiveWithUnits ("+1000.0ms");
@@ -153,27 +153,27 @@
 }
 
 void 
-TimesWithSignsTestCase::DoTeardown (void)
+TimeWithSignTestCase::DoTeardown (void)
 {
 }
 
 
-class TimeIntputOutputTestCase : public TestCase
+class TimeInputOutputTestCase : public TestCase
 {
 public:
-  TimeIntputOutputTestCase ();
+  TimeInputOutputTestCase ();
 private:
   virtual void DoRun (void);
   void Check (const std::string & str);
 };
 
-TimeIntputOutputTestCase::TimeIntputOutputTestCase ()
+TimeInputOutputTestCase::TimeInputOutputTestCase ()
   : TestCase ("Input,output from,to strings")
 {
 }
 
 void
-TimeIntputOutputTestCase::Check (const std::string & str)
+TimeInputOutputTestCase::Check (const std::string & str)
 {
   std::stringstream ss (str);
   Time time;
@@ -192,7 +192,7 @@
 }
 
 void
-TimeIntputOutputTestCase::DoRun (void)
+TimeInputOutputTestCase::DoRun (void)
 {
   std::cout << std::endl;
   std::cout << GetParent ()->GetName () << " InputOutput: " << GetName ()
@@ -236,8 +236,8 @@
   TimeTestSuite ()
     : TestSuite ("time", UNIT)
   {
-    AddTestCase (new TimesWithSignsTestCase (), TestCase::QUICK);
-    AddTestCase (new TimeIntputOutputTestCase (), TestCase::QUICK);
+    AddTestCase (new TimeWithSignTestCase (), TestCase::QUICK);
+    AddTestCase (new TimeInputOutputTestCase (), TestCase::QUICK);
     // This should be last, since it changes the resolution
     AddTestCase (new TimeSimpleTestCase (), TestCase::QUICK);
   }