Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / tests / Concurrency / CC_test_utils.h
bloba9176e5874edbc6ac76778727fe4d9a6b1a68751
1 /* -*- C++ -*- */
2 //=============================================================================
3 /**
4 * @file CC_test_utils.h
6 * This class provides a namespace for utility functions for the
7 * concurrency service test.
9 * @author Torben Worm <tworm@cs.wustl.edu>
11 //=============================================================================
14 #include "orbsvcs/CosConcurrencyControlC.h"
16 #ifndef _CC_TEST_UTILS_H_
17 #define _CC_TEST_UTILS_H_
19 class CC_TestUtils
21 public:
22 /// Function to return a human readable string from a lock_mode enum.
23 static char *get_lock_mode_name (CosConcurrencyControl::lock_mode mode);
25 /// Creates a lock set by means of th lock set factory in the concurrency
26 /// service server.
27 static CosConcurrencyControl::LockSet_ptr create_lock_set (void);
28 private:
31 #endif /* _CC_TEST_UTILS_H_ */