Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

TestConfig.C File Reference

#include "Basics.H"
#include "OS.H"
#include "VestaConfig.H"

Go to the source code of this file.

Functions

void report_location ()
void set_location (const Text &loc)
void print_expected (const char *result)
void do_lookup (const char *s, const char *n, const char *result)
void do_lookup_int (const char *s, const char *n, const int result)
void test_bad (const char *name, const char *problem)
int main ()

Variables

const char nl = '\n'


Function Documentation

void do_lookup const char *  s,
const char *  n,
const char *  result
 

Definition at line 54 of file TestConfig.C.

References VestaConfig::get(), VestaConfig::failure::msg, nl, and print_expected().

Referenced by main(), and nfsd_nfsproc_lookup_2().

void do_lookup_int const char *  s,
const char *  n,
const int  result
 

Definition at line 76 of file TestConfig.C.

References VestaConfig::get_int(), and nl.

Referenced by main().

int main void   ) 
 

Definition at line 104 of file TestConfig.C.

References do_lookup(), do_lookup_int(), report_location(), set_location(), and test_bad().

void print_expected const char *  result  ) 
 

Definition at line 47 of file TestConfig.C.

References nl.

Referenced by do_lookup().

void report_location  ) 
 

Definition at line 28 of file TestConfig.C.

References Text::cchars(), VestaConfig::get_location(), VestaConfig::failure::msg, and nl.

Referenced by main().

void set_location const Text loc  ) 
 

Definition at line 37 of file TestConfig.C.

References VestaConfig::failure::msg, and nl.

Referenced by main(), and test_bad().

void test_bad const char *  name,
const char *  problem
 

Definition at line 90 of file TestConfig.C.

References VestaConfig::get(), VestaConfig::failure::msg, nl, and set_location().

Referenced by main().


Variable Documentation

const char nl = '\n'
 

Definition at line 26 of file TestConfig.C.

Referenced by do_lookup(), do_lookup_int(), print_expected(), report_location(), VestaConfig::set_location(), and test_bad().


Generated on Mon May 8 00:49:01 2006 for Vesta by  doxygen 1.4.2