diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-07-08 15:43:46 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-07-08 15:59:11 +0200 |
commit | 4b9e9c804db355644527e4993e2fde9d608484ef (patch) | |
tree | 9a41c6ee09d93a9361a2e09c5fb15472122b8aff /sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx | |
parent | c4a5f8c1afd42acb52d0ae9b4d6f42f3e87364d5 (diff) |
sw: clean up DECLARE_OOXMLEXPORT_TEST copy&paste
Change-Id: I2d702a3ea94412a35fee163581ef8c3f28566657
Diffstat (limited to 'sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx')
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx index 0aa8235c1840..f887d5422151 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx @@ -41,19 +41,6 @@ protected: } }; -#if 1 -#define DECLARE_OOXMLEXPORT_TEST(TestName, filename) DECLARE_SW_ROUNDTRIP_TEST(TestName, filename, Test) - -// For testing during development of a tast, you want to use -// DECLARE_OOXMLEXPORT_TEST_ONLY, and change the above to #if 0 -// Of course, don't forget to set back to #if 1 when you are done :-) -#else -#define DECLARE_OOXMLEXPORT_TEST_ONLY(TestName, filename) DECLARE_SW_ROUNDTRIP_TEST(TestName, filename, Test) - -#undef DECLARE_OOXMLEXPORT_TEST -#define DECLARE_OOXMLEXPORT_TEST(TestName, filename) class disabled##TestName : public Test { void disabled(); }; void disabled##TestName::disabled() -#endif - DECLARE_OOXMLEXPORT_TEST(testDmlShapeTitle, "dml-shape-title.docx") { CPPUNIT_ASSERT_EQUAL(OUString("Title"), getProperty<OUString>(getShape(1), "Title")); |