From 0c04b8cc4021934bbd6e0bd12788396689f65864 Mon Sep 17 00:00:00 2001 From: Sergio Martins Date: Tue, 18 Aug 2015 23:18:16 +0100 Subject: Fix unit-tests, expected output changed, so update the tests. --- autotests/kconfig_compiler/test4.h.ref | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'autotests/kconfig_compiler/test4.h.ref') diff --git a/autotests/kconfig_compiler/test4.h.ref b/autotests/kconfig_compiler/test4.h.ref index 9a74d3f0..1d5d1d87 100644 --- a/autotests/kconfig_compiler/test4.h.ref +++ b/autotests/kconfig_compiler/test4.h.ref @@ -31,7 +31,7 @@ class Test4 : public KConfigSkeleton static void setColor( int i, const QColor & v ) { - if (!self()->isImmutable( QString::fromLatin1( "Color%1" ).arg( i ) )) + if (!self()->isImmutable( QStringLiteral( "Color%1" ).arg( i ) )) self()->mColor[i] = v; } @@ -50,7 +50,7 @@ class Test4 : public KConfigSkeleton static void setMouseAction( int i, int v ) { - if (!self()->isImmutable( QString::fromLatin1( "MouseAction%1" ).arg( QLatin1String( EnumButton::enumToString[i] ) ) )) + if (!self()->isImmutable( QStringLiteral( "MouseAction%1" ).arg( QLatin1String( EnumButton::enumToString[i] ) ) )) self()->mMouseAction[i] = v; } @@ -69,7 +69,7 @@ class Test4 : public KConfigSkeleton static void setGrayColor( int i, const QColor & v ) { - if (!self()->isImmutable( QString::fromLatin1( "GrayColor%1" ).arg( i ) )) + if (!self()->isImmutable( QStringLiteral( "GrayColor%1" ).arg( i ) )) self()->mGrayColor[i] = v; } @@ -88,7 +88,7 @@ class Test4 : public KConfigSkeleton static void setColorString( int i, const QString & v ) { - if (!self()->isImmutable( QString::fromLatin1( "ColorString%1" ).arg( i ) )) + if (!self()->isImmutable( QStringLiteral( "ColorString%1" ).arg( i ) )) self()->mColorString[i] = v; } @@ -107,7 +107,7 @@ class Test4 : public KConfigSkeleton static void setFooBar( const QString & v ) { - if (!self()->isImmutable( QString::fromLatin1( "FooBar" ) )) + if (!self()->isImmutable( QStringLiteral( "FooBar" ) )) self()->mFooBar = v; } @@ -138,7 +138,7 @@ class Test4 : public KConfigSkeleton v = 88; } - if (!self()->isImmutable( QString::fromLatin1( "Age" ) )) + if (!self()->isImmutable( QStringLiteral( "Age" ) )) self()->mAge = v; } -- cgit v1.2.1