Lines Matching refs:utf

27 namespace utf = boost::unit_test;
29 using utf::const_string;
104 utf::basic_cstring<CharT> name( (CharT*)(BOOST_JOIN( sl, __LINE__).begin()))\
113 utf::basic_cstring<CharT> bcs; in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
119 utf::basic_cstring<CharT> bcs( utf::basic_cstring<CharT>::null_str() ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
125 utf::basic_cstring<CharT> bcs( 0 ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
131 typedef typename utf::basic_cstring<CharT>::traits_type traits; in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
133 utf::basic_cstring<CharT> bcs( TEST_STRING ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
137 utf::basic_cstring<CharT> bcs1( bcs ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
142 typedef typename utf::basic_cstring<CharT>::traits_type traits; in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
144 utf::basic_cstring<CharT> bcs( TEST_STRING, 4 ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
149 typedef typename utf::basic_cstring<CharT>::traits_type traits; in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
151 utf::basic_cstring<CharT> bcs( TEST_STRING, TEST_STRING + 6 ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
160 typedef typename utf::basic_cstring<CharT>::traits_type traits; in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
163 typename utf::basic_cstring<CharT>::std_string l( TEST_STRING ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
165 utf::basic_cstring<CharT> bcs( l ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
188 typedef typename utf::basic_cstring<CharT>::traits_type traits_type; in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
190 utf::basic_cstring<CharT> bcs1( TEST_STRING ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
204 BOOST_TEST( utf::first_char( bcs1 ) == 't' ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
205 BOOST_TEST( utf::last_char( bcs1 ) == 'g' ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
207 BOOST_TEST( utf::first_char( utf::basic_cstring<CharT>() ) == 0 ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
208 BOOST_TEST( utf::last_char( utf::basic_cstring<CharT>() ) == 0 ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
215 utf::basic_cstring<CharT> bcs1; in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
227 bcs1 = utf::basic_cstring<CharT>( TEST_STRING, 4 ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
241 typedef typename utf::basic_cstring<CharT>::traits_type traits_type; in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
243 utf::basic_cstring<CharT> bcs1; in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
249 utf::basic_cstring<CharT> bcs2( TEST_STRING ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
271 typedef typename utf::basic_cstring<CharT>::traits_type traits_type; in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
273 utf::basic_cstring<CharT> bcs1; in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
274 typename utf::basic_cstring<CharT>::std_string l( TEST_STRING ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
290 utf::basic_cstring<CharT> bcs1( TEST_STRING ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
291 utf::basic_cstring<CharT> bcs2( TEST_STRING ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
306 BOOST_TEST( utf::case_ins_eq( bcs1, bcs3 ) ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
315 utf::basic_cstring<CharT> bcs1( TEST_STRING ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
316 typename utf::basic_cstring<CharT>::std_string l( TEST_STRING ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
341 utf::case_ins_less<CharT> cil; in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
401 utf::basic_cstring<CharT> bcs1( TEST_STRING ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
420 typedef typename utf::basic_cstring<CharT>::size_type size; in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
421 utf::basic_cstring<CharT> bcs1( TEST_STRING ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
423 size not_found = (size)utf::basic_cstring<CharT>::npos; in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
425 BOOST_TEST( bcs1.find( utf::basic_cstring<CharT>() ) == not_found ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
435 BOOST_TEST( bcs1.rfind( utf::basic_cstring<CharT>() ) == not_found ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
452 utf::basic_cstring<char> str1( arr ); in const_conversion()
453 utf::basic_cstring<char const> str2; in const_conversion()
463 utf::test_suite*
466 utf::test_suite* test= BOOST_TEST_SUITE("basic_cstring test"); in init_unit_test_suite()