Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

TestConstants.h

Go to the documentation of this file.
00001 // 00002 // Copyright 2004 P&P Software GmbH - All Rights Reserved 00003 // 00004 // TestConstants.h 00005 // 00006 // Version 1.0 00007 // Date 13.09.02 00008 // Author A. Pasetti (P&P Software) 00009 00010 #ifndef TestConstantsH 00011 #define TestConstantsH 00012 00023 #include "../GeneralInclude/BasicTypes.h" 00024 00025 // Useful symbolic constants defining success/failure conditions for 00026 // the three stages of a test case 00027 00032 const bool TEST_SUCCESS=true; 00033 00038 const bool TEST_FAILURE=false; 00039 00044 const bool INITIALIZATION_SUCCESS=true; 00045 00050 const bool INITIALIZATION_FAILURE=false; 00051 00056 const bool SHUTDOWN_SUCCESS=true; 00057 00062 const bool SHUTDOWN_FAILURE=false; 00063 00068 const int MAX_TEST_CASES_IN_SUITE = 200; 00069 00074 const int EVT_REP_SIZE = 14; 00075 00083 const float EPS_FLOAT = (float)0.00001; 00084 00092 const double EPS_DOUBLE = 0.000001; 00093 00102 const char* const TEST_FILE_NAME_1 = "class"; 00103 00109 const char* const TEST_FILE_NAME_2 = ""; 00110 00115 const int MAX_TEST_FILE_NAME_LENGTH = 100; 00116 00121 const char* const TEST_TRACER_LOG_FILE = "TestTracerLogFile.txt"; 00122 00128 TD_TelemetryType const TEST_TM_TYPE = 101; 00129 00135 TD_TelecommandType const TEST_TC_TYPE = 91; 00136 00142 TD_TelemetrySubType const TEST_TM_SUBTYPE = 102; 00143 00149 TD_TelecommandSubType const TEST_TC_SUBTYPE = 92; 00150 00156 TD_ObsTime const TEST_TM_TIMETAG = 103; 00157 00163 TD_TelemetryDestination const TEST_TM_DEST = 104; 00164 00170 TD_TelecommandSource const TEST_TC_SOURCE = 94; 00171 00177 TD_TelecommandId const TEST_TC_ID = 95; 00178 00184 TD_TelemetryDestination const TEST_TM_DEF_DEST = 111; 00185 00191 TD_APID const TEST_TM_APID = 105; 00192 00198 TD_APID const TEST_TC_APID = 106; 00199 00205 unsigned int const PUS_DRP_MAX_FA = 4; 00206 00212 unsigned int const PUS_DRP_DEF_BUF_SIZE_LARGE = 100; 00213 00219 unsigned int const PUS_DRP_DEF_BUF_SIZE_SMALL = 50; 00220 00226 unsigned int const PUS_DRP_VAL_BUF_SIZE_LARGE = 100; 00227 00233 unsigned int const PUS_DRP_VAL_BUF_SIZE_SMALL = 50; 00234 00239 unsigned int const TC_MAN_PEND_TC_LIST_SIZE = 5; 00240 00245 unsigned int const TM_MAN_IMMEDIATE_QUEUE = 5; 00246 00252 unsigned int const TM_MODE_MAN_MAX_N_PACKETS = 5; 00253 00258 unsigned int const MAN_MAN_PENDING_MAN_LIST_SIZE = 5; 00259 00264 unsigned int const TC_COMMAND_AREA_MAX_N_TC = 3; 00265 00270 unsigned int const TC_COMMAND_AREA_MAX_TC_LEN = 100; 00271 00276 unsigned int const TM_LOGGER_BUFFER_CAPACITY = 10; 00277 00283 unsigned int const TM_LOGGER_MAX_TM_LENGTH = 40; 00284 00289 unsigned int const PUS_EVT_REP_SIZE = 15; 00290 00295 TD_TelecommandSource const DEF_PUS_TC_SOURCE = 13; 00296 00302 TD_PUSNumberMemBlocks const PUS_NUMBER_MEM_BLOCKS = 3; 00303 00308 TD_PUSMemLength const PUS_MEM_BUFFER_LENGTH = 50; 00309 00310 #endif
Copyright 2003 P&P Software GmbH - All Rights Reserved