From: Anne-Marie Mahfouf Date: Mon, 22 Oct 2007 19:28:27 +0000 (+0000) Subject: fix test after change 728174 X-Git-Tag: v3.95.0^0 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=0f2b3270ec2c80c1e405f223529e94993b5e7536;p=libqmvoc.git fix test after change 728174 svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=728231 --- diff --git a/keduvocdocument/tests/keduvocdocumentvalidatortest.cpp b/keduvocdocument/tests/keduvocdocumentvalidatortest.cpp index 9bb443f..7af9d7f 100644 --- a/keduvocdocument/tests/keduvocdocumentvalidatortest.cpp +++ b/keduvocdocument/tests/keduvocdocumentvalidatortest.cpp @@ -87,12 +87,12 @@ void KEduVocDocumentValidatorTest::testLessons() QCOMPARE(indexLesson1, 0); QCOMPARE(doc.lessonCount(), 1); QCOMPARE(doc.lesson(indexLesson1).name(), lesson1); - QVERIFY(doc.lesson(indexLesson1).inQuery()); + QVERIFY(doc.lesson(indexLesson1).inPractice()); int indexLesson2 = doc.appendLesson(lesson2, false); QCOMPARE(indexLesson2, 1); QCOMPARE(doc.lessonCount(), 2); - QVERIFY(!doc.lesson(indexLesson2).inQuery()); + QVERIFY(!doc.lesson(indexLesson2).inPractice()); int indexLesson3 = doc.appendLesson(lesson3, false); QCOMPARE(indexLesson3, 2);