Home
last modified time | relevance | path

Searched refs:cfacet_byname (Results 1 – 4 of 4) sorted by relevance

/external/stlport/test/unit/
Dmoney_facets_test.cpp539 moneypunct<char, false> const& cfacet_byname = use_facet<moneypunct<char, false> >(loc); in moneypunct_by_name() local
543 money_base::pattern cp_bn = cfacet_byname.pos_format(); in moneypunct_by_name()
549 CPPUNIT_CHECK( cfacet_byname.frac_digits() == cfacet.frac_digits() ); in moneypunct_by_name()
550 if (cfacet_byname.frac_digits() != 0) in moneypunct_by_name()
551 CPPUNIT_CHECK( cfacet_byname.decimal_point() == cfacet.decimal_point() ); in moneypunct_by_name()
552 CPPUNIT_CHECK( cfacet_byname.grouping() == cfacet.grouping() ); in moneypunct_by_name()
553 if (!cfacet_byname.grouping().empty()) in moneypunct_by_name()
554 CPPUNIT_CHECK( cfacet_byname.thousands_sep() == cfacet.thousands_sep() ); in moneypunct_by_name()
555 CPPUNIT_CHECK( cfacet_byname.positive_sign() == cfacet.positive_sign() ); in moneypunct_by_name()
556 CPPUNIT_CHECK( cfacet_byname.negative_sign() == cfacet.negative_sign() ); in moneypunct_by_name()
[all …]
Dctype_facets_test.cpp441 ctype<char> const& cfacet_byname = use_facet<ctype<char> >(loc); in ctype_by_name() local
445 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::space, c) == cfacet.is(ctype_base::space, c)); in ctype_by_name()
446 if (cfacet_byname.is(ctype_base::print, c) != cfacet.is(ctype_base::print, c)) in ctype_by_name()
448 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::print, c) == cfacet.is(ctype_base::print, c)); in ctype_by_name()
450 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::cntrl, c) == cfacet.is(ctype_base::cntrl, c)); in ctype_by_name()
451 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::upper, c) == cfacet.is(ctype_base::upper, c)); in ctype_by_name()
452 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::lower, c) == cfacet.is(ctype_base::lower, c)); in ctype_by_name()
453 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::alpha, c) == cfacet.is(ctype_base::alpha, c)); in ctype_by_name()
454 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::digit, c) == cfacet.is(ctype_base::digit, c)); in ctype_by_name()
455 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::punct, c) == cfacet.is(ctype_base::punct, c)); in ctype_by_name()
[all …]
Dnum_facets_test.cpp239 numpunct<char> const& cfacet_byname = use_facet<numpunct<char> >(loc); in numpunct_by_name() local
242 CPPUNIT_CHECK( cfacet_byname.decimal_point() == cfacet.decimal_point() ); in numpunct_by_name()
243 CPPUNIT_CHECK( cfacet_byname.grouping() == cfacet.grouping() ); in numpunct_by_name()
245 CPPUNIT_CHECK( cfacet_byname.thousands_sep() == cfacet.thousands_sep() ); in numpunct_by_name()
247 CPPUNIT_CHECK( cfacet_byname.truename() == cfacet.truename() ); in numpunct_by_name()
248 CPPUNIT_CHECK( cfacet_byname.falsename() == cfacet.falsename() ); in numpunct_by_name()
Dcollate_facets_test.cpp213 collate<char> const& cfacet_byname = use_facet<collate<char> >(loc); in collate_by_name() local
221 CPPUNIT_ASSERT( cfacet_byname.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == in collate_by_name()
223 CPPUNIT_ASSERT( cfacet_byname.compare(str1, str1 + size1, str2, str2 + size2) == in collate_by_name()
227 CPPUNIT_ASSERT( cfacet_byname.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == in collate_by_name()
229 CPPUNIT_ASSERT( cfacet_byname.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == in collate_by_name()
242 …CPPUNIT_ASSERT( (cfacet_byname.transform(v1[0].data(), v1[0].data() + v1[0].size()).compare(cfacet… in collate_by_name()