From 539b2cc96d1baf70dd3b9d6ec997bdfe871feb41 Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Thu, 21 Feb 2013 14:25:45 +0100 Subject: fix the tst_settings.cpp Forgot to change the ignoreMessage string. Change-Id: Ia8dae1d92d0a21fc89e4bb56cb9deaf9d4ea4d23 Reviewed-by: Niels Weber --- tests/auto/installer/settings/tst_settings.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/auto/installer/settings') diff --git a/tests/auto/installer/settings/tst_settings.cpp b/tests/auto/installer/settings/tst_settings.cpp index 1cbb16a48..073d7b7d1 100644 --- a/tests/auto/installer/settings/tst_settings.cpp +++ b/tests/auto/installer/settings/tst_settings.cpp @@ -79,7 +79,7 @@ void tst_Settings::loadFullConfig() void tst_Settings::loadEmptyConfig() { - QTest::ignoreMessage(QtDebugMsg, "Error-Exception: \"Missing or empty tag in " + QTest::ignoreMessage(QtDebugMsg, "create Error-Exception: \"Missing or empty tag in " ":/data/empty_config.xml.\" "); try { Settings::fromFileAndPrefix(":/data/empty_config.xml", ":/data"); @@ -92,7 +92,7 @@ void tst_Settings::loadEmptyConfig() void tst_Settings::loadNotExistingConfig() { - QTest::ignoreMessage(QtDebugMsg, "Error-Exception: \"Could not open settings file " + QTest::ignoreMessage(QtDebugMsg, "create Error-Exception: \"Could not open settings file " ":/data/inexisting_config.xml for reading: " "Unknown error\" "); try { @@ -108,7 +108,7 @@ void tst_Settings::loadNotExistingConfig() void tst_Settings::loadMalformedConfig() { - QTest::ignoreMessage(QtDebugMsg, "Error-Exception: \"Error in :/data/malformed_config.xml, " + 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"); @@ -122,7 +122,7 @@ void tst_Settings::loadMalformedConfig() void tst_Settings::loadUnknownElementConfig() { - QTest::ignoreMessage(QtDebugMsg, "Error-Exception: \"Error in :/data/unknown_element_config.xml, line 5, " + 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"); -- cgit v1.2.3