blob: 0fe249dc5911143c3dee8b0258a88cbbe2e49a9d (
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
|
// **********************************************************************
//
// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.
//
// This copy of Ice-E is licensed to you under the terms described in the
// ICEE_LICENSE file included in this distribution.
//
// **********************************************************************
#ifndef TEST_COMMON_H
#define TEST_COMMON_H
#include <IceE/Config.h>
#include <IceE/IceE.h>
#ifdef ICE_TEST_COMMON_API_EXPORTS
# define ICE_TEST_COMMON_API ICE_DECLSPEC_EXPORT
#else
# define ICE_TEST_COMMON_API ICE_DECLSPEC_IMPORT
#endif
ICE_TEST_COMMON_API void tprintf(const char* fmt, ...);
ICE_TEST_COMMON_API void testFailed(const char*, const char*, unsigned int);
#define test(ex) ((ex) ? ((void)0) : testFailed(#ex, __FILE__, __LINE__))
#endif
|