rvm  1.11
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
test-error.cc File Reference
#include "config.h"
#include <unistd.h>
#include <iostream>
#include <fstream>
#include <string>
#include <cassert>
#include <cerrno>
#include "asserts.h"
#include "error.h"
Include dependency graph for test-error.cc:

Go to the source code of this file.

Functions

void test1 (void)
 
void test2 (void)
 
void test3 (void)
 
void test4b (void)
 
void test4a (void)
 
void test4 (void)
 
void test5b (void)
 
void test5a (void)
 
void test5 (void)
 
void test6 (void)
 
void test8 (void)
 
int main (int argc, char const *argv[])
 

Function Documentation

int main ( int  argc,
char const *  argv[] 
)

Definition at line 209 of file test-error.cc.

References err_unknown, test1(), test2(), test3(), test4(), test5(), test6(), test7(), and test8().

Here is the call graph for this function:

void test1 ( void  )

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

References error_instance::file(), error_instance::line(), and error_instance::what().

Referenced by main().

Here is the call graph for this function:

void test2 ( void  )

Definition at line 28 of file test-error.cc.

References ERROR, error::internal(), INTERNAL_ERROR, and error::num().

Referenced by main().

Here is the call graph for this function:

void test3 ( void  )

Definition at line 45 of file test-error.cc.

References ERROR, error::internal(), INTERNAL_ERROR, and error::num().

Referenced by main().

Here is the call graph for this function:

void test4 ( void  )

Definition at line 84 of file test-error.cc.

References ERROR_INSTANCE, error::internal(), error::num(), error::push_back(), and test4a().

Referenced by main().

Here is the call graph for this function:

void test4a ( void  )

Definition at line 73 of file test-error.cc.

References ERROR_INSTANCE, error::push_back(), and test4b().

Referenced by test4().

Here is the call graph for this function:

void test4b ( void  )

Definition at line 68 of file test-error.cc.

References ERROR.

Referenced by test4a().

void test5 ( void  )

Definition at line 121 of file test-error.cc.

References ERROR_INSTANCE, error::internal(), error::num(), error::push_back(), and test5a().

Referenced by main().

Here is the call graph for this function:

void test5a ( void  )

Definition at line 110 of file test-error.cc.

References ERROR_INSTANCE, error::push_back(), and test5b().

Referenced by test5().

Here is the call graph for this function:

void test5b ( void  )

Definition at line 105 of file test-error.cc.

References INTERNAL_ERROR.

Referenced by test5a().

void test6 ( void  )

Definition at line 142 of file test-error.cc.

References ERROR_INSTANCE.

Referenced by main().

void test8 ( void  )

Definition at line 200 of file test-error.cc.

References err_nomem, and error::num().

Referenced by main().

Here is the call graph for this function: