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_path.c File Reference

FILE package unit tests for file path software. More...

#include "stdio.h"
#include "string.h"
#include "PBS/MBA.h"
#include "MSG/MSG_pubdefs.h"
#include "FBS/FBS_pubrtos.h"
#include "FBS/FBS_msgs.h"
#include "file_unit_test_private.h"

Include dependency graph for file_unit_test_path.c:


Functions

int file_path_test_param (void)
int file_path_test_func (void)

Variables

const unsigned int file_id_0
const unsigned int file_id_1
const unsigned int file_id_5
const unsigned int file_id_6
const char * file_path_0
const char * file_path_1
const char * file_usr_dev_5
const char * file_usr_dev_6
const char * file_path_5
const char * file_path_6
static const char * dumpLine

Detailed Description

FILE package unit tests for file path software.

Author:
D.L. Wood

Function Documentation

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


Variable Documentation

dumpLine [static]
 

Initial value:

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

file_id_0
 

A sample file ID word.

file_id_1
 

A sample file ID word.

file_id_5
 

A sample file ID word.

file_id_6
 

A sample file ID word.

file_path_0
 

A sample file path string.

file_path_1
 

A sample file path string.

file_path_5
 

A sample user file path string.

file_path_6
 

A sample user file path string.

file_usr_dev_5
 

A sample user-defined device name.

file_usr_dev_6
 

A sample user-defined device name.


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