2 //=============================================================================
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_
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
27 static CosConcurrencyControl::LockSet_ptr
create_lock_set (void);
31 #endif /* _CC_TEST_UTILS_H_ */