#ifndef _TESTCASES_H_ #define _TESTCASES_H_ #include #include #include "sscs_cache.h" #include "micasa_types.h" #include #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