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_private.h File Reference

FILE package unit tests private definitions. More...

This graph shows which files directly or indirectly include this file:


Defines

#define FILE_UPL_SIZE   0x10000

Functions

int file_hdr_test_sizeof (void)
int file_hdr_test_param (void)
int file_hdr_test_verify (void)
int file_hdr_test_set (void)
int file_hdr_test_get (void)
int file_path_test_param (void)
int file_path_test_func (void)
int file_swap_test_swap (void)
int file_upl_test_param (void)
int file_upl_test_func (void)
int file_upl_test_err (void)

Detailed Description

FILE package unit tests private definitions.

Author:
D.L. Wood

Define Documentation

#define FILE_UPL_SIZE   0x10000
 

The size in bytes of maximum upload for this test.


Function Documentation

int file_hdr_test_get void   ) 
 

Test that the file_hdr member get functions correctly extract values for file headers.

Return values:
0 Success.
-1 Failure

int file_hdr_test_param void   ) 
 

Performs invalid and out of range tests on parameters for file_hdr library functions.

Return values:
0 Success.
-1 Failure

int file_hdr_test_set void   ) 
 

Test that the file_hdr header member set functions correctly create and insert values for file headers.

Return values:
0 Success.
-1 Failure

int file_hdr_test_sizeof void   ) 
 

Performs checks on return values from file_hdr sizeof library functions.

Return values:
0 Success.
-1 Failure

int file_hdr_test_verify void   ) 
 

Test that the file_hdr verification functions detect valid LAT file headers and reject invalid LAT file headers.

Return values:
0 Success.
-1 Failure

int file_path_test_func void   ) 
 

Test that the file_path functions work correctly on sample paths and file ID's.

Return values:
0 Success.
-1 Failure

int file_path_test_param void   ) 
 

Performs invalid and out of range tests on parameters for file_path library functions.

Return values:
0 Success.
-1 Failure

int file_swap_test_swap void   ) 
 

Test that the file_swap byte swapping functions correctly manipulate LAT file headers from external to local format.

Return values:
0 Success.
-1 Failure

int file_upl_test_err void   ) 
 

Tests the error handling capabilities of the file upload state machine. A number of state, sequence, and formatting errors are induced, and the appropriate reaction checked for.

Return values:
0 Success.
-1 Failure.

int file_upl_test_func void   ) 
 

Tests the basic functionality of the file upload state machine by invoking the library using some nominal file upload packet sample data sets.

Return values:
0 Success.
-1 Failure.

int file_upl_test_param void   ) 
 

Performs invalid and out of range tests on parameters for file_upl library functions.

Return values:
0 Success.
-1 Failure


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