Changeset 769 for trunk/src/testlib/qtestcase.cpp
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/src/testlib/qtestcase.cpp
r651 r769 965 965 " -xml : Outputs results as XML document\n" 966 966 " -lightxml : Outputs results as stream of XML tags\n" 967 " -flush : Flushes the resu tls\n"967 " -flush : Flushes the resus\n" 968 968 " -o filename: Writes all output into a file\n" 969 969 " -silent : Only outputs warnings and failures\n" … … 1114 1114 } else if (strcmp(argv[i], "-qws") == 0) { 1115 1115 // do nothing 1116 1117 1118 1119 1120 1121 1122 1123 1116 1124 } else if (argv[i][0] == '-') { 1117 1125 printf("Unknown option: '%s'\n\n%s", argv[i], testOptions); … … 1299 1307 QTestResult::setSkipCurrentTest(false); 1300 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1301 1321 /* For each entry in the data table, do: */ 1302 1322 do { 1303 1323 if (!data || !qstrcmp(data, table.testData(curDataIndex)->dataTag())) { 1304 1324 foundFunction = true; 1305 QTestDataSetter s( table.isEmpty()? static_cast<QTestData *>(0)1325 QTestDataSetter s( ? static_cast<QTestData *>(0) 1306 1326 : table.testData(curDataIndex)); 1307 1327
Note:
See TracChangeset
for help on using the changeset viewer.