Salome HOME
ProfilesService
[modules/gde.git] / projects / GDE_API_CPP / api / tests / ProfilesTest.hpp
diff --git a/projects/GDE_API_CPP/api/tests/ProfilesTest.hpp b/projects/GDE_API_CPP/api/tests/ProfilesTest.hpp
new file mode 100644 (file)
index 0000000..c3bc9d6
--- /dev/null
@@ -0,0 +1,30 @@
+#ifndef GDE_PROFILES_TEST_HPP
+#define GDE_PROFILES_TEST_HPP
+
+#include <cppunit/extensions/HelperMacros.h>
+
+class ProfilesTest : public CppUnit::TestFixture
+{
+  CPPUNIT_TEST_SUITE(ProfilesTest);
+  CPPUNIT_TEST(testCreateDeleteProfile);
+  CPPUNIT_TEST(testReadProfile);
+  CPPUNIT_TEST(testUpdateProfile);
+
+  CPPUNIT_TEST(testCreateDeleteProfileAttribute);
+  CPPUNIT_TEST(testUpdateProfileAttribute);
+  CPPUNIT_TEST(testReadProfileAttribute);
+  CPPUNIT_TEST_SUITE_END();
+
+public:
+  void testCreateDeleteProfile();
+  void testReadProfile();
+  void testUpdateProfile();
+
+  void testCreateDeleteProfileAttribute();
+  void testUpdateProfileAttribute();
+  void testReadProfileAttribute();
+};
+
+CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(ProfilesTest, "ProfilesTest");
+
+#endif