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

Constituent: file_unit_test     Tag: rad750


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 "FILE/FILE_defs.h"
#include "FILE/FILE_path.h"
#include "PBS/MBA.h"
#include "MSG/MSG_pubdefs.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.

const unsigned int file_id_0
 

A sample file ID word.

device = 1 directory = 3 file = 103455

const unsigned int file_id_1
 

A sample file ID word.

device = 2 directory = 38 file = 22

const unsigned int file_id_5
 

A sample file ID word.

device = 5 directory = 8 file = 10444

const unsigned int file_id_6
 

A sample file ID word.

device = 6 directory = 27 file = 14

const char* file_path_0
 

A sample system file path string.

device = 1 directory = 3 file = 103455

const char* file_path_1
 

A sample system file path string.

device = 2 directory = 38 file = 22

const char* file_path_5
 

A sample user file path string.

device = 5 directory = 8 file = 10444

const char* file_path_6
 

A sample user file path string.

device = 6 directory = 27 file = 14

const char* file_usr_dev_5
 

A sample user-defined device name.

const char* file_usr_dev_6
 

A sample user-defined device name.


Generated on Tue Oct 25 22:45:32 2005 by  doxygen 1.4.4