Skip to content
Permalink
Browse files
fix tests to work with QT_NO_CAST_TO_ASCII
git-svn-id: http://svn.osgeo.org/qgis/trunk@8424 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed May 13, 2008
1 parent 6238e7a commit be68b399849f8dc5fc259f66cf6a9e0e9f209273
Showing with 3 additions and 3 deletions.
  1. +1 −1 tests/src/core/qgsrenderchecker.cpp
  2. +1 −1 tests/src/core/testqgsgeometry.cpp
  3. +1 −1 tests/src/core/testqgsmaprender.cpp
@@ -116,7 +116,7 @@ bool QgsRenderChecker::runTest( QString theTestName )

if (mMatchTarget!= myPixelCount )
{
qDebug ("Test image and result image for " + theTestName + " are different - FAILING!");
qDebug ( QString("Test image and result image for %1 are different - FAILING!").arg(theTestName).toLocal8Bit() );
mReport += "<tr><td colspan=3>";
mReport += "<font color=red>Expected image and result image for " + theTestName + " are different dimensions - FAILING!</font>";
mReport += "</td></tr>";
@@ -159,7 +159,7 @@ void TestQgsGeometry::unionCheck()
for (int i = 0; i < myPolyline.size(); i++)
{
QgsPoint myPoint = myPolyline.at(i);
qDebug(myPoint.stringRep());
qDebug(myPoint.stringRep().toLocal8Bit());
}
delete mypUnionGeometry;
}
@@ -104,7 +104,7 @@ void TestQgsMapRender::initTestCase()
QString myQmlFileName = myTestDataDir + "maprender_testdata.qml";
QFile::copy(myQmlFileName, myTmpDir + "maprender_testdata.qml");
qDebug ( "Checking test dataset exists...");
qDebug ( myFileName );
qDebug ( myFileName.toLocal8Bit() );
if (!QFile::exists(myFileName))
{
qDebug ( "Creating test dataset: ");

0 comments on commit be68b39

Please sign in to comment.