From kde-commits Fri Oct 31 23:53:02 2008 From: Stephen Kelly Date: Fri, 31 Oct 2008 23:53:02 +0000 To: kde-commits Subject: playground/pim/richtextbuilders/tests Message-Id: <1225497182.480611.20314.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=122549719110899 SVN commit 878363 by skelly: Port test to recent changes in the builders. M +2 -0 CMakeLists.txt M +1 -1 htmlbuildertest.cpp --- trunk/playground/pim/richtextbuilders/tests/CMakeLists.txt #878362:878363 @@ -1,3 +1,4 @@ +ENABLE_TESTING() FIND_PACKAGE(KDE4 REQUIRED) INCLUDE_DIRECTORIES( ${KDE4_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR} ) @@ -5,6 +6,7 @@ SET(krichtexteditorSources ../markupdirector.cpp + ../htmlbuilder.cpp ) --- trunk/playground/pim/richtextbuilders/tests/htmlbuildertest.cpp #878362:878363 @@ -26,7 +26,7 @@ md->constructContent ( doc ); QString result = hb->getResult(); - QRegExp regex ( QString ( "^

\\s*This text is bold.\\s*

\\s*$" ) ); + QRegExp regex ( QString ( "^\\s*This text is bold.\\s*

\\s*$" ) ); QVERIFY ( regex.exactMatch ( result ) );