mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
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
This commit is contained in:
parent
6238e7aa05
commit
be68b39984
@ -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: ");
|
||||
|
Loading…
x
Reference in New Issue
Block a user