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

vltMakeTest.h File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <signal.h>
#include "rtapClasses/rtTypes.h"
#include "db.h"
#include "msg.h"
#include "tims.h"
#include "err.h"
#include "log.h"

Include dependency graph for vltMakeTest.h:

Include dependency graph

Go to the source code of this file.

Defines

#define PRINT_ERROR(reason)
#define CLEAN(reason)   { PRINT_ERROR(reason); goto clean; }
#define ABORT(reason)   { PRINT_ERROR(reason); goto abort; }
#define TEST_FAILED(testName)   { printf("%s - FAIL\n", testName); exit(EXIT_FAILURE); }
#define TEST_SUCCEEDED(testName)   { printf("%s - PASS\n", testName); exit(EXIT_SUCCESS); }

Functions

void vltMakeTestProcedure1 ()
void vltMakeTestProcedure2 ()


Define Documentation

#define ABORT reason   )     { PRINT_ERROR(reason); goto abort; }
 

#define CLEAN reason   )     { PRINT_ERROR(reason); goto clean; }
 

#define PRINT_ERROR reason   ) 
 

Value:

{\
    printf("File %s line %d\n", __FILE__, __LINE__);     \
    printf("Failure: %s\n", reason);             \
    printf("Error structure\n");                         \
    printf("   EnvName    : %s\n", error.envName);       \
    printf("   StackId    : %x\n", error.stackId.id);    \
    printf("   SequenceNbr: %d\n", error.sequenceNumber);\
    printf("   ModuleId   : %s\n", error.moduleId);      \
    printf("   LocationId : %s\n", error.location);      \
    printf("   ErrorNumber: %d\n", error.errorNumber);   \
    printf("   Parameters : %s\n", error.runTimePar);    \
    errCloseStack(&error); \
    }

#define TEST_FAILED testName   )     { printf("%s - FAIL\n", testName); exit(EXIT_FAILURE); }
 

#define TEST_SUCCEEDED testName   )     { printf("%s - PASS\n", testName); exit(EXIT_SUCCESS); }
 


Function Documentation

void vltMakeTestProcedure1  ) 
 

void vltMakeTestProcedure2  ) 
 


Generated on Sun Oct 29 02:30:02 2006 for ACS C++ API by doxygen 1.3.6