GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > FILE / V3-10-1

Constituent: file_unit_test     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

file_unit_test.c File Reference

FILE package unit test program. More...

#include "stdio.h"
#include "stdlib.h"
#include "string.h"
#include "MSG/MSG_pubdefs.h"
#include "MSG/MSG_printProc.h"
#include "PBI/Endianness.h"
#include "PBS/PBS.h"
#include "PBS/MBA.h"
#include "PBS/TASK.h"
#include "FBS/FBS_pubrtos.h"
#include "FILE/file_unit_test.h"
#include "FILE/FILE_upl.h"
#include "file_unit_test_private.h"

Include dependency graph for file_unit_test.c:


Functions

int file_unit_test (void)
int main (int argc, char **argv)

Variables

unsigned char * file_hdr_buf_0
FILE_Uplfile_upl_desc
unsigned char * file_upl_buf
static const char * dumpLine

Detailed Description

FILE package unit test program.

Author:
D.L. Wood
Tests the following constituents:


Function Documentation

int file_unit_test void   ) 
 

Performs all of the unit tests associated with the FILE package. Tests the following constituents:

  • file_hdr
  • file_swap
  • file_upl
  • file_path

Return values:
0 Success.
-1 Failure

int main int  argc,
char **  argv
 

The UNIX application entry point.

Parameters:
argc The number of command line args.
argv The list of command line args.
Return values:
0 Success.
-1 Failure.


Variable Documentation

dumpLine [static]
 

Initial value:

 
        "-------------------------------------------------------------------------------\n"
A separator line for display.

file_hdr_buf_0
 

A pointer to a scratch file header buffer.

file_upl_buf
 

A pointer to the file upload assembly buf.

file_upl_desc
 

A pointer to the file upload descriptor.


Generated on Wed Aug 30 00:23:43 2006 by  doxygen 1.4.4