[Libreoffice-commits] .: starmath/qa

Caolán McNamara caolan at kemper.freedesktop.org
Tue Dec 21 13:11:26 PST 2010


 starmath/qa/cppunit/test_starmath.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit e0ef3b420203dd6a07b6240f5751cc653f23776d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Dec 21 21:10:22 2010 +0000

    disable the tests that may vary, depending on the systems printer

diff --git a/starmath/qa/cppunit/test_starmath.cxx b/starmath/qa/cppunit/test_starmath.cxx
index 13259fc..fda87d7 100644
--- a/starmath/qa/cppunit/test_starmath.cxx
+++ b/starmath/qa/cppunit/test_starmath.cxx
@@ -378,6 +378,9 @@ void Test::tViewZoom()
         CPPUNIT_ASSERT_MESSAGE("Should be optimal zoom", nFinalZoom == nOptimalZoom);
     }
 
+//To-Do: investigate GetPrinter logic of SVX_ZOOM_PAGEWIDTH/SVX_ZOOM_WHOLEPAGE to ensure
+//consistent value regardless of
+#if 0
     {
         SfxRequest aZoomOut(SID_ZOOMOUT, SFX_CALLMODE_SYNCHRON, m_pViewShell->GetPool());
         m_pViewShell->Execute(aZoomOut);
@@ -405,6 +408,7 @@ void Test::tViewZoom()
         nFinalZoom = rGraphicWindow.GetZoom();
         CPPUNIT_ASSERT_MESSAGE("Should be same as optimal zoom", nFinalZoom == nOptimalZoom);
     }
+#endif
 
     {
         SfxRequest aZoomOut(SID_ZOOMOUT, SFX_CALLMODE_SYNCHRON, m_pViewShell->GetPool());


More information about the Libreoffice-commits mailing list