Home | History | Annotate | Download | only in unit

Lines Matching refs:dom_fmp

188     moneypunct<char, false> const& dom_fmp = use_facet<moneypunct<char, false> >(loc);
201 if (dom_fmp.neg_format().field[fieldIndex] == money_base::sign) {
202 CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.negative_sign().size()) == dom_fmp.negative_sign() );
203 index += dom_fmp.negative_sign().size();
213 if (dom_fmp.neg_format().field[fieldIndex] == money_base::space ||
214 dom_fmp.neg_format().field[fieldIndex] == money_base::none) {
220 if (!dom_fmp.grouping().empty()) {
221 CPPUNIT_ASSERT( str_res[index++] == dom_fmp.thousands_sep() );
226 if (dom_fmp.frac_digits() != 0) {
227 CPPUNIT_ASSERT( str_res[index++] == dom_fmp.decimal_point() );
235 dom_fmp.neg_format().field[fieldIndex] == money_base::space) {
242 if (dom_fmp.neg_format().field[fieldIndex] == money_base::none) {
245 CPPUNIT_ASSERT( dom_fmp.neg_format().field[fieldIndex] == money_base::symbol );
263 if (dom_fmp.negative_sign().empty()) {
293 moneypunct<char, false> const& dom_fmp = use_facet<moneypunct<char, false> >(loc);
305 if (dom_fmp.pos_format().field[fieldIndex] == money_base::sign) {
306 CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.positive_sign().size()) == dom_fmp.positive_sign() );
307 index += dom_fmp.positive_sign().size();
317 if (dom_fmp.neg_format().field[fieldIndex] == money_base::space ||
318 dom_fmp.neg_format().field[fieldIndex] == money_base::none) {
322 if (dom_fmp.frac_digits() != 0) {
324 CPPUNIT_ASSERT( str_res[index++] == dom_fmp.decimal_point() );
325 for ( int fd = 1; fd < dom_fmp.frac_digits(); ++fd ) {
334 dom_fmp.neg_format().field[fieldIndex] == money_base::space) {
341 if (dom_fmp.neg_format().field[fieldIndex] == money_base::none) {
344 CPPUNIT_ASSERT( dom_fmp.neg_format().field[fieldIndex] == money_base::symbol );
355 moneypunct<char, false> const& dom_fmp = use_facet<moneypunct<char, false> >(loc);
367 if (dom_fmp.pos_format().field[fieldIndex] == money_base::sign) {
368 CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.positive_sign().size()) == dom_fmp.positive_sign() );
369 index += dom_fmp.positive_sign().size();
379 if (dom_fmp.neg_format().field[fieldIndex] == money_base::space ||
380 dom_fmp.neg_format().field[fieldIndex] == money_base::none) {
384 if (dom_fmp.frac_digits() != 0) {
386 CPPUNIT_ASSERT( str_res[index++] == dom_fmp.decimal_point() );
387 for ( int fd = 1; fd < dom_fmp.frac_digits() - 1; ++fd ) {
392 if (dom_fmp.frac_digits() != 0) {
399 dom_fmp.neg_format().field[fieldIndex] == money_base::space) {
406 if (dom_fmp.neg_format().field[fieldIndex] == money_base::none) {
409 CPPUNIT_ASSERT( dom_fmp.neg_format().field[fieldIndex] == money_base::symbol );