Ninja
Public Member Functions | Public Attributes
ParserTest Struct Reference
Inheritance diagram for ParserTest:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void AssertParse (const char *input)
virtual bool ReadFile (const string &path, string *content, string *err)

Public Attributes

map< string, string > files_
vector< string > files_read_
State state

Detailed Description

Definition at line 25 of file manifest_parser_test.cc.


Member Function Documentation

void ParserTest::AssertParse ( const char *  input) [inline]

Definition at line 27 of file manifest_parser_test.cc.

References ManifestParser::ParseTest(), and state.

virtual bool ParserTest::ReadFile ( const string &  path,
string *  content,
string *  err 
) [inline, virtual]

Implements ManifestParser::FileReader.

Definition at line 34 of file manifest_parser_test.cc.

References files_, and files_read_.


Member Data Documentation

map<string, string> ParserTest::files_

Definition at line 46 of file manifest_parser_test.cc.

Referenced by ReadFile().

vector<string> ParserTest::files_read_

Definition at line 47 of file manifest_parser_test.cc.

Referenced by ReadFile().

Definition at line 45 of file manifest_parser_test.cc.

Referenced by AssertParse().


The documentation for this struct was generated from the following file: