Skip to content
Permalink
Browse files

Update tests

  • Loading branch information
nyalldawson committed Feb 1, 2018
1 parent 6c5276c commit 247ea02ae706a773b8e54f914a6f7504f56fc3d6
Showing with 0 additions and 2 deletions.
  1. +0 −2 tests/src/analysis/testqgsprocessing.cpp
@@ -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 ) );
@@ -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 ) );

0 comments on commit 247ea02

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