Lines Matching full:split
158 ATF_TEST_CASE(split);
159 ATF_TEST_CASE_HEAD(split) in ATF_TEST_CASE_HEAD() argument
161 set_md_var("descr", "Tests the split function"); in ATF_TEST_CASE_HEAD()
163 ATF_TEST_CASE_BODY(split) in ATF_TEST_CASE_BODY() argument
165 using atf::text::split; in ATF_TEST_CASE_BODY()
169 words = split("", " "); in ATF_TEST_CASE_BODY()
172 words = split(" ", " "); in ATF_TEST_CASE_BODY()
175 words = split(" ", " "); in ATF_TEST_CASE_BODY()
178 words = split("a b", " "); in ATF_TEST_CASE_BODY()
183 words = split("a b c d", " "); in ATF_TEST_CASE_BODY()
190 words = split("foo bar", " "); in ATF_TEST_CASE_BODY()
195 words = split("foo bar baz foobar", " "); in ATF_TEST_CASE_BODY()
202 words = split(" foo bar", " "); in ATF_TEST_CASE_BODY()
207 words = split("foo bar", " "); in ATF_TEST_CASE_BODY()
212 words = split("foo bar ", " "); in ATF_TEST_CASE_BODY()
217 words = split(" foo bar ", " "); in ATF_TEST_CASE_BODY()
226 set_md_var("descr", "Tests the split function using different delimiters"); in ATF_TEST_CASE_HEAD()
230 using atf::text::split; in ATF_TEST_CASE_BODY()
234 words = split("", "/"); in ATF_TEST_CASE_BODY()
237 words = split(" ", "/"); in ATF_TEST_CASE_BODY()
241 words = split(" ", "/"); in ATF_TEST_CASE_BODY()
245 words = split("a/b", "/"); in ATF_TEST_CASE_BODY()
250 words = split("aLONGDELIMbcdLONGDELIMef", "LONGDELIM"); in ATF_TEST_CASE_BODY()
379 ATF_ADD_TEST_CASE(tcs, split); in ATF_INIT_TEST_CASES()