[Libreoffice-commits] core.git: svtools/qa

Zolnai Tamás tamas.zolnai at collabora.com
Tue Nov 18 09:38:42 PST 2014


 svtools/qa/unit/GraphicObjectTest.cxx |    9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

New commits:
commit 9a7130595093ec58348b66fc7687c8eb59e8af3a
Author: Zolnai Tamás <tamas.zolnai at collabora.com>
Date:   Tue Nov 18 18:38:10 2014 +0100

    This test become unreferenced by accident
    
    See:
    c454a0cd0cc7b315b1353b151a2e95654df72c69
    and
    46eb0952f1e2d75b427bdcd553c33027f1e44e8f
    
    Change-Id: I811f1c52f8a9fba28bc4f38fd1ad34826b2bd45e

diff --git a/svtools/qa/unit/GraphicObjectTest.cxx b/svtools/qa/unit/GraphicObjectTest.cxx
index 71d975b..2ece5e0 100644
--- a/svtools/qa/unit/GraphicObjectTest.cxx
+++ b/svtools/qa/unit/GraphicObjectTest.cxx
@@ -38,9 +38,7 @@ class GraphicObjectTest: public test::BootstrapFixture, public unotest::MacrosTe
 {
 
 public:
-#if 0
     void testSwap();
-#endif
     void testSizeBasedAutoSwap();
 
 
@@ -52,18 +50,15 @@ public:
     }
 
 private:
-#if 0
     DECL_LINK(getLinkStream, GraphicObject*);
-#endif
 
 private:
     CPPUNIT_TEST_SUITE(GraphicObjectTest);
+    CPPUNIT_TEST(testSwap);
     CPPUNIT_TEST(testSizeBasedAutoSwap);
     CPPUNIT_TEST_SUITE_END();
 };
 
-#if 0
-
 static const char aGraphicFile[] = "/svtools/qa/unit/data/graphic.png";
 static const sal_uLong nGraphicSizeBytes = 4800;
 
@@ -147,8 +142,6 @@ void GraphicObjectTest::testSwap()
     }
 }
 
-#endif
-
 void GraphicObjectTest::testSizeBasedAutoSwap()
 {
     // Set cache size to a very small value to check what happens


More information about the Libreoffice-commits mailing list