Main Page Alphabetical List Compound List File List Compound Members File Members
GATTestUtils.h File ReferenceHeader file for certain test helper macros used by the GAT unit tests.
More...
#include <stdio.h>
Include dependency graph for GATTestUtils.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Detailed Description
Header file for certain test helper macros used by the GAT unit tests.
- Date:
-
Mon Dec 01 2003
- Version:
-
- Header:
-
/export/cvs-gridlab/wp-1/Codes/GATEngine/C-reference/src/GATTestUtils.h,v 1.10 2004/04/02 12:31:58 hartmutkaiser Exp
Copyright (C) Andre Merzky This file is part of the GAT Engine. Contributed by Andre Merzky <merzky [at] zib [dot] de>.
Use, modification and distribution is subject to the Gridlab Software License. (See accompanying file GLlicense.txt or copy at http://www.gridlab.org/GLlicense.txt)
Definition in file GATTestUtils.h.
Define Documentation
| #define GAT_EXIT_ON_ERROR 0
|
|
| #define GAT_PREFIX_SUITE "------- %s -------\n"
|
|
| #define GAT_PREFIX_LINE "Test : %-45s \t : "
|
|
| #define GAT_PREFIX_NLINE " %-45s \t : "
|
|
| #define GAT_POSTFIX_EEXIT "- %3d ERRORs\n"
|
|
| #define GAT_POSTFIX_SEXIT "- SUCCESS\n"
|
|
| #define GAT_PREFIX_ERRLINE "- ERROR : %s +%d\n", __FILE__, __LINE__
|
|
| #define GAT_PREFIX_DEBUG "\n %s\n"
|
|
| #define GAT_TEST_INIT |
( |
x |
|
) |
|
|
| #define GAT_TEST_FINISH |
( |
|
) |
_GAT_TEST_FINISH (rcsid)
|
|
| #define GAT_TEST_SUITE |
( |
x |
|
) |
|
|
| #define GAT_TEST_START |
( |
x |
|
) |
|
|
|
|
Value:
Definition at line 82 of file GATTestUtils.h.
Referenced by advance_GATList_GATint32_Iterator(), advance_GATList_String_Iterator(), create_fill_GATList_GATint32(), create_fill_GATList_String(), create_gatfile(), create_hardware_resource_description(), create_jobdescription_description(), create_software_description(), create_status(), erase_GATList_GATint32(), erase_GATList_String(), fill_GATList_GATint32(), fill_GATList_String(), GATString_Clone_Test(), GATString_CompareTo_Test(), GATString_Concatenate_Test(), GATString_Create_Test(), GATString_Create_UCS_4_INTERNAL_To_XXX_Files(), GATString_Create_XXX_Files(), GATString_Create_XXX_To_UCS_4_INTERNAL_Files(), GATString_Destroy_Test(), GATString_Destroy_Test_Harness(), GATString_EndsWith_Test(), GATString_FirstIndexOf_Test(), GATString_GetBuffer_Test(), GATString_GetEncoding_Test(), GATString_GetInterface_Test(), GATString_GetLengthInBytes_Test(), GATString_GetSubString_Test(), GATString_GetType_Test(), GATString_LastIndexOf_Test(), GATString_StartsWith_Test(), GATString_Translate_Test(), GATString_Try_Conversion(), GATString_Write_XXX(), GATString_Write_XXX_To_UCS_4_INTERNAL(), get_hardware_rd_direct(), get_hardware_rd_indirect(), get_os_software_rd_direct(), get_os_software_rd_indirect(), get_sw_description_direct(), Listener_FileCopied(), Listener_FileDeleted(), Listener_FileMoved(), Listener_FileReplicated(), LoadAdaptor(), main(), print_status(), test_entry_types(), test_GATList_GATint32(), test_GATList_GATint32_Splice(), test_GATList_GATList_GATint32(), test_GATList_String(), test_GATList_String_Splice(), test_hw_requirements(), test_positives(), test_std_file_attriutes(), test_sw_attributes(), verify_direct_serialisation(), verify_GATList_GATint32(), verify_GATList_GATint32_serialization(), verify_GATList_GATList_GATint32_serialization(), verify_GATList_String(), verify_GATList_String_serialization(), and verify_generic_serialisation(). |
| #define GAT_TEST_STOP |
( |
|
) |
|
|
|
|
Value:
Definition at line 94 of file GATTestUtils.h.
Referenced by advance_GATList_GATint32_Iterator(), advance_GATList_String_Iterator(), create_fill_GATList_GATint32(), create_fill_GATList_String(), create_gatfile(), create_hardware_resource_description(), create_jobdescription_description(), create_software_description(), create_status(), erase_GATList_GATint32(), erase_GATList_String(), fill_GATList_GATint32(), fill_GATList_String(), GATString_Clone_Test(), GATString_CompareTo_Test(), GATString_Concatenate_Test(), GATString_Create_Test(), GATString_Create_UCS_4_INTERNAL_To_XXX_Files(), GATString_Create_XXX_Files(), GATString_Create_XXX_To_UCS_4_INTERNAL_Files(), GATString_Destroy_Test(), GATString_Destroy_Test_Harness(), GATString_EndsWith_Test(), GATString_FirstIndexOf_Test(), GATString_GetBuffer_Test(), GATString_GetEncoding_Test(), GATString_GetInterface_Test(), GATString_GetLengthInBytes_Test(), GATString_GetSubString_Test(), GATString_GetType_Test(), GATString_LastIndexOf_Test(), GATString_StartsWith_Test(), GATString_Translate_Test(), GATString_Try_Conversion(), GATString_Write_XXX(), GATString_Write_XXX_To_UCS_4_INTERNAL(), get_hardware_rd_direct(), get_hardware_rd_indirect(), get_os_software_rd_direct(), get_os_software_rd_indirect(), get_sw_description_direct(), Listener_FileCopied(), Listener_FileDeleted(), Listener_FileMoved(), Listener_FileReplicated(), LoadAdaptor(), main(), print_status(), test_entry_types(), test_GATList_GATint32(), test_GATList_GATint32_Splice(), test_GATList_GATList_GATint32(), test_GATList_String(), test_GATList_String_Splice(), test_hw_requirements(), test_positives(), test_std_file_attriutes(), test_sw_attributes(), verify_direct_serialisation(), verify_GATList_GATint32(), verify_GATList_GATint32_serialization(), verify_GATList_GATList_GATint32_serialization(), verify_GATList_String(), verify_GATList_String_serialization(), and verify_generic_serialisation(). |
| #define GAT_TEST_EXIT |
( |
|
) |
|
|
|
|
Value:
Definition at line 129 of file GATTestUtils.h.
Referenced by advance_GATList_GATint32_Iterator(), advance_GATList_String_Iterator(), create_fill_GATList_GATint32(), create_fill_GATList_String(), create_gatfile(), create_hardware_resource_description(), create_software_description(), create_status(), erase_GATList_GATint32(), erase_GATList_String(), fill_GATList_GATint32(), fill_GATList_String(), fill_GATTable(), GATString_Clone_Test(), GATString_CompareTo_Test(), GATString_Concatenate_Test(), GATString_Create_Test(), GATString_Create_UCS_4_INTERNAL_To_XXX_Files(), GATString_Create_XXX_Files(), GATString_Create_XXX_To_UCS_4_INTERNAL_Files(), GATString_Destroy_Test(), GATString_Destroy_Test_Harness(), GATString_EndsWith_Test(), GATString_FirstIndexOf_Test(), GATString_GetBuffer_Test(), GATString_GetEncoding_Test(), GATString_GetInterface_Test(), GATString_GetLengthInBytes_Test(), GATString_GetSubString_Test(), GATString_GetType_Test(), GATString_LastIndexOf_Test(), GATString_StartsWith_Test(), GATString_Translate_Test(), GATString_Write_UCS_4_INTERNAL_To_XXX(), GATString_Write_XXX(), GATString_Write_XXX_To_UCS_4_INTERNAL(), get_hardware_rd_direct(), get_hardware_rd_indirect(), get_os_software_rd_direct(), get_os_software_rd_indirect(), get_sw_description_direct(), Listener_FileCopied(), Listener_FileDeleted(), Listener_FileMoved(), Listener_FileReplicated(), main(), on_checkpoint_issued_1(), test_entry_types(), test_GATList_GATint32(), test_GATList_GATList_GATint32(), test_GATList_String(), test_GATTable_Cloning(), test_GATTable_Serialising(), test_hw_requirements(), test_negatives_double(), test_negatives_float(), test_negatives_int(), test_negatives_object(), test_negatives_short(), test_negatives_string(), test_os_requirements(), test_positives(), test_remove_double(), test_remove_float(), test_remove_int(), test_remove_object(), test_remove_short(), test_remove_string(), test_remove_unknown(), test_std_file_attriutes(), test_sw_attributes(), verify_direct_serialisation(), verify_GATList_GATint32(), verify_GATList_GATint32_serialization(), verify_GATList_GATList_GATint32_serialization(), verify_GATList_String(), verify_GATList_String_serialization(), and verify_generic_serialisation(). |
| #define GAT_TEST_TRACE |
( |
y, |
|
|
context |
|
) |
|
|
Function Documentation
| int _GAT_TEST_INIT |
( |
int |
t |
) |
|
|
| void _GAT_TEST_FINISH |
( |
const char * |
rcs |
) |
|
|
| const char* GATTest_GetTempDirName |
( |
void |
|
) |
|
|
| const char* GATTest_GetTempFileName |
( |
const char * |
name |
) |
|
|
| const char* GATTest_CreateTempFile |
( |
const char * |
name |
) |
|
|
| const char* GATTest_GetTempFileNameF |
( |
const char * |
format, |
|
|
... |
|
|
) |
|
|
|
|
same as abve, but allows printf like spec of file name - useful for file enumeration etc.
Definition at line 237 of file GATTestUtils.c.
References allocated_memory, GATTest_GetTempFileName(), and size.
Referenced by GATString_Clone_Test(), GATString_CompareTo_Test(), GATString_Create_Test(), GATString_Create_UCS_4_INTERNAL_To_XXX_Files(), GATString_Create_XXX_Files(), GATString_Create_XXX_To_UCS_4_INTERNAL_Files(), GATString_Destroy_Test(), GATString_Destroy_Test_Harness(), GATString_EndsWith_Test(), GATString_GetBuffer_Test(), GATString_GetEncoding_Test(), GATString_GetLengthInBytes_Test(), GATString_StartsWith_Test(), and GATString_Translate_Test(). |
| int GATTest_GetIndent |
( |
void |
|
) |
|
|
| void GATTest_SetIndent |
( |
int |
indent |
) |
|
|
| int GATTest_GetError |
( |
void |
|
) |
|
|
| void GATTest_SetError |
( |
int |
error |
) |
|
|
|