Skip to content
Permalink
Browse files

Improve test

  • Loading branch information
nyalldawson committed Jan 20, 2020
1 parent 06082a1 commit 5e7ee6975d9fa328be8b3f5228197787341bb326
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/analysis/testqgsprocessing.cpp
@@ -8553,7 +8553,7 @@ void TestQgsProcessing::tempUtils()
settings.setValue( QStringLiteral( "Processing/Configuration/TEMP_PATH2" ), alternative_tempFolder1 );
// check folder and if it's constant with alternative temp folder 1
tempFolder = QgsProcessingUtils::tempFolder();
QVERIFY( tempFolder.startsWith( alternative_tempFolder1 ) );
QCOMPARE( tempFolder.left( alternative_tempFolder1.length() ), alternative_tempFolder1 );
QCOMPARE( QgsProcessingUtils::tempFolder(), tempFolder );
// create file
QString alternativeTempFile1 = QgsProcessingUtils::generateTempFilename( "alternative_temptest.txt" );

0 comments on commit 5e7ee69

Please sign in to comment.
You can’t perform that action at this time.