• Home
  • Raw
  • Download

Lines Matching refs:CPPUNIT_CHECK

189   CPPUNIT_CHECK( s == "message" );  in trivial_char_compare()
190 CPPUNIT_CHECK( "message" == s ); in trivial_char_compare()
437 CPPUNIT_CHECK( s[s.size()] == '\0' ); in null_char()
442 CPPUNIT_CHECK( s.at(s.size()) == '\0' ); in null_char()
572 CPPUNIT_CHECK( s == "2123456" ); in replace()
701 CPPUNIT_CHECK( p == 0 ); // bogus result, isn't it? in bogus_edge_find()
707 CPPUNIT_CHECK( p == 0 ); in bogus_edge_find()
713 CPPUNIT_CHECK( p == 1 ); in bogus_edge_find()
719 CPPUNIT_CHECK( p == string::npos ); in bogus_edge_find()
725 CPPUNIT_CHECK( p == 3 ); // bogus result, isn't it? in bogus_edge_find()
732 CPPUNIT_CHECK( p == 0 ); // bogus result, isn't it? in bogus_edge_find()
738 CPPUNIT_CHECK( p == 0 ); in bogus_edge_find()
744 CPPUNIT_CHECK( p == 1 ); in bogus_edge_find()
750 CPPUNIT_CHECK( p == 0 ); // bogus result, isn't it? in bogus_edge_find()
756 CPPUNIT_CHECK( p == 3 ); // bogus result, isn't it? in bogus_edge_find()
772 CPPUNIT_CHECK( test.rfind( "a", 2, 1 ) == 2 ); in rfind()
773 CPPUNIT_CHECK( test.rfind( "a", 1, 1 ) == 0 ); in rfind()
774 CPPUNIT_CHECK( test.rfind( "a", 0, 1 ) == 0 ); in rfind()
776 CPPUNIT_CHECK( test.rfind( 'a', 2 ) == 2 ); in rfind()
777 CPPUNIT_CHECK( test.rfind( 'a', 1 ) == 0 ); in rfind()
778 CPPUNIT_CHECK( test.rfind( 'a', 0 ) == 0 ); in rfind()
790 CPPUNIT_CHECK( test.find_last_of( "a", 2, 1 ) == 2 ); in find_last_of()
791 CPPUNIT_CHECK( test.find_last_of( "a", 1, 1 ) == 0 ); in find_last_of()
792 CPPUNIT_CHECK( test.find_last_of( "a", 0, 1 ) == 0 ); in find_last_of()
794 CPPUNIT_CHECK( test.find_last_of( 'a', 2 ) == 2 ); in find_last_of()
795 CPPUNIT_CHECK( test.find_last_of( 'a', 1 ) == 0 ); in find_last_of()
796 CPPUNIT_CHECK( test.find_last_of( 'a', 0 ) == 0 ); in find_last_of()
808 CPPUNIT_CHECK( test.find_last_not_of( "a", 2, 1 ) == 1 ); in find_last_not_of()
809 CPPUNIT_CHECK( test.find_last_not_of( "b", 2, 1 ) == 2 ); in find_last_not_of()
810 CPPUNIT_CHECK( test.find_last_not_of( "a", 1, 1 ) == 1 ); in find_last_not_of()
811 CPPUNIT_CHECK( test.find_last_not_of( "b", 1, 1 ) == 0 ); in find_last_not_of()
812 CPPUNIT_CHECK( test.find_last_not_of( "a", 0, 1 ) == string::npos ); in find_last_not_of()
813 CPPUNIT_CHECK( test.find_last_not_of( "b", 0, 1 ) == 0 ); in find_last_not_of()
815 CPPUNIT_CHECK( test.find_last_not_of( 'a', 2 ) == 1 ); in find_last_not_of()
816 CPPUNIT_CHECK( test.find_last_not_of( 'b', 2 ) == 2 ); in find_last_not_of()
817 CPPUNIT_CHECK( test.find_last_not_of( 'a', 1 ) == 1 ); in find_last_not_of()
818 CPPUNIT_CHECK( test.find_last_not_of( 'b', 1 ) == 0 ); in find_last_not_of()
819 CPPUNIT_CHECK( test.find_last_not_of( 'a', 0 ) == string::npos ); in find_last_not_of()
820 CPPUNIT_CHECK( test.find_last_not_of( 'b', 0 ) == 0 ); in find_last_not_of()
985 CPPUNIT_CHECK( result == "one two three" ); in template_expression()
990 CPPUNIT_CHECK( result == "two three" ); in template_expression()
995 CPPUNIT_CHECK( result == "two" ); in template_expression()
999 CPPUNIT_CHECK( (' ' + one) == " one" ); in template_expression()
1000 CPPUNIT_CHECK( (one + ' ') == "one " ); in template_expression()
1001 CPPUNIT_CHECK( (one + " two") == "one two" ); in template_expression()
1002 CPPUNIT_CHECK( ("one " + two) == "one two" ); in template_expression()
1003 CPPUNIT_CHECK( (one + space) == "one " ); in template_expression()
1006 CPPUNIT_CHECK( ((one + space) + "two") == "one two" ); in template_expression()
1007 CPPUNIT_CHECK( ("one" + (space + two)) == "one two" ); in template_expression()
1008 CPPUNIT_CHECK( ((one + space) + two) == "one two" ); in template_expression()
1009 CPPUNIT_CHECK( (one + (space + two)) == "one two" ); in template_expression()
1010 CPPUNIT_CHECK( ((one + space) + 't') == "one t" ); in template_expression()
1011 CPPUNIT_CHECK( ('o' + (space + two)) == "o two" ); in template_expression()
1014 CPPUNIT_CHECK( ((one + space) + (two + space)) == "one two " ); in template_expression()
1020 CPPUNIT_CHECK( result == "one two" ); in template_expression()
1023 CPPUNIT_CHECK( result == "one two three" ); in template_expression()
1033 CPPUNIT_CHECK( result == "one two" ); in template_expression()
1036 CPPUNIT_CHECK( result == "one two one two three" ); in template_expression()
1043 CPPUNIT_CHECK( result == "one twoth one twoth" ); in template_expression()
1053 CPPUNIT_CHECK( result == "one two three" ); in template_expression()
1056 CPPUNIT_CHECK( result == " two " ); in template_expression()
1059 CPPUNIT_CHECK( result == "one two three" ); in template_expression()
1063 CPPUNIT_CHECK( !(one + ' ' + two).empty() ); in template_expression()
1066 CPPUNIT_CHECK( result == ' ' ); in template_expression()
1069 CPPUNIT_CHECK( result == ' ' ); in template_expression()
1157 CPPUNIT_CHECK( (mypath( string( "/root" ) ) / (rs1 + rs2)).str() == "/root/path1.ext" ); in oper_tmp()
1169 CPPUNIT_CHECK( result == L"one two three" ); in template_wexpression()
1174 CPPUNIT_CHECK( result == L"two three" ); in template_wexpression()
1179 CPPUNIT_CHECK( result == L"two" ); in template_wexpression()
1183 CPPUNIT_CHECK( (L' ' + one) == L" one" ); in template_wexpression()
1184 CPPUNIT_CHECK( (one + L' ') == L"one " ); in template_wexpression()
1185 CPPUNIT_CHECK( (one + L" two") == L"one two" ); in template_wexpression()
1186 CPPUNIT_CHECK( (L"one " + two) == L"one two" ); in template_wexpression()
1187 CPPUNIT_CHECK( (one + space) == L"one " ); in template_wexpression()
1190 CPPUNIT_CHECK( ((one + space) + L"two") == L"one two" ); in template_wexpression()
1191 CPPUNIT_CHECK( (L"one" + (space + two)) == L"one two" ); in template_wexpression()
1192 CPPUNIT_CHECK( ((one + space) + two) == L"one two" ); in template_wexpression()
1193 CPPUNIT_CHECK( (one + (space + two)) == L"one two" ); in template_wexpression()
1194 CPPUNIT_CHECK( ((one + space) + L't') == L"one t" ); in template_wexpression()
1195 CPPUNIT_CHECK( (L'o' + (space + two)) == L"o two" ); in template_wexpression()
1198 CPPUNIT_CHECK( ((one + space) + (two + space)) == L"one two " ); in template_wexpression()
1204 CPPUNIT_CHECK( result == L"one two" ); in template_wexpression()
1207 CPPUNIT_CHECK( result == L"one two three" ); in template_wexpression()
1217 CPPUNIT_CHECK( result == L"one two" ); in template_wexpression()
1220 CPPUNIT_CHECK( result == L"one two one two three" ); in template_wexpression()
1227 CPPUNIT_CHECK( result == L"one twoth one twoth" ); in template_wexpression()
1237 CPPUNIT_CHECK( result == L"one two three" ); in template_wexpression()
1240 CPPUNIT_CHECK( result == L" two " ); in template_wexpression()
1243 CPPUNIT_CHECK( result == L"one two three" ); in template_wexpression()
1247 CPPUNIT_CHECK( !(one + L' ' + two).empty() ); in template_wexpression()
1250 CPPUNIT_CHECK( result == L' ' ); in template_wexpression()
1253 CPPUNIT_CHECK( result == L' ' ); in template_wexpression()
1403 CPPUNIT_CHECK( s.capacity() > 0 ); in capacity()
1404 CPPUNIT_CHECK( s.capacity() < s.max_size() ); in capacity()
1405 CPPUNIT_CHECK( s.capacity() >= s.size() ); in capacity()
1413 CPPUNIT_CHECK( s.capacity() > 0 ); in capacity()
1414 CPPUNIT_CHECK( s.capacity() < s.max_size() ); in capacity()
1415 CPPUNIT_CHECK( s.capacity() >= s.size() ); in capacity()
1423 CPPUNIT_CHECK( s.length() == 48 ); in concat24()
1424 CPPUNIT_CHECK( s[23] == '4' ); in concat24()
1425 CPPUNIT_CHECK( s[24] == '1' ); in concat24()
1426 CPPUNIT_CHECK( s[47] == '4' ); in concat24()