Salome HOME
Updated copyright comment
[modules/yacs.git] / src / engine / Test / RuntimeForEngineIntegrationTest.cxx
index 0c822a2bf89650d48b703e450a78b0b6445c4617..0ef037a72a173be5c9a0e5e672d9ba8c783f926e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2016  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -36,10 +36,10 @@ void RuntimeForEngineIntegrationTest::setRuntime()
 
 std::vector< std::pair<std::string,int> > RuntimeForEngineIntegrationTest::getCatalogOfComputeNodes() const
 {
-  throw Exception("RuntimeForEngineIntegrationTest not implemented !");
+  return std::vector< std::pair<std::string,int> >();
 }
 
-ElementaryNode* RuntimeForEngineIntegrationTest::createNode(const std::string& implementation, const std::string& name) throw (YACS::Exception)
+ElementaryNode* RuntimeForEngineIntegrationTest::createNode(const std::string& implementation, const std::string& name)
 {
   if (implementation == ToyNode::MY_IMPL_NAME)
     return new ToyNode(name);
@@ -79,12 +79,12 @@ OutputPort* RuntimeForEngineIntegrationTest::createOutputPort(const std::string&
   throw Exception(msg.str());
 }
 
-InputPort* RuntimeForEngineIntegrationTest::adapt(InputPort* source, const std::string& impl,TypeCode * type,bool init) throw (ConversionException)
+InputPort* RuntimeForEngineIntegrationTest::adapt(InputPort* source, const std::string& impl,TypeCode * type,bool init)
 {
   return new ProxyPort(source);
 }
 
-InputPort* RuntimeForEngineIntegrationTest::adapt(InPropertyPort* source, const std::string& impl, TypeCode * type, bool init) throw (ConversionException)
+InputPort* RuntimeForEngineIntegrationTest::adapt(InPropertyPort* source, const std::string& impl, TypeCode * type, bool init)
 {
   return adapt((InputPort *)source, impl, type, init);
 }