Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 1, 2018
1 parent 6c5276c commit 247ea02
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/src/analysis/testqgsprocessing.cpp
Expand Up @@ -83,7 +83,6 @@ class DummyAlgorithm : public QgsProcessingAlgorithm
// duplicate name!
QgsProcessingParameterBoolean *p2 = new QgsProcessingParameterBoolean( "p1" );
QVERIFY( !addParameter( p2 ) );
delete p2;
QCOMPARE( parameterDefinitions().count(), 1 );

QCOMPARE( parameterDefinition( "p1" ), parameterDefinitions().at( 0 ) );
Expand Down Expand Up @@ -189,7 +188,6 @@ class DummyAlgorithm : public QgsProcessingAlgorithm
// duplicate name!
QgsProcessingOutputVectorLayer *p2 = new QgsProcessingOutputVectorLayer( "p1" );
QVERIFY( !addOutput( p2 ) );
delete p2;
QCOMPARE( outputDefinitions().count(), 1 );

QCOMPARE( outputDefinition( "p1" ), outputDefinitions().at( 0 ) );
Expand Down

0 comments on commit 247ea02

Please sign in to comment.