XML-RPC tests

This commit is contained in:
Karel Zak
2006-05-09 15:35:46 +00:00
parent bfee5cd2cd
commit 0f579f785c
29 changed files with 770 additions and 138 deletions

33
tests/testutils.h Normal file
View File

@@ -0,0 +1,33 @@
/*
* utils.c: test utils
*
* Copyright (C) 2005 Red Hat, Inc.
*
* See COPYING.LIB for the License of this software
*
* Karel Zak <kzak@redhat.com>
*
* $Id$
*/
#ifndef __VIT_TEST_UTILS_H__
#define __VIT_TEST_UTILS_H__
#ifdef __cplusplus
extern "C" {
#endif
double virtTestCountAverage (double *items,
int nitems);
int virtTestRun (const char *title,
int nloops,
int (*body)(void *data),
void *data);
#ifdef __cplusplus
}
#endif
#endif /* __VIT_TEST_UTILS_H__ */