Add friend for tests.
authorCarl Hetherington <cth@carlh.net>
Mon, 15 Jul 2013 12:45:10 +0000 (13:45 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 15 Jul 2013 12:45:10 +0000 (13:45 +0100)
src/lib/job_manager.h

index cc1c1d28fc20b9250e101c4b7251bf10e9faf2e7..82095a143b66ec04c9ed8ee7e658bf136eaa256a 100644 (file)
@@ -45,6 +45,9 @@ public:
        static JobManager* instance ();
 
 private:
+       /* This function is part of the test suite */
+       friend void ::wait_for_jobs ();
+       
        JobManager ();
        void scheduler ();