tests/auto/qstring/tst_qstring.cpp
changeset 19 fcece45ef507
parent 18 2f34d5167611
child 30 5dc02b23752f
equal deleted inserted replaced
18:2f34d5167611 19:fcece45ef507
  3501                         << QString("o1o2o") << true;
  3501                         << QString("o1o2o") << true;
  3502     QTest::newRow( "task45855-rx" ) << QString("This is a story, a small story")
  3502     QTest::newRow( "task45855-rx" ) << QString("This is a story, a small story")
  3503                         << QString("\\b") << 3 << 3
  3503                         << QString("\\b") << 3 << 3
  3504                         << int(QString::SectionDefault)
  3504                         << int(QString::SectionDefault)
  3505                         << QString("is") << true;
  3505                         << QString("is") << true;
  3506 
  3506     QTest::newRow( "task257941-rx" ) << QString("99.0 42.3")
       
  3507                         << QString("\\s*[AaBb]\\s*") << 1 << 1
       
  3508                         << int(QString::SectionIncludeLeadingSep)
       
  3509                         << QString() << true;
  3507 }
  3510 }
  3508 
  3511 
  3509 void tst_QString::section()
  3512 void tst_QString::section()
  3510 {
  3513 {
  3511     QFETCH( QString, wholeString );
  3514     QFETCH( QString, wholeString );