Skip to content
Permalink
Browse files

fix QCOMPARE

  • Loading branch information
troopa81 authored and nyalldawson committed Oct 16, 2020
1 parent e075b87 commit b00d6fa61a7a0fa9e664a85e654756eaa071fe34
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/gui/testqgsexternalresourcewidgetwrapper.cpp
@@ -82,8 +82,8 @@ void TestQgsExternalResourceWidgetWrapper::test_setNullValues()
QSignalSpy spy( &ww, &QgsExternalResourceWidgetWrapper::valuesChanged );

ww.updateValues( QStringLiteral( "test" ) );
QCOMPARE( ww.mLineEdit->text(), "test" );
QCOMPARE( ww.mQgsWidget->documentPath(), QStringLiteral( "test" ) );
QCOMPARE( ww.mLineEdit->text(), QStringLiteral( "test" ) );
QCOMPARE( ww.mQgsWidget->documentPath(), QVariant( "test" ) );
QCOMPARE( spy.count(), 1 );

ww.updateValues( QVariant() );

0 comments on commit b00d6fa

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