]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/engine/Test/RuntimeForEngineIntegrationTest.cxx
Salome HOME
Work in progress : workload manager engine test ok
[modules/yacs.git] / src / engine / Test / RuntimeForEngineIntegrationTest.cxx
index bb1ec18756f01cbe8bbccaf33382493321afd86a..159e56f46beec915cb6c1c89026682ef5a73b03c 100644 (file)
@@ -36,7 +36,13 @@ void RuntimeForEngineIntegrationTest::setRuntime()
 
 std::vector< std::pair<std::string,int> > RuntimeForEngineIntegrationTest::getCatalogOfComputeNodes() const
 {
-  throw Exception("RuntimeForEngineIntegrationTest not implemented !");
+  std::vector< std::pair<std::string,int> > result(1);
+  std::pair<std::string,int> localhost;
+  localhost.first = "localhost";
+  localhost.second = 8;
+  result[0] = localhost;
+  return result;
+//  throw Exception("RuntimeForEngineTest::getCatalogOfComputeNodes : not implemented !");
 }
 
 ElementaryNode* RuntimeForEngineIntegrationTest::createNode(const std::string& implementation, const std::string& name) throw (YACS::Exception)