equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the test suite of the Qt Toolkit. |
7 ** This file is part of the test suite of the Qt Toolkit. |
8 ** |
8 ** |
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 ); |