test_makefilelib.cpp File Reference

Tests all features of the lib. Created on: Jul 24, 2010. More...

#include "char_type.h"
#include <iostream>
#include <stdexcept>
#include <cstdio>
#include <fstream>
#include "Comment.h"
#include "Variable.h"
#include "VariableDef.h"
#include "VariableRef.h"
#include "MakefileItem.h"
#include "Makefile.h"
#include "AutoVariable.h"
#include "Newline.h"
#include "Rule.h"
#include "Conditional.h"
#include "StringAdapter.h"
#include "Manager.h"
#include "test_util.h"
#include <boost/iostreams/stream.hpp>
#include <boost/iostreams/device/file_descriptor.hpp>

Include dependency graph for test_makefilelib.cpp:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  makefile
namespace  makefile::tester

Classes

struct  makefile::tester::TestComment
struct  makefile::tester::TestRule
struct  makefile::tester::TestConditional
struct  makefile::tester::TestVariable

Functions

void do_test (bool &result, Test *test)
int main (int argc, char *argv[])

Variables

ostreamcout = std::cout
ostreamcerr = std::cerr


Detailed Description

Tests all features of the lib. Created on: Jul 24, 2010.

Author:
Florian Achleitner <florian.achleitner.2.6.31@gmail.com>

Definition in file test_makefilelib.cpp.


Function Documentation

void do_test bool &  result,
Test test
 

Definition at line 197 of file test_makefilelib.cpp.

References makefile::tester::Test::run().

Referenced by main().

int main int  argc,
char *  argv[]
 

Definition at line 205 of file test_makefilelib.cpp.

References makefile::tester::do_test().


Variable Documentation

ostream& makefile::tester::cerr = std::cerr
 

Definition at line 59 of file test_makefilelib.cpp.

ostream& makefile::tester::cout = std::cout
 

Definition at line 58 of file test_makefilelib.cpp.


Generated on Wed Jul 16 01:25:44 2014 for Hugintrunk by  doxygen 1.3.9.1