[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kdeui/tests
From:       David Faure <faure () kde ! org>
Date:       2010-09-22 15:33:43
Message-ID: 20100922153343.EEDF8AC888 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1178269 by dfaure:

use qstring comparisons so that failures are easier to diagnostic


 M  +2 -2      krichtextedittest.cpp  


--- trunk/KDE/kdelibs/kdeui/tests/krichtextedittest.cpp #1178268:1178269
@@ -108,7 +108,7 @@
     QCOMPARE(edit.fontWeight(), static_cast<int>(QFont::Bold));
     QCOMPARE(edit.fontUnderline(), false);
     QTextCharFormat charFormat = cursor.charFormat();
-    QCOMPARE(charFormat.underlineColor(), KColorScheme(QPalette::Active, \
KColorScheme::View).foreground().color()); +    \
QCOMPARE(charFormat.underlineColor().name(), KColorScheme(QPalette::Active, \
KColorScheme::View).foreground().color().name());  \
                QCOMPARE(charFormat.underlineStyle(), QTextCharFormat::NoUnderline);
-    QCOMPARE(charFormat.foreground(), QBrush(KColorScheme(QPalette::Active, \
KColorScheme::View).foreground().color())); +    \
QCOMPARE(charFormat.foreground().color().name(), KColorScheme(QPalette::Active, \
KColorScheme::View).foreground().color().name());  }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic