Lines Matching refs:split
162 ATF_TEST_CASE(split);
163 ATF_TEST_CASE_HEAD(split)
165 set_md_var("descr", "Tests the split function");
167 ATF_TEST_CASE_BODY(split)
169 using atf::text::split;
173 words = split("", " ");
176 words = split(" ", " ");
179 words = split(" ", " ");
182 words = split("a b", " ");
187 words = split("a b c d", " ");
194 words = split("foo bar", " ");
199 words = split("foo bar baz foobar", " ");
206 words = split(" foo bar", " ");
211 words = split("foo bar", " ");
216 words = split("foo bar ", " ");
221 words = split(" foo bar ", " ");
230 set_md_var("descr", "Tests the split function using different delimiters");
234 using atf::text::split;
238 words = split("", "/");
241 words = split(" ", "/");
245 words = split(" ", "/");
249 words = split("a/b", "/");
254 words = split("aLONGDELIMbcdLONGDELIMef", "LONGDELIM");
383 ATF_ADD_TEST_CASE(tcs, split);