Salome HOME
Updated copyright comment
[modules/yacs.git] / src / engine / Test / RuntimeForEngineIntegrationTest.cxx
index 055a11b336de2bdbd416b574d7f94c6053abc6a2..0ef037a72a173be5c9a0e5e672d9ba8c783f926e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2014  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
@@ -34,7 +34,12 @@ void RuntimeForEngineIntegrationTest::setRuntime()
     Runtime::_singleton = new RuntimeForEngineIntegrationTest;
 }
 
-ElementaryNode* RuntimeForEngineIntegrationTest::createNode(const std::string& implementation, const std::string& name) throw (YACS::Exception)
+std::vector< std::pair<std::string,int> > RuntimeForEngineIntegrationTest::getCatalogOfComputeNodes() const
+{
+  return std::vector< std::pair<std::string,int> >();
+}
+
+ElementaryNode* RuntimeForEngineIntegrationTest::createNode(const std::string& implementation, const std::string& name)
 {
   if (implementation == ToyNode::MY_IMPL_NAME)
     return new ToyNode(name);
@@ -74,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);
 }