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:

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 const *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 const *  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:

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Thu Sep 30 14:09:13 2010 for rvm by  doxygen 1.6.1