Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix build
  • Loading branch information
nyalldawson committed Feb 8, 2019
1 parent 324fb40 commit 78a6b4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/core/testqgsdataitem.cpp
Expand Up @@ -114,13 +114,13 @@ void TestQgsDataItem::testValid()
void TestQgsDataItem::testDirItem()
{
std::unique_ptr< QgsDirectoryItem > dirItem = qgis::make_unique< QgsDirectoryItem >( nullptr, QStringLiteral( "Test" ), TEST_DATA_DIR );
QCOMPARE( dirItem->dirPath(), TEST_DATA_DIR );
QCOMPARE( dirItem->dirPath(), QStringLiteral( TEST_DATA_DIR ) );
QCOMPARE( dirItem->name(), QStringLiteral( "Test" ) );

QVERIFY( dirItem->hasDragEnabled() );
QgsMimeDataUtils::Uri mime = dirItem->mimeUri();
QVERIFY( mime.isValid() );
QCOMPARE( mime.uri, TEST_DATA_DIR );
QCOMPARE( mime.uri, QStringLiteral( TEST_DATA_DIR ) );
QCOMPARE( mime.layerType, QStringLiteral( "directory" ) );
}

Expand Down

0 comments on commit 78a6b4f

Please sign in to comment.