diff options
author | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-06-10 09:00:45 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-06-10 08:50:59 +0000 |
commit | a893c90bfa27a6088597eb34355ee4a353712ea5 (patch) | |
tree | 9bb85a80d034927e48cb2862cb1cb8fcf8c829e7 /tests/auto/installer/settings/tst_settings.cpp | |
parent | a2614a6cf70d04d8ce22f85ff4e763fa54110c9e (diff) |
Fix autotests for changed debug output
Commit fa5f7c662841b1d13f6610db8817608a24e3a3f6 removed the printing
of exceptions on creation. Fix autotests accordingly.
Change-Id: Id715b194f893016d23d7e2accf4b131a40a3f906
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'tests/auto/installer/settings/tst_settings.cpp')
-rw-r--r-- | tests/auto/installer/settings/tst_settings.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/auto/installer/settings/tst_settings.cpp b/tests/auto/installer/settings/tst_settings.cpp index ef1ef5e3b..47322984f 100644 --- a/tests/auto/installer/settings/tst_settings.cpp +++ b/tests/auto/installer/settings/tst_settings.cpp @@ -96,8 +96,6 @@ void tst_Settings::loadFullConfig() void tst_Settings::loadEmptyConfig() { - QTest::ignoreMessage(QtDebugMsg, "create Error-Exception: \"Missing or empty <Name> tag in " - ":/data/empty_config.xml.\" "); try { Settings::fromFileAndPrefix(":/data/empty_config.xml", ":/data"); } catch (const Error &error) { @@ -109,9 +107,6 @@ void tst_Settings::loadEmptyConfig() void tst_Settings::loadNotExistingConfig() { - QTest::ignoreMessage(QtDebugMsg, "create Error-Exception: \"Could not open settings file " - ":/data/inexisting_config.xml for reading: " - "Unknown error\" "); try { Settings::fromFileAndPrefix(":/data/inexisting_config.xml", ":/data"); } catch (const Error &error) { @@ -125,8 +120,6 @@ void tst_Settings::loadNotExistingConfig() void tst_Settings::loadMalformedConfig() { - QTest::ignoreMessage(QtDebugMsg, "create Error-Exception: \"Error in :/data/malformed_config.xml, " - "line 9, column 0: Premature end of document.\" "); try { Settings::fromFileAndPrefix(":/data/malformed_config.xml", ":/data"); } catch (const Error &error) { @@ -139,8 +132,6 @@ void tst_Settings::loadMalformedConfig() void tst_Settings::loadUnknownElementConfigInStrictParseMode() { - QTest::ignoreMessage(QtDebugMsg, "create Error-Exception: \"Error in :/data/unknown_element_config.xml, " - "line 5, column 13: Unexpected element 'unknown'.\" "); try { Settings::fromFileAndPrefix(":/data/unknown_element_config.xml", ":/data"); } catch (const Error &error) { @@ -178,10 +169,6 @@ void tst_Settings::loadMinimalConfigTagDefaults() void tst_Settings::loadUnexpectedAttributeConfig() { - QTest::ignoreMessage(QtDebugMsg, "create Error-Exception: \"Error in " - ":///data/unexpectedattribute_config.xml, line 6, column 27: Unexpected attribute " - "for element 'Argument'.\" "); - try { Settings::fromFileAndPrefix(":///data/unexpectedattribute_config.xml", ":///data"); } catch (const Error &error) { @@ -196,9 +183,6 @@ void tst_Settings::loadUnexpectedAttributeConfig() void tst_Settings::loadUnexpectedTagConfig() { - QTest::ignoreMessage(QtDebugMsg, "create Error-Exception: \"Error in " - ":///data/unexpectedtag_config.xml, line 6, column 12: Unexpected element 'Foo'.\" "); - try { Settings::fromFileAndPrefix(":///data/unexpectedtag_config.xml", ":///data"); } catch (const Error &error) { |