equal
deleted
inserted
replaced
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 |