@@ -6156,6 +6156,7 @@ void TestQgsProcessing::modelExecution()
6156
6156
QCOMPARE ( variables.count (), 11 );
6157
6157
QCOMPARE ( variables.value ( " DIST" ).value .toInt (), 271 );
6158
6158
QCOMPARE ( variables.value ( " SOURCE_LAYER" ).source .parameterName (), QString ( " SOURCE_LAYER" ) );
6159
+ QCOMPARE ( variables.value ( " cx1_OUTPUT" ).source .outputChildId (), QString ( " cx1" ) );
6159
6160
QCOMPARE ( variables.value ( " cx1_OUTPUT" ).source .parameterName (), QString ( " " ) );
6160
6161
QGSCOMPARENEAR ( variables.value ( " SOURCE_LAYER_minx" ).value .toDouble (), -118.8888 , 0.001 );
6161
6162
QGSCOMPARENEAR ( variables.value ( " SOURCE_LAYER_miny" ).value .toDouble (), 22.8002 , 0.001 );
@@ -6219,7 +6220,9 @@ void TestQgsProcessing::modelExecution()
6219
6220
QCOMPARE ( variables.count (), 16 );
6220
6221
QCOMPARE ( variables.value ( " DIST" ).value .toInt (), 271 );
6221
6222
QCOMPARE ( variables.value ( " SOURCE_LAYER" ).source .parameterName (), QString ( " SOURCE_LAYER" ) );
6223
+ QCOMPARE ( variables.value ( " cx1_OUTPUT" ).source .outputChildId (), QString ( " cx1" ) );
6222
6224
QCOMPARE ( variables.value ( " cx1_OUTPUT" ).source .parameterName (), QString ( " " ) );
6225
+ QCOMPARE ( variables.value ( " cx2_OUTPUT" ).source .outputChildId (), QString ( " cx2" ) );
6223
6226
QCOMPARE ( variables.value ( " cx2_OUTPUT" ).source .parameterName (), QString ( " " ) );
6224
6227
QGSCOMPARENEAR ( variables.value ( " SOURCE_LAYER_minx" ).value .toDouble (), -118.8888 , 0.001 );
6225
6228
QGSCOMPARENEAR ( variables.value ( " SOURCE_LAYER_miny" ).value .toDouble (), 22.8002 , 0.001 );
0 commit comments