Salome HOME
Updated copyright comment
[modules/kernel.git] / src / KernelHelpers / Test / KernelHelpersUnitTests.hxx
index 4e9b9669657d3021b800b96e624f73443c5c047a..c89beda190beabea2e9660a67e196da56a6ef8b9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2024  CEA, EDF, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -6,7 +6,7 @@
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 
 #include <cppunit/extensions/HelperMacros.h>
 
-class KernelHelpersUnitTests : public CppUnit::TestFixture
+#ifdef WIN32
+# if defined KERNELHELPERSTEST_EXPORTS || defined SalomeKernelHelpersTest_EXPORTS
+#  define KERNELHELPERSTEST_EXPORT __declspec( dllexport )
+# else
+#  define KERNELHELPERSTEST_EXPORT __declspec( dllimport )
+# endif
+#else
+# define KERNELHELPERSTEST_EXPORT
+#endif
+
+class KERNELHELPERSTEST_EXPORT KernelHelpersUnitTests : public CppUnit::TestFixture
 {
   CPPUNIT_TEST_SUITE( KernelHelpersUnitTests );
   CPPUNIT_TEST( TEST_corba );
   CPPUNIT_TEST( TEST_getLifeCycleCORBA );
-  CPPUNIT_TEST( TEST_getStudyManager );
+  CPPUNIT_TEST( TEST_getStudy );
   CPPUNIT_TEST( TEST_getSalomeLauncher );
   CPPUNIT_TEST_SUITE_END();
 
@@ -41,7 +51,7 @@ public:
 
   void TEST_corba();
   void TEST_getLifeCycleCORBA();
-  void TEST_getStudyManager();
+  void TEST_getStudy();
   void TEST_getSalomeLauncher();
 };