#include "config.h"
#include <iostream>
#include <fstream>
#include <string>
#include <cassert>
#include <unistd.h>
#include <errno.h>
#include "asserts.h"
#include "types.h"
#include "error.h"
#include "estring.h"
#include "fs.h"
#include "tstamp.h"
#include "rconfig.h"
#include "timer.h"
#include "logger.h"
Include dependency graph for test-logger.cc:
Go to the source code of this file.
Defines | |
#define | ERR_OUT(e) |
#define | TEST(code, test) |
Functions | |
bool | make_dir (const std::string &path) |
void | cleanup (void) |
void | setup (void) |
const bool | same (std::string s1, std::string s2) |
void | test (void) |
int | main (int argc, char *argv[]) |
|
Definition at line 26 of file test-logger.cc. Referenced by test(), test1(), test2(), test3(), test_rvm(), test_vaulter(), test_vaulter1(), test_vaulter2(), and test_vaulter3(). |
|
Value: thrown = false; \ try { \ code; \ } \ catch(error e) { \ ERR_OUT(e); \ thrown = true; \ } \ catch(...) { \ assert(0); \ } Definition at line 28 of file test-logger.cc. Referenced by test(), test1(), test2(), test3(), test5(), test6(), and test7(). |
|
Definition at line 57 of file test-logger.cc. |
|
Definition at line 220 of file test-logger.cc. References cleanup(), err_unknown, setup(), and test(). Here is the call graph for this function: |
|
Definition at line 42 of file test-logger.cc. Referenced by setup(). |
|
Definition at line 82 of file test-logger.cc. Referenced by job::common_pathname(), and test(). |
|
Definition at line 62 of file test-logger.cc. Referenced by main(). |
|
Definition at line 97 of file test-logger.cc. References log_manager::clear(), config, configuration_manager::default_file(), configuration_manager::init(), log_manager::init(), logger, pid(), same(), stamp(), TEST, configuration_manager::timestamp(), and log_manager::write(). Referenced by main(). Here is the call graph for this function: |