Skip to content
Permalink
Browse files

[feature][expression] tests for from_base64 and to_base64

  • Loading branch information
JanCaha authored and nyalldawson committed May 10, 2020
1 parent 8b55e99 commit f7562f83f9b7f45489fc8b1d3f85b58e90e48f87
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/core/testqgsexpression.cpp
@@ -1644,7 +1644,7 @@ class TestQgsExpression: public QObject
QTest::newRow( "to_base64 NULL" ) << QStringLiteral( "to_base64(NULL)" ) << false << QVariant();
QTest::newRow( "to_base64" ) << QStringLiteral( "to_base64('QGIS')" ) << false << QVariant( "UUdJUw==" );
QTest::newRow( "from_base64 NULL" ) << QStringLiteral( "from_base64(NULL)" ) << false << QVariant();
QTest::newRow( "from_base64" ) << QStringLiteral( "from_base64('UUdJUw==')" ) << false << QVariant( "QGIS" );
QTest::newRow( "from_base64" ) << QStringLiteral( "from_base64('UUdJUw==')" ) << false << QVariant( QByteArray( QString( "QGIS" ).toLocal8Bit() ) );
}


0 comments on commit f7562f8

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