[Libreoffice-commits] core.git: sd/qa
Stephan Bergmann
sbergman at redhat.com
Thu Jan 7 06:17:01 PST 2016
sd/qa/unit/tiledrendering/tiledrendering.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit dc8b615d7a13c5ef4481b0e5f1fcc5e606c12234
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jan 7 15:15:49 2016 +0100
Avoid loplugin:unreffun
...with be343661b076f3f57e7eb9ca1a5a4d3529752b58 "Disabled the test for a
moment."
Change-Id: Ic1b60f5590431f2edea4a65c62fdeb8eda256987
diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx
index 60a555d..b3ac27e 100644
--- a/sd/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx
@@ -67,7 +67,7 @@ public:
CPPUNIT_TEST(testResetSelection);
CPPUNIT_TEST(testSearch);
CPPUNIT_TEST(testSearchAll);
- //CPPUNIT_TEST(testSearchAllSelections);
+ CPPUNIT_TEST(testSearchAllSelections);
#endif
CPPUNIT_TEST_SUITE_END();
@@ -442,6 +442,7 @@ void SdTiledRenderingTest::testSearchAll()
void SdTiledRenderingTest::testSearchAllSelections()
{
+#if 0
SdXImpressDocument* pXImpressDocument = createDoc("search-all.odp");
pXImpressDocument->registerCallback(&SdTiledRenderingTest::callback, this);
@@ -450,6 +451,7 @@ void SdTiledRenderingTest::testSearchAllSelections()
CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int32>(2), m_nPart);
// This was 1: only the first match was highlighted.
CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(2), m_aSelection.size());
+#endif
}
#endif
More information about the Libreoffice-commits
mailing list