File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -80,16 +80,16 @@ void TestQgsWcsProvider::initTestCase()
8080
8181 // create some objects that will be used in all tests...
8282 // create a raster layer that will be used in all tests...
83- mTestDataDir = QString ( TEST_DATA_DIR ) + QDir::separator () + " raster" ;
83+ mTestDataDir = QString ( TEST_DATA_DIR ) + " / raster" ;
8484 qDebug () << " mTestDataDir = " << mTestDataDir ;
8585
86- mUrl = QString ( TEST_SERVER_URL ) + QDir::separator () + " wcs" ;
86+ mUrl = QString ( TEST_SERVER_URL ) + " / wcs" ;
8787}
8888
8989// runs after all tests
9090void TestQgsWcsProvider::cleanupTestCase ()
9191{
92- QString myReportFile = QDir::tempPath () + QDir::separator () + " qgiswcstest.html" ;
92+ QString myReportFile = QDir::tempPath () + " / qgiswcstest.html" ;
9393 QFile myFile ( myReportFile );
9494 // if ( myFile.open( QIODevice::WriteOnly | QIODevice::Append ) )
9595 if ( myFile.open ( QIODevice::WriteOnly ) )
@@ -122,7 +122,7 @@ void TestQgsWcsProvider::read( )
122122 {
123123 foreach ( QString identifier, identifiers )
124124 {
125- QString filePath = mTestDataDir + QDir::separator () + identifier + " .tif" ;
125+ QString filePath = mTestDataDir + " / " + identifier + " .tif" ;
126126
127127 QgsDataSourceURI uri;
128128 uri.setParam ( " url" , mUrl );
You can’t perform that action at this time.
0 commit comments