Home | History | Annotate | Download | only in engine

Lines Matching defs:suite

57     const engine::kyuafile suite = engine::kyuafile::load(
59 ATF_REQUIRE_EQ(fs::path("."), suite.source_root());
60 ATF_REQUIRE_EQ(fs::path("."), suite.build_root());
61 ATF_REQUIRE_EQ(0, suite.test_programs().size());
71 "test_suite('one-suite')\n"
82 "atf_test_program{name='1st', test_suite='other-suite'}\n"
89 "atf_test_program{name='5th', test_suite='last-suite'}\n");
98 const engine::kyuafile suite = engine::kyuafile::load(
100 ATF_REQUIRE_EQ(fs::path("."), suite.source_root());
101 ATF_REQUIRE_EQ(fs::path("."), suite.build_root());
102 ATF_REQUIRE_EQ(6, suite.test_programs().size());
104 ATF_REQUIRE_EQ("atf", suite.test_programs()[0]->interface_name());
105 ATF_REQUIRE_EQ(fs::path("1st"), suite.test_programs()[0]->relative_path());
106 ATF_REQUIRE_EQ("one-suite", suite.test_programs()[0]->test_suite_name());
108 ATF_REQUIRE_EQ("atf", suite.test_programs()[1]->interface_name());
109 ATF_REQUIRE_EQ(fs::path("2nd"), suite.test_programs()[1]->relative_path());
110 ATF_REQUIRE_EQ("first", suite.test_programs()[1]->test_suite_name());
112 ATF_REQUIRE_EQ("plain", suite.test_programs()[2]->interface_name());
113 ATF_REQUIRE_EQ(fs::path("3rd"), suite.test_programs()[2]->relative_path());
114 ATF_REQUIRE_EQ("one-suite", suite.test_programs()[2]->test_suite_name());
116 ATF_REQUIRE_EQ("plain", suite.test_programs()[3]->interface_name());
117 ATF_REQUIRE_EQ(fs::path("4th"), suite.test_programs()[3]->relative_path());
118 ATF_REQUIRE_EQ("second", suite.test_programs()[3]->test_suite_name());
120 ATF_REQUIRE_EQ("atf", suite.test_programs()[4]->interface_name());
122 suite.test_programs()[4]->relative_path());
123 ATF_REQUIRE_EQ("other-suite", suite.test_programs()[4]->test_suite_name());
125 ATF_REQUIRE_EQ("atf", suite.test_programs()[5]->interface_name());
127 suite.test_programs()[5]->relative_path());
128 ATF_REQUIRE_EQ("last-suite", suite.test_programs()[5]->test_suite_name());
145 const engine::kyuafile suite = engine::kyuafile::load(
147 ATF_REQUIRE_EQ(2, suite.test_programs().size());
149 ATF_REQUIRE_EQ("atf", suite.test_programs()[0]->interface_name());
150 ATF_REQUIRE_EQ(fs::path("1st"), suite.test_programs()[0]->relative_path());
151 ATF_REQUIRE_EQ("first", suite.test_programs()[0]->test_suite_name());
157 ATF_REQUIRE_EQ(md1, suite.test_programs()[0]->get_metadata());
159 ATF_REQUIRE_EQ("plain", suite.test_programs()[1]->interface_name());
160 ATF_REQUIRE_EQ(fs::path("2nd"), suite.test_programs()[1]->relative_path());
161 ATF_REQUIRE_EQ("second", suite.test_programs()[1]->test_suite_name());
167 ATF_REQUIRE_EQ(md2, suite.test_programs()[1]->get_metadata());
189 const engine::kyuafile suite = engine::kyuafile::load(
191 ATF_REQUIRE_EQ(fs::path("."), suite.source_root());
192 ATF_REQUIRE_EQ(fs::path("."), suite.build_root());
193 ATF_REQUIRE_EQ(2, suite.test_programs().size());
194 ATF_REQUIRE_EQ(fs::path("one"), suite.test_programs()[0]->relative_path());
195 ATF_REQUIRE_EQ("first", suite.test_programs()[0]->test_suite_name());
197 suite.test_programs()[1]->relative_path());
198 ATF_REQUIRE_EQ("second", suite.test_programs()[1]->test_suite_name());
225 const engine::kyuafile suite = engine::kyuafile::load(
227 ATF_REQUIRE_EQ(fs::path("root"), suite.source_root());
228 ATF_REQUIRE_EQ(fs::path("root"), suite.build_root());
229 ATF_REQUIRE_EQ(3, suite.test_programs().size());
230 ATF_REQUIRE_EQ(fs::path("one"), suite.test_programs()[0]->relative_path());
231 ATF_REQUIRE_EQ("abc", suite.test_programs()[0]->test_suite_name());
233 suite.test_programs()[1]->relative_path());
234 ATF_REQUIRE_EQ("def", suite.test_programs()[1]->test_suite_name());
236 suite.test_programs()[2]->relative_path());
237 ATF_REQUIRE_EQ("foo", suite.test_programs()[2]->test_suite_name());
266 const engine::kyuafile suite = engine::kyuafile::load(
268 ATF_REQUIRE_EQ(fs::path("srcdir"), suite.source_root());
269 ATF_REQUIRE_EQ(fs::path("builddir"), suite.build_root());
270 ATF_REQUIRE_EQ(3, suite.test_programs().size());
272 suite.test_programs()[0]->absolute_path());
273 ATF_REQUIRE_EQ(fs::path("one"), suite.test_programs()[0]->relative_path());
274 ATF_REQUIRE_EQ("abc", suite.test_programs()[0]->test_suite_name());
276 suite.test_programs()[1]->absolute_path());
278 suite.test_programs()[1]->relative_path());
279 ATF_REQUIRE_EQ("def", suite.test_programs()[1]->test_suite_name());
281 suite.test_programs()[2]->absolute_path());
283 suite.test_programs()[2]->relative_path());
284 ATF_REQUIRE_EQ("foo", suite.test_programs()[2]->test_suite_name());