CASA/c_test/unx_testcases/testcases.h
2005-10-11 19:51:00 +00:00

26 lines
983 B
C

#ifndef _TESTCASES_H_
#define _TESTCASES_H_
#include <CUnit/Console.h>
#include <CUnit/CUnit.h>
#include "sscs_cache.h"
#include "micasa_types.h"
#include <assert.h>
#define MAX_ID_LIST_BUF 4*1024
#define MAX_SECRET_VAL_LEN 1024
#define FAKE_SOCK_FD 10
#define TEST_LESS_BUFFER_LEN 4
#define LONG_WSTRING "LongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongStringLongString"
#define MAX_RETURNED_IDS 10
#define TEST_PTEST if(!pTest) { CU_cleanup_registry(); return -1; }
#define DECORATE printf("\n****************************************************\n");
#define PRINT_ERR printf("SUCCESS when it MUST HAVE FAILED!!!!\n");
#endif