Skip to content
Permalink
Browse files

Fix failing test

  • Loading branch information
nyalldawson committed Sep 18, 2015
1 parent 1bd87e8 commit e21cc78cc42455bc0e7998cdda1d2c57989976e6
Showing with 4 additions and 4 deletions.
  1. +4 −4 tests/src/core/testqgsogcutils.cpp
@@ -289,18 +289,18 @@ void TestQgsOgcUtils::testExpressionToOgcFilter_data()
"</ogc:And>"
"</ogc:Filter>" );

QTest::newRow( "is null" ) << QString( "X IS NULL" ) << QString(
QTest::newRow( "is null" ) << QString( "A IS NULL" ) << QString(
"<ogc:Filter xmlns:ogc=\"http://www.opengis.net/ogc\">"
"<ogc:PropertyIsNull>"
"<ogc:PropertyName>X</ogc:PropertyName>"
"<ogc:PropertyName>A</ogc:PropertyName>"
"</ogc:PropertyIsNull>"
"</ogc:Filter>" );

QTest::newRow( "is not null" ) << QString( "X IS NOT NULL" ) << QString(
QTest::newRow( "is not null" ) << QString( "A IS NOT NULL" ) << QString(
"<ogc:Filter xmlns:ogc=\"http://www.opengis.net/ogc\">"
"<ogc:Not>"
"<ogc:PropertyIsNull>"
"<ogc:PropertyName>X</ogc:PropertyName>"
"<ogc:PropertyName>A</ogc:PropertyName>"
"</ogc:PropertyIsNull>"
"</ogc:Not>"
"</ogc:Filter>" );

0 comments on commit e21cc78

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