Go to the source code of this file.
#define ASSERT_PORT_SIGNALLING |
( |
|
code, |
|
|
|
read_port |
|
) |
| |
Value:do { \
signalled_port = 0; \
int wait = 0; \
code; \
while (read_port != signalled_port && wait++ != 5)
\ BOOST_CHECK( read_port == signalled_port ); \
} while(0)
int usleep(unsigned int us)
Definition at line 104 of file corba_mqueue_ipc_test.cpp.
#define wait_for |
( |
|
cond, |
|
|
|
times |
|
) |
| |
Value:do { \
bool wait_for_helper; \
int wait = 0; \
while( (wait_for_helper = !(cond)) && wait++ != times )
\ if (wait_for_helper) BOOST_CHECK( cond ); \
} while(0)
int usleep(unsigned int us)
Definition at line 113 of file corba_mqueue_ipc_test.cpp.
#define wait_for_equal |
( |
|
a, |
|
|
|
b, |
|
|
|
times |
|
) |
| |
Value:do { \
bool wait_for_helper; \
int wait = 0; \
while( (wait_for_helper = ((a) != (b))) && wait++ != times )
\ if (wait_for_helper) BOOST_CHECK_EQUAL( a, b ); \
} while(0)
int usleep(unsigned int us)
Definition at line 121 of file corba_mqueue_ipc_test.cpp.
BOOST_AUTO_TEST_CASE |
( |
testPortConnections |
| ) |
|