Use Vlinder::Atomics
[Arachnida.git] / tests / lib / Scorpion / Context.h
blob19755006a78f2cba7ae16fa81811e61bb57da02b
1 #ifndef _tests_scorpion_context_h
2 #define _tests_scorpion_context_h
4 #include <cppunit/extensions/HelperMacros.h>
6 namespace Tests
8 namespace Scorpion
10 class Context : public CPPUNIT_NS::TestFixture
12 CPPUNIT_TEST_SUITE( Context );
13 CPPUNIT_TEST( tryCreateInstance );
14 CPPUNIT_TEST( tryCopy );
15 CPPUNIT_TEST( tryAssign );
16 CPPUNIT_TEST( tryAssign );
17 CPPUNIT_TEST( trySetCertificateName );
18 CPPUNIT_TEST( trySetCertificateNameAndCopy );
19 CPPUNIT_TEST( trySetCertificateNameAndAssign );
20 CPPUNIT_TEST( trySetCertificateNameAndSwap );
21 CPPUNIT_TEST( tryGetContext );
22 CPPUNIT_TEST( tryGetContextAndCopy );
23 CPPUNIT_TEST( tryGetContextAndCopyOnWrite01 );
24 CPPUNIT_TEST( tryGetContextAndCopyOnWrite02 );
25 CPPUNIT_TEST_SUITE_END();
27 public:
28 virtual void setUp();
29 virtual void tearDown();
31 protected:
32 void tryCreateInstance();
33 void tryCopy();
34 void tryAssign();
35 void trySetCertificateName();
36 void trySetCertificateNameAndCopy();
37 void trySetCertificateNameAndAssign();
38 void trySetCertificateNameAndSwap();
39 void tryGetContext();
40 void tryGetContextAndCopy();
41 void tryGetContextAndCopyOnWrite01();
42 void tryGetContextAndCopyOnWrite02();
44 private:
49 #endif