Lines Matching refs:atffile
44 #include "atffile.hpp"
61 (*os) << "Content-Type: application/X-atf-atffile; version=\"1\"\n\n";
85 // Tests cases for the "atffile" parser.
133 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
153 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
179 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
221 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
263 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
316 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
344 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
367 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
392 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
442 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
470 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
494 // Tests cases for the "atffile" class.
509 const atf::atf_run::atffile atffile(config_vars, test_program_names,
511 ATF_REQUIRE(config_vars == atffile.conf());
512 ATF_REQUIRE(test_program_names == atffile.tps());
513 ATF_REQUIRE(properties == atffile.props());
536 const atf::atf_run::atffile atffile = atf::atf_run::read_atffile(
538 ATF_REQUIRE_EQ(2, atffile.conf().size());
539 ATF_REQUIRE_EQ("value1", atffile.conf().find("var1")->second);
540 ATF_REQUIRE_EQ("value2", atffile.conf().find("var2")->second);
541 ATF_REQUIRE_EQ(3, atffile.tps().size());
542 ATF_REQUIRE(is_in("tp-1", atffile.tps()));
543 ATF_REQUIRE(is_in("tp-2", atffile.tps()));
544 ATF_REQUIRE(is_in("tp-3", atffile.tps()));
545 ATF_REQUIRE_EQ(2, atffile.props().size());
546 ATF_REQUIRE_EQ("foo", atffile.props().find("test-suite")->second);
547 ATF_REQUIRE_EQ("propvalue1", atffile.props().find("prop1")->second);
567 const atf::atf_run::atffile atffile = atf::atf_run::read_atffile(
569 ATF_REQUIRE_EQ(5, atffile.tps().size());
570 ATF_REQUIRE(is_in("foo", atffile.tps()));
571 ATF_REQUIRE(is_in("bar", atffile.tps()));
572 ATF_REQUIRE(is_in("aK", atffile.tps()));
573 ATF_REQUIRE(is_in("KKKKK", atffile.tps()));
574 ATF_REQUIRE(is_in("t_hello", atffile.tps()));
628 // Add the test cases for the atffile class.