Lines Matching refs:correct

314 … QString line=QLatin1String("  int i = 8 / 8 * 3;"), correct=QLatin1String("  int i = 8 / 8 * 3;");  in removeComment()  local
318 QCOMPARE(line, correct); in removeComment()
319 QCOMPARE(line.length(), correct.length()); in removeComment()
322 correct = line = QLatin1String(" //int i = 8 / 8 * 3;"); in removeComment()
326 QCOMPARE(line, correct); in removeComment()
329 correct = line = QLatin1String("// int i = 8 / 8 * 3;"); in removeComment()
333 QCOMPARE(line, correct); in removeComment()
334 QCOMPARE(line.length(), correct.length()); in removeComment()
338 correct = QLatin1String(" int i = 8 / 8 * 3; "); in removeComment()
342 QCOMPARE(line, correct); in removeComment()
343 QCOMPARE(line.length(), correct.length()); in removeComment()
347 correct = QLatin1String(" int i = 8 / 8 * 3; "); in removeComment()
351 QCOMPARE(line, correct); in removeComment()
352 QCOMPARE(line.length(), correct.length()); in removeComment()
354 correct = line = QLatin1String(" int i = 8 / 8 * 3;/* mot a comment"); in removeComment()
357 QCOMPARE(line, correct); in removeComment()
358 QCOMPARE(line.length(), correct.length()); in removeComment()
362 correct = QLatin1String(" why"); in removeComment()
366 QCOMPARE(line, correct); in removeComment()
367 QCOMPARE(line.length(), correct.length()); in removeComment()
371 correct = QLatin1String(" int i = 8 / 8 * 3; "); in removeComment()
375 QCOMPARE(line, correct); in removeComment()
376 QCOMPARE(line.length(), correct.length()); in removeComment()
379 correct = line = QLatin1String(" /*int i = 8 / 8 * 3;/* comment*/"); in removeComment()
383 QCOMPARE(line, correct); in removeComment()
384 QCOMPARE(line.length(), correct.length()); in removeComment()
389 correct = QLatin1String(" int i = 8 / 8 * 3; "); in removeComment()
392 QCOMPARE(line, correct); in removeComment()
393 QCOMPARE(line.length(), correct.length()); in removeComment()
397 line = correct = " */"; in removeComment()
399 QCOMPARE(line, correct); in removeComment()
400 QCOMPARE(line.length(), correct.length()); in removeComment()