summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-09-08 20:55:32 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-11-19 10:58:28 +0100
commit4f3ed4ef1e358f898ef6bd41e384cf335966e14c (patch)
treefc9fbea58930d4c0e0d7d4b05d054debc49349ba /sw/qa
parente79d02c89448b954ecb96a3e390d244f0353dabf (diff)
sw: rename CppunitTest_sw_updateall_object_replacements to sw_uibase_uiview
All these new test suites are named in a way, so that in case the fix is in sw/source/foo/bar/, then the matching test suite is sw_foo_bar. Rename to this schema, so next time a bug is fixed in that directory, we don't need to add a new suite. (cherry picked from commit 0be6168c5a7b1493a22222dc0967b5e8a0153386) Conflicts: sw/CppunitTest_sw_updateall_object_replacements.mk sw/Module_sw.mk Change-Id: I968711754cb587cc2f97fff6431be416b477728f
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/uibase/uiview/data/updateall-objectreplacements.odt (renamed from sw/qa/core/data/updateall-objectreplacements.odt)bin35630 -> 35630 bytes
-rw-r--r--sw/qa/uibase/uiview/uiview.cxx (renamed from sw/qa/core/updateall_objectreplacements.cxx)8
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/qa/core/data/updateall-objectreplacements.odt b/sw/qa/uibase/uiview/data/updateall-objectreplacements.odt
index 35decf73f895..35decf73f895 100644
--- a/sw/qa/core/data/updateall-objectreplacements.odt
+++ b/sw/qa/uibase/uiview/data/updateall-objectreplacements.odt
Binary files differ
diff --git a/sw/qa/core/updateall_objectreplacements.cxx b/sw/qa/uibase/uiview/uiview.cxx
index 92997d498e59..8827cea10752 100644
--- a/sw/qa/core/updateall_objectreplacements.cxx
+++ b/sw/qa/uibase/uiview/uiview.cxx
@@ -23,14 +23,14 @@
#include <wrtsh.hxx>
#include <swdtflvr.hxx>
-char const DATA_DIRECTORY[] = "/sw/qa/core/data/";
+char const DATA_DIRECTORY[] = "/sw/qa/uibase/uiview/data/";
-/// Covers sw/source/core/undo/ fixes.
-class SwCoreUpdateAllObjectReplacementsTest : public SwModelTestBase
+/// Covers sw/source/uibase/uiview/ fixes.
+class SwUibaseUiviewTest : public SwModelTestBase
{
};
-CPPUNIT_TEST_FIXTURE(SwCoreUpdateAllObjectReplacementsTest, testDoIt)
+CPPUNIT_TEST_FIXTURE(SwUibaseUiviewTest, testUpdateAllObjectReplacements)
{
// Make a temporary copy of the test document
utl::TempFile tmp;