mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
add test for temporary directory output
This commit is contained in:
parent
4b2334ba69
commit
d5b42aeec0
@ -5454,6 +5454,10 @@ void TestQgsProcessing::parameterFolderOut()
|
||||
QCOMPARE( fromCode->description(), QStringLiteral( "optional" ) );
|
||||
QCOMPARE( fromCode->flags(), def->flags() );
|
||||
QCOMPARE( fromCode->defaultValue(), def->defaultValue() );
|
||||
|
||||
// temporary directory
|
||||
def.reset( new QgsProcessingParameterFolderDestination( "junkdir", QString(), QgsProcessing::TEMPORARY_OUTPUT ) );
|
||||
QCOMPARE( QgsProcessingParameters::parameterAsString( def.get(), params, context ).right( 8 ), QStringLiteral( "/junkdir" ) );
|
||||
}
|
||||
|
||||
void TestQgsProcessing::parameterBand()
|
||||
|
BIN
tests/testdata/points_gpkg.gpkg
vendored
BIN
tests/testdata/points_gpkg.gpkg
vendored
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user