Skip to content
Permalink
Browse files

Fix test

  • Loading branch information
nyalldawson committed Feb 1, 2018
1 parent 5e07451 commit 6c5276cea5c9a482886eed5bf9b22ed0edcc0a60
Showing with 0 additions and 2 deletions.
  1. +0 −2 tests/src/analysis/testqgsprocessing.cpp
@@ -516,14 +516,12 @@ void TestQgsProcessing::addProvider()
QVERIFY( !r.addProvider( p3 ) );
QCOMPARE( r.providers().toSet(), QSet< QgsProcessingProvider * >() << p << p2 );
QCOMPARE( spyProviderAdded.count(), 2 );
delete p3;

// test that adding a provider which does not load means it is not added to registry
DummyProviderNoLoad *p4 = new DummyProviderNoLoad( "p4" );
QVERIFY( !r.addProvider( p4 ) );
QCOMPARE( r.providers().toSet(), QSet< QgsProcessingProvider * >() << p << p2 );
QCOMPARE( spyProviderAdded.count(), 2 );
delete p4;
}

void TestQgsProcessing::providerById()

0 comments on commit 6c5276c

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