From 9cd4346f88e69f809bf6bedd5dcae40178cf9abb Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 21 Dec 2010 21:10:22 +0000 Subject: disable the tests that may vary, depending on the systems printer --- starmath/qa/cppunit/test_starmath.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'starmath/qa') diff --git a/starmath/qa/cppunit/test_starmath.cxx b/starmath/qa/cppunit/test_starmath.cxx index 13259fca210a..fda87d723ee8 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()); -- cgit