qcpix/tsrc/qtcpixunittests/src/ut_qtcpixsearcher.cpp
changeset 3 ae3f1779f6da
parent 0 671dee74050a
child 13 fcb2a58c181b
equal deleted inserted replaced
2:6c1a2771f4b7 3:ae3f1779f6da
    29     QTest::addColumn<QString>("searchString"); \
    29     QTest::addColumn<QString>("searchString"); \
    30     QTest::addColumn<int>("estimatedResultCount"); \
    30     QTest::addColumn<int>("estimatedResultCount"); \
    31     QTest::newRow("Robert") << "Robert" << 53; \
    31     QTest::newRow("Robert") << "Robert" << 53; \
    32     QTest::newRow("Leonar") << "Leonar" << 74; \
    32     QTest::newRow("Leonar") << "Leonar" << 74; \
    33     QTest::newRow("Leas") << "Leas" << 8; \
    33     QTest::newRow("Leas") << "Leas" << 8; \
    34     QTest::newRow("Not Found") << "Not Found" << 0;
    34     QTest::newRow("Not Found") << "Not Found" << 0; \
       
    35     QTest::newRow("This is a very long string. Trying to make the search string more than 255 characters. Is it more than 255 yet? Not sure. Dont think so. Guess this should do. No It does not. How much more do I have to type to make the string 255 characters long...bored of typing...hope this would do...Yes, now about 300 chars!") << "Long String" << 0;
    35     
    36     
    36 #define TEST_SEARCH_DATA_FETCH \
    37 #define TEST_SEARCH_DATA_FETCH \
    37     QFETCH( QString, searchString ); \
    38     QFETCH( QString, searchString ); \
    38     QFETCH( int, estimatedResultCount );
    39     QFETCH( int, estimatedResultCount );
    39 
    40