comparison UnitTestsSources/MultiThreadingTests.cpp @ 2815:925d8dc03a23

unserialization of jobs from plugins
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Sep 2018 16:34:21 +0200
parents ea7aea6f6a95
children ff0ed5ea9e4e
comparison
equal deleted inserted replaced
2814:7d1d3136f6cf 2815:925d8dc03a23
1202 1202
1203 public: 1203 public:
1204 OrthancJobsSerialization() 1204 OrthancJobsSerialization()
1205 { 1205 {
1206 db_.Open(); 1206 db_.Open();
1207 context_.reset(new ServerContext(db_, storage_, true /* running unit tests */, 1207 context_.reset(new ServerContext(db_, storage_, true /* running unit tests */));
1208 false /* don't reload jobs */)); 1208 context_->SetupJobsEngine(true, false);
1209 } 1209 }
1210 1210
1211 virtual ~OrthancJobsSerialization() 1211 virtual ~OrthancJobsSerialization()
1212 { 1212 {
1213 context_->Stop(); 1213 context_->Stop();