Skip to content

Commit

Permalink
TestQgsGeometry renames:
Browse files Browse the repository at this point in the history
lineStringV2() to lineString()
pointV2() to point()
polygonV2() to polygon()
  • Loading branch information
jef-n committed Aug 10, 2016
1 parent eeebf4b commit 2374f79
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/src/core/testqgsgeometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -390,7 +390,7 @@ void TestQgsGeometry::operatorBool()
QVERIFY( !geom );
}

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

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

void TestQgsGeometry::lineStringV2()
void TestQgsGeometry::lineString()
{
//test constructors
QgsLineString l1;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 2374f79

Please sign in to comment.