Skip to content

Commit

Permalink
remove debug message from test
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti authored and nyalldawson committed Aug 6, 2019
1 parent aaa6f65 commit aac1e23
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/src/app/testqgsmaptooladdfeatureline.cpp
Expand Up @@ -165,13 +165,10 @@ void TestQgsMapToolAddFeatureLine::initTestCase()
mLayerTopoZ->startEditing();
QgsFeature topoFeat;
topoFeat.setGeometry( QgsGeometry::fromWkt( "MultiLineStringZ ((7.25 6 0, 7.25 7 0, 7.5 7 0, 7.5 6 0, 7.25 6 0),(6 6 0, 6 7 0, 7 7 0, 7 6 0, 6 6 0),(6.25 6.25 0, 6.75 6.25 0, 6.75 6.75 0, 6.25 6.75 0, 6.25 6.25 0)));" ) );
qDebug() << topoFeat.geometry().asWkt() << "\n";

mLayerTopoZ->addFeature( topoFeat );
QCOMPARE( mLayerTopoZ->featureCount(), ( long ) 1 );

qDebug() << mLayerTopoZ->getFeature( 1 ).geometry().asWkt() << "\n";

mCanvas->setLayers( QList<QgsMapLayer *>() << mLayerLine << mLayerLineZ << mLayerPointZM << mLayerTopoZ );

mCanvas->setSnappingUtils( new QgsMapCanvasSnappingUtils( mCanvas, this ) );
Expand Down Expand Up @@ -424,8 +421,6 @@ void TestQgsMapToolAddFeatureLine::testTopologicalEditingZ()

QSet<QgsFeatureId> oldFids = utils.existingFeatureIds();

qDebug() << mLayerTopoZ->getFeature( 0 ).geometry().asWkt() << "\n";

QgsSnappingConfig cfg = mCanvas->snappingUtils()->config();
bool topologicalEditing = cfg.project()->topologicalEditing();
cfg.project()->setTopologicalEditing( true );
Expand Down

0 comments on commit aac1e23

Please sign in to comment.