Home | History | Annotate | Download | only in unit

Lines Matching refs:rl

52 void LocaleTest::_money_put_get( const locale& loc, const ref_monetary* rl )
54 _money_put_get2(loc, loc, rl);
59 const ref_monetary &rl = *prl;
103 string::size_type p = strlen( rl.money_int_prefix );
106 string::size_type p_old = strlen( rl.money_int_prefix_old );
107 CPPUNIT_ASSERT( (str_res.substr(index, p) == rl.money_int_prefix) ||
109 (str_res.substr(index, p_old) == rl.money_int_prefix_old)) );
110 if ( str_res.substr(index, p) == rl.money_int_prefix ) {
135 CPPUNIT_ASSERT( str_res[index++] == /* intl_fmp.thousands_sep() */ *rl.money_thousands_sep );
141 CPPUNIT_ASSERT( str_res[index++] == /* intl_fmp.decimal_point() */ *rl.money_decimal_point );
207 string::size_type p = strlen( rl.money_prefix );
209 CPPUNIT_ASSERT( str_res.substr(index, p) == rl.money_prefix );
246 CPPUNIT_ASSERT( str_res.substr(index, strlen(rl.money_suffix)) == rl.money_suffix );
281 const ref_monetary &rl = *prl;
311 string::size_type p = strlen( rl.money_prefix );
313 CPPUNIT_ASSERT( str_res.substr(index, p) == rl.money_prefix );
345 CPPUNIT_ASSERT( str_res.substr(index, strlen(rl.money_suffix)) == rl.money_suffix );
373 string::size_type p = strlen( rl.money_prefix );
375 CPPUNIT_ASSERT( str_res.substr(index, p) == rl.money_prefix );
410 CPPUNIT_ASSERT( str_res.substr(index, strlen(rl.money_suffix)) == rl.money_suffix );