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

List:       kde-commits
Subject:    branches/KDE/3.5/kdenetwork/kopete/libkopete/tests
From:       Martijn Klingens <klingens () kde ! org>
Date:       2007-02-25 19:06:15
Message-ID: 1172430375.721559.20210.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 637208 by mklingens:

Add more testcases, otherwise <img> isn't tested and it's special code



 M  +2 -0      kopetemessage_test.cpp  


--- branches/KDE/3.5/kdenetwork/kopete/libkopete/tests/kopetemessage_test.cpp \
#637207:637208 @@ -175,6 +175,8 @@
 		CHECK(msg.escapedBody(), QString("<simple>SIMPLE</simple>") );
 
 		CHECK(Kopete::Message::unescape( QString( "<simple>SIMPLE</simple>" ) ), \
QString("SIMPLE") ); +		CHECK(Kopete::Message::unescape( QString( "Foo <img \
src=\"foo.png\" />" ) ), QString("Foo ") ); +		CHECK(Kopete::Message::unescape( \
QString( "Foo <img src=\"foo.png\" title=\"Bar\" />" ) ), QString("Foo Bar") );  
 		msg.setBody(m, Kopete::Message::RichText);
 


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

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