blob: 4c1a643f863d377911558002d7c3db4c6bc22ea0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/* -*- C++ -*- */
// $Id$
// ============================================================================
//
// = LIBRARY
// TAO/orbsvcs/tests
//
// = FILENAME
// CC_test_utils.h
//
// = DESCRIPTION
// This class provides a namespace for utility functions for the
// concurrency service test.
//
// = AUTHORS
// Torben Worm <tworm@cs.wustl.edu>
//
// ============================================================================
#include "orbsvcs/CosConcurrencyControlC.h"
#ifndef _CC_TEST_UTILS_H_
#define _CC_TEST_UTILS_H_
class CC_TestUtils
{
public:
static char *get_lock_mode_name (CosConcurrencyControl::lock_mode mode);
// Function to return a human readable string from a lock_mode enum.
static CosConcurrencyControl::LockSet_ptr create_lock_set (void);
// Creates a lock set by means of th lock set factory in the concurrency
// service server.
private:
};
#endif /* _CC_TEST_UTILS_H_ */
|