]> git.stg.codes - stg.git/blobdiff - tests/tut/tut_restartable.hpp
Ticket 37. if (year < 1990) checking added in the ts2time() function.
[stg.git] / tests / tut / tut_restartable.hpp
index eb6eb00e31e99fbfa25d5ea5f899d637293cd3c7..9f9292349454a9ef9d5afc4daf26c07a82f790c4 100644 (file)
@@ -186,7 +186,7 @@ bool deserialize(std::istream& is, tut::test_result& tr)
     }
     return true;
 }
-};
+}
 
 /**
  * Restartable test runner wrapper.
@@ -207,11 +207,12 @@ public:
      */
     restartable_wrapper(const std::string& dir = ".")
         : runner_(runner.get()),
-          dir_(dir)
+          callbacks_(),
+          dir_(dir),
+          log_( dir + '/' + "log.tut" ),
+          jrn_( dir + '/' + "journal.tut" )
     {
         // dozen: it works, but it would be better to use system path separator
-        jrn_ = dir_ + '/' + "journal.tut";
-        log_ = dir_ + '/' + "log.tut";
     }
 
     /**