Lines Matching +full:- +full:tools +full:-

39 namespace impl = tools;
40 namespace detail = tools::detail;
48 // ------------------------------------------------------------------------
50 // ------------------------------------------------------------------------
54 static const tools::parser::token_type eof_type = 0;
55 static const tools::parser::token_type nl_type = 1;
56 static const tools::parser::token_type text_type = 2;
57 static const tools::parser::token_type colon_type = 3;
58 static const tools::parser::token_type conf_type = 4;
59 static const tools::parser::token_type dblquote_type = 5;
60 static const tools::parser::token_type equal_type = 6;
61 static const tools::parser::token_type hash_type = 7;
62 static const tools::parser::token_type prop_type = 8;
63 static const tools::parser::token_type tp_type = 9;
64 static const tools::parser::token_type tp_glob_type = 10;
66 class tokenizer : public tools::parser::tokenizer< std::istream > {
69 tools::parser::tokenizer< std::istream > in tokenizer()
79 add_keyword("tp-glob", tp_glob_type); in tokenizer()
85 // ------------------------------------------------------------------------
87 // ------------------------------------------------------------------------
127 using tools::parser::parse_error; in read()
130 std::pair< size_t, tools::parser::headers_map > hml = in read()
131 tools::parser::read_headers(m_is, 1); in read()
132 tools::parser::validate_content_type(hml.second, in read()
133 "application/X-atf-atffile", 1); in read()
136 tools::parser::parser< tokenizer > p(tkz); in read()
140 tools::parser::token t = in read()
143 "conf, #, prop, tp, tp-glob, a new line or eof"); in read()
200 // ------------------------------------------------------------------------
202 // ------------------------------------------------------------------------
205 const tools::fs::directory& m_dir;
214 tools::expand::expand_glob(name, m_dir.names()); in got_tp()
222 throw tools::not_found_error< tools::fs::path > in got_tp()
224 tools::fs::path(name)); in got_tp()
242 reader(std::istream& is, const tools::fs::directory& dir) : in reader()
270 // ------------------------------------------------------------------------
272 // ------------------------------------------------------------------------
281 assert(properties.find("test-suite") != properties.end()); in atffile()
305 // ------------------------------------------------------------------------
307 // ------------------------------------------------------------------------
312 impl::read_atffile(const tools::fs::path& filename) in read_atffile()
316 tools::fs::directory dir(filename.branch_path()); in read_atffile()
318 tools::fs::directory::iterator iter = dir.begin(); in read_atffile()
321 const tools::fs::file_info& fi = (*iter).second; in read_atffile()
323 // Discard hidden files and non-executable ones so that they are in read_atffile()
335 throw tools::not_found_error< tools::fs::path > in read_atffile()
342 if (r.props().find("test-suite") == r.props().end()) in read_atffile()
343 throw tools::not_found_error< std::string > in read_atffile()
344 ("Undefined property `test-suite'", "test-suite"); in read_atffile()