Skip to content
Permalink
Browse files

Fix build

  • Loading branch information
nyalldawson committed Feb 8, 2019
1 parent 324fb40 commit 78a6b4ff3d13019298f499a64ed79e95946d6c9b
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/core/testqgsdataitem.cpp
@@ -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" ) );
}

0 comments on commit 78a6b4f

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