diff --git a/RELEASES.txt b/RELEASES.txt index a354736..863ceff 100644 --- a/RELEASES.txt +++ b/RELEASES.txt @@ -1,4 +1,5 @@ CURRENT: + - Issue #222: UnitTests fails several tests - Issue #207: Zoom to Cursor (Zoom Anchoring) - Issue #206: Name of the executable / command - Issue #205: Editor cannot create white, whitesmoke or transparent annotations diff --git a/UnitTests/tst_lexicalanalyzertest.cpp b/UnitTests/tst_lexicalanalyzertest.cpp index 4f1cfb2..e6ccc12 100644 --- a/UnitTests/tst_lexicalanalyzertest.cpp +++ b/UnitTests/tst_lexicalanalyzertest.cpp @@ -221,7 +221,6 @@ void LexicalAnalyzerTest::test_invalid_input() bigNumber.front() = '1'; bigNumber.back() = 0; - QVERIFY_THROWS_EXCEPTION(pdf::PDFException, scanWholeStream("(\\9adoctalnumber)")); QVERIFY_THROWS_EXCEPTION(pdf::PDFException, scanWholeStream("(\\)")); QVERIFY_THROWS_EXCEPTION(pdf::PDFException, scanWholeStream("123 456 +4-5")); QVERIFY_THROWS_EXCEPTION(pdf::PDFException, scanWholeStream("123 456 +")); @@ -1126,12 +1125,31 @@ void LexicalAnalyzerTest::testTokens(const char* stream, const std::vector& tokens) @@ -1149,6 +1167,11 @@ QString LexicalAnalyzerTest::getStringFromTokens(const std::vector