diff options
Diffstat (limited to 'svtools/qa/unit/GraphicObjectTest.cxx')
-rw-r--r-- | svtools/qa/unit/GraphicObjectTest.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/svtools/qa/unit/GraphicObjectTest.cxx b/svtools/qa/unit/GraphicObjectTest.cxx index 71d975bdc4b2..2ece5e06002c 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 |