#include "config.h"
#include <unistd.h>
#include <iostream>
#include <fstream>
#include <string>
#include <cassert>
#include <cerrno>
#include "asserts.h"
#include "error.h"
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[]) |
int main | ( | int | argc, | |
char const * | argv[] | |||
) |
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().
void test2 | ( | void | ) |
Definition at line 28 of file test-error.cc.
References ERROR, error::internal(), INTERNAL_ERROR, and error::num().
Referenced by main().
void test3 | ( | void | ) |
Definition at line 45 of file test-error.cc.
References ERROR, error::internal(), INTERNAL_ERROR, and error::num().
Referenced by main().
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().
void test4a | ( | void | ) |
Definition at line 73 of file test-error.cc.
References ERROR_INSTANCE, error::push_back(), and test4b().
Referenced by test4().
void test4b | ( | void | ) |
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().
void test5a | ( | void | ) |
Definition at line 110 of file test-error.cc.
References ERROR_INSTANCE, error::push_back(), and test5b().
Referenced by test5().
void test5b | ( | void | ) |
void test6 | ( | void | ) |
void test8 | ( | void | ) |
Definition at line 200 of file test-error.cc.
References err_nomem, and error::num().
Referenced by main().