[Libreoffice-commits] core.git: vcl/qa
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Mon Aug 31 08:14:29 UTC 2020
vcl/qa/cppunit/svm/svmtest.cxx | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
New commits:
commit 72ce4f57726e28c1e056cb354edb7aeae19347c0
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Aug 28 14:33:37 2020 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Aug 31 10:13:47 2020 +0200
Fix typo in code
It passed "make check" on Linux
Change-Id: I6aa72938526f5e81503367ecd2471a6d5afb05b2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101620
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/vcl/qa/cppunit/svm/svmtest.cxx b/vcl/qa/cppunit/svm/svmtest.cxx
index e03267e3bd36..8960f727ea81 100644
--- a/vcl/qa/cppunit/svm/svmtest.cxx
+++ b/vcl/qa/cppunit/svm/svmtest.cxx
@@ -92,8 +92,8 @@ class SvmTest : public test::BootstrapFixture, public XmlTestTools
void checkTextArray(const GDIMetaFile& rMetaFile);
void testTextArray();
- void checkStrechText(const GDIMetaFile& rMetaFile);
- void testStrechText();
+ void checkstretchText(const GDIMetaFile& rMetaFile);
+ void teststretchText();
void checkTextRect(const GDIMetaFile& rMetaFile);
void testTextRect();
@@ -209,7 +209,7 @@ public:
CPPUNIT_TEST(testPolyPolygon);
CPPUNIT_TEST(testText);
CPPUNIT_TEST(testTextArray);
- CPPUNIT_TEST(testStrechText);
+ CPPUNIT_TEST(teststretchText);
CPPUNIT_TEST(testTextRect);
CPPUNIT_TEST(testTextLine);
CPPUNIT_TEST(testBitmaps); // BMP, BMPSCALE, BMPSCALEPART
@@ -847,7 +847,7 @@ void SvmTest::testTextArray()
checkTextArray(readFile("textarray.svm"));
}
-void SvmTest::checkStrechText(const GDIMetaFile& rMetaFile)
+void SvmTest::checkstretchText(const GDIMetaFile& rMetaFile)
{
xmlDocUniquePtr pDoc = dumpMeta(rMetaFile);
@@ -858,15 +858,15 @@ void SvmTest::checkStrechText(const GDIMetaFile& rMetaFile)
assertXPathContent(pDoc, "/metafile/stretchtext[1]/textcontent", "123456");
}
-void SvmTest::testStrechText()
+void SvmTest::teststretchText()
{
GDIMetaFile aGDIMetaFile;
ScopedVclPtrInstance<VirtualDevice> pVirtualDev;
setupBaseVirtualDevice(*pVirtualDev, aGDIMetaFile);
pVirtualDev->DrawStretchText(Point(4,6), 10, "123456", 1, 4);
- checkStrechText(writeAndReadStream(aGDIMetaFile));
- checkStrechText(readFile("strecthtext.svm"));
+ checkstretchText(writeAndReadStream(aGDIMetaFile));
+ checkstretchText(readFile("strecthtext.svm"));
}
void SvmTest::checkTextRect(const GDIMetaFile& rMetaFile)
More information about the Libreoffice-commits
mailing list