test-table.cc File Reference

#include "config.h"
#include <unistd.h>
#include <iostream>
#include <fstream>
#include <cassert>
#include "asserts.h"
#include "error.h"
#include "estring.h"
#include "table.h"

Include dependency graph for test-table.cc:

Go to the source code of this file.

Classes

class  check_output

Defines

#define ERR_OUT(s)

Functions

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

Variables

check_output check


Define Documentation

#define ERR_OUT (  ) 

Definition at line 17 of file test-table.cc.


Function Documentation

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

Definition at line 635 of file test-table.cc.

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

Here is the call graph for this function:

void test1 ( void   ) 

Definition at line 87 of file test-table.cc.

References check, check_output::close(), check_output::get_line(), table_cell_base::npos, check_output::open(), check_output::remove(), table_cell_base::write(), table_cell_base::x, and table_cell_base::y.

Here is the call graph for this function:

void test2 ( void   ) 

Definition at line 111 of file test-table.cc.

References table_cell_estring::assign(), check, check_output::close(), check_output::get_line(), table_cell_estring::height(), check_output::open(), check_output::remove(), check_output::str(), table_cell_estring::width(), and table_cell_estring::write().

Here is the call graph for this function:

void test3 ( void   ) 

Definition at line 149 of file test-table.cc.

References table::assign(), check, check_output::close(), table::col_height(), table::col_width(), check_output::get_line(), table::height(), table::insert_col(), table::insert_row(), table::ncols(), table::nrows(), check_output::open(), check_output::remove(), table::resize(), table::row_height(), table::row_width(), check_output::str(), and table::width().

Here is the call graph for this function:

void test4 ( void   ) 

Definition at line 410 of file test-table.cc.

References estring::align(), check, check_output::close(), check_output::get_line(), check_output::open(), check_output::remove(), estring::right, check_output::str(), table_endl(), and table_skip().

Here is the call graph for this function:


Variable Documentation

check_output check

Definition at line 85 of file test-table.cc.

Referenced by test1(), test2(), test3(), and test4().


Generated on Thu Jun 5 11:14:36 2008 for rvm by  doxygen 1.5.1