Test Code


Files

file  xdastest.c
 OpenXDAS API test harness.

Modules

 Test Timer

Defines

#define CHECK(x)
 Deals with error conditions during testing.

Functions

int main (int argc, char **argv)
 Test harness main entry point.

Define Documentation

#define CHECK (  ) 

Value:

{                                                     \
      int err;                                           \
      if ((err = (x)) != 0)                              \
      {                                                  \
         printf("xdastest: error %d, %d at: %s(%d).\n",  \
               err, minor, __FILE__, __LINE__);          \
         exit(1);                                        \
      }                                                  \
   }
Deals with error conditions during testing.

Definition at line 60 of file xdastest.c.

Referenced by main().


Function Documentation

int main ( int  argc,
char **  argv 
)

Test harness main entry point.

This is the main entry point for the test program that drives most of the XDAS API functions.

For internal use only.

Definition at line 78 of file xdastest.c.

References CHECK, xdas_buffer_desc_struct::length, xdas_buffer_desc_struct::value, XDAS_AE_AUD_DS_CORR, xdas_commit_record(), xdas_import_event_records(), xdas_initialize_session(), XDAS_OUT_ENTITY_NON_EXISTENT, XDAS_OUT_NOT_SPECIFIED, xdas_put_event_info(), xdas_start_record(), xdas_terminate_session(), and xdas_timestamp_record().


Generated on Thu Aug 20 22:33:07 2009 for OpenXDAS by  doxygen 1.5.6