Lines Matching refs:atffile
41 #include "atffile.hpp"
62 (*os) << "Content-Type: application/X-atf-atffile; version=\"1\"\n\n";
86 // Tests cases for the "atffile" parser.
134 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
154 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
180 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
222 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
264 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
317 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
345 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
368 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
393 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
443 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
471 "Content-Type: application/X-atf-atffile; version=\"1\"\n"
495 // Tests cases for the "atffile" class.
510 const tools::atffile atffile(config_vars, test_program_names, properties);
511 ATF_REQUIRE(config_vars == atffile.conf());
512 ATF_REQUIRE(test_program_names == atffile.tps());
513 ATF_REQUIRE(properties == atffile.props());
536 const tools::atffile atffile = tools::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 tools::atffile atffile = tools::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.