Skip to content
Permalink
Browse files

TestQgsGeometry renames:

lineStringV2() to lineString()
pointV2() to point()
polygonV2() to polygon()
  • Loading branch information
jef-n committed Aug 10, 2016
1 parent eeebf4b commit 2374f7978b91d4fdcb41de436a7a715ea7de8361
Showing with 6 additions and 6 deletions.
  1. +6 −6 tests/src/core/testqgsgeometry.cpp
@@ -66,9 +66,9 @@ class TestQgsGeometry : public QObject
void operatorBool();

// geometry types
void pointV2(); //test QgsPointV2
void lineStringV2(); //test QgsLineString
void polygonV2(); //test QgsPolygonV2
void point(); //test QgsPointV2
void lineString(); //test QgsLineString
void polygon(); //test QgsPolygonV2
void multiPoint();
void multiLineString();
void multiPolygon();
@@ -390,7 +390,7 @@ void TestQgsGeometry::operatorBool()
QVERIFY( !geom );
}

void TestQgsGeometry::pointV2()
void TestQgsGeometry::point()
{
//test QgsPointV2

@@ -795,7 +795,7 @@ void TestQgsGeometry::pointV2()
QVERIFY( !p30.boundary() );
}

void TestQgsGeometry::lineStringV2()
void TestQgsGeometry::lineString()
{
//test constructors
QgsLineString l1;
@@ -2211,7 +2211,7 @@ void TestQgsGeometry::lineStringV2()
QCOMPARE( static_cast< QgsPointV2*>( mpBoundary->geometryN( 1 ) )->z(), 20.0 );
}

void TestQgsGeometry::polygonV2()
void TestQgsGeometry::polygon()
{
//test constructor
QgsPolygonV2 p1;

0 comments on commit 2374f79

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