#include "char_type.h"
#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 "test_util.h"
#include <iostream>
#include <vector>
Include dependency graph for test_filenames.cpp:

Go to the source code of this file.
Defines | |
| #define | START 0x20 |
Functions | |
| void | printchars (ostream &out, wchar_t limit) |
| Prints the tested characters. | |
| std::vector< path > | createfiles_direct (const path dir, uchar_type limit) |
| Tries to create files with names from 0x20 to limit using boost::filesystem. | |
| std::vector< path > | createfiles_make (const path dir, uchar_type limit) |
| Tries to create files with names from 0x20 to limit by calling make. | |
| int | cleandir (path dir) |
| Removes and recreates the output directories. | |
| void | printmiss (std::vector< path >::iterator start, std::vector< path >::iterator end) |
| int | main (int argc, char *argv[]) |
Variables | |
| ostream & | cout = std::cout |
| ostream & | cerr = std::cerr |
Created on: Jul 16, 2010
Definition in file test_filenames.cpp.
|
|
Definition at line 58 of file test_filenames.cpp. Referenced by main(). |
|
|
Removes and recreates the output directories.
Definition at line 159 of file test_filenames.cpp. Referenced by main(). |
|
||||||||||||
|
Tries to create files with names from 0x20 to limit using boost::filesystem.
Definition at line 80 of file test_filenames.cpp. References makefile::char_type, cstr, makefile::ofstream, and makefile::path. Referenced by main(). |
|
||||||||||||
|
Tries to create files with names from 0x20 to limit by calling make. It first writes a makefile of this structure: FILENAME=X.1 all : @touch $(FILENAME)
Definition at line 111 of file test_filenames.cpp. References makefile::MakefileItem::add(), makefile::Rule::addCommand(), makefile::Rule::addTarget(), makefile::char_type, cstr, makefile::tester::exec_make(), makefile::Variable::getDef(), makefile::Variable::getRef(), makefile::path, makefile::string, and makefile::VariableRef::toString(). Referenced by main(). |
|
||||||||||||
|
Definition at line 182 of file test_filenames.cpp. References cleandir(), cout, createfiles_direct(), createfiles_make(), cstr, makefile::path, printmiss(), START, and makefile::uchar_type. |
|
||||||||||||
|
Prints the tested characters.
Definition at line 65 of file test_filenames.cpp. References makefile::char_type, and out. |
|
||||||||||||
|
Definition at line 171 of file test_filenames.cpp. References cout, cstr, and makefile::string. Referenced by main(). |
|
|
1.3.9.1