changeset 2658:ce770f095092 jobs

todo
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 06 Jun 2018 18:37:43 +0200
parents 5eea2f11e8df
children c27f7ecf9b54
files UnitTestsSources/MultiThreadingTests.cpp
diffstat 1 files changed, 30 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/UnitTestsSources/MultiThreadingTests.cpp	Wed Jun 06 16:52:42 2018 +0200
+++ b/UnitTestsSources/MultiThreadingTests.cpp	Wed Jun 06 18:37:43 2018 +0200
@@ -850,6 +850,8 @@
 {   
   Json::Value s;
 
+  // This tests SetOfInstancesJob
+  
   {
     DummyInstancesJob job;
     job.SetDescription("description");
@@ -884,6 +886,14 @@
     ASSERT_EQ("world", tmp.GetInstance(2));
     ASSERT_TRUE(tmp.IsFailedInstance("nope"));
   }
+
+  // TODO : Test SequenceOfOperationsJob.h
+}
+
+
+TEST(JobsSerialization, Registry)
+{   
+  // TODO : Test serialization of JobsRegistry
 }
 
 
@@ -978,4 +988,24 @@
     
   std::auto_ptr<IJobOperation> operation;
   operation.reset(unserializer.UnserializeOperation(s));
+
+  // TODO : StorePeerOperation
+
+  // TODO : StoreScuOperation
+
+  // TODO : SystemCallOperation
+
+  // TODO : ModifyInstanceOperation
 }
+
+
+TEST_F(OrthancJobsSerialization, Jobs)
+{
+  // TODO : ArchiveJob
+
+  // TODO : DicomModalityStoreJob
+
+  // TODO : OrthancPeerStoreJob
+
+  // TODO : ResourceModificationJob
+}