test-strfmt.cc File Reference

#include "config.h"
#include <iostream>
#include <string>
#include <cassert>
#include "asserts.h"
#include "types.h"
#include "error.h"
#include "estring.h"
#include "strfmt.h"

Include dependency graph for test-strfmt.cc:

Include dependency graph

Go to the source code of this file.

Defines

#define ERR_OUT(e)
#define TEST(code)

Functions

void test1 (void)
void test2 (void)
void test3 (void)
void test4 (void)
int main (int argc, char *argv[])


Define Documentation

#define ERR_OUT  ) 
 

Definition at line 14 of file test-strfmt.cc.

#define TEST code   ) 
 

Value:

try { \
                code; \
        } \
        catch(error e) { \
                ERR_OUT(e); \
                thrown = true; \
        } \
        catch(...) { \
                assert(0); \
        }

Definition at line 16 of file test-strfmt.cc.


Function Documentation

int main int  argc,
char *  argv[]
 

Definition at line 287 of file test-strfmt.cc.

References err_unknown, test1(), test2(), test3(), and test4().

Here is the call graph for this function:

void test1 void   ) 
 

Definition at line 29 of file test-strfmt.cc.

References ERR_OUT, size_to_string(), and TEST.

Here is the call graph for this function:

void test2 void   ) 
 

Definition at line 99 of file test-strfmt.cc.

References ERR_OUT, num_to_string(), and TEST.

Here is the call graph for this function:

void test3 void   ) 
 

Definition at line 189 of file test-strfmt.cc.

References ERR_OUT, TEST, and throughput_to_string().

Here is the call graph for this function:

void test4 void   ) 
 

Definition at line 259 of file test-strfmt.cc.

References percent_string().

Here is the call graph for this function:


Generated on Mon Jul 12 12:07:54 2004 for rvm by doxygen 1.3.6