[Libreoffice-commits] core.git: sc/qa vcl/qa
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jul 1 13:47:23 UTC 2021
sc/qa/unit/subsequent_export-test2.cxx | 2 ++
vcl/qa/cppunit/svm/svmtest.cxx | 2 ++
2 files changed, 4 insertions(+)
New commits:
commit cc948b84b8550ba728b3dfbc40a9785b928910e9
Author: Noel Grandin <noel at peralex.com>
AuthorDate: Thu Jul 1 13:42:31 2021 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Jul 1 15:46:49 2021 +0200
exclude some tests for non-default DPI
Change-Id: I579a25040f42fd930a59079f430423806544752b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118222
Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/sc/qa/unit/subsequent_export-test2.cxx b/sc/qa/unit/subsequent_export-test2.cxx
index eb6db21167d3..6036bddd8369 100644
--- a/sc/qa/unit/subsequent_export-test2.cxx
+++ b/sc/qa/unit/subsequent_export-test2.cxx
@@ -2305,6 +2305,8 @@ void ScExportTest2::testTdf140431()
void ScExportTest2::testCheckboxFormControlXlsxExport()
{
+ if (!IsDefaultDPI())
+ return;
// Given a document that has a checkbox form control:
ScDocShellRef xShell = loadDoc(u"checkbox-form-control.", FORMAT_XLSX);
CPPUNIT_ASSERT(xShell.is());
diff --git a/vcl/qa/cppunit/svm/svmtest.cxx b/vcl/qa/cppunit/svm/svmtest.cxx
index 953f97d0b8b6..0f2523ea3c46 100644
--- a/vcl/qa/cppunit/svm/svmtest.cxx
+++ b/vcl/qa/cppunit/svm/svmtest.cxx
@@ -1870,6 +1870,8 @@ void SvmTest::checkMapMode(const GDIMetaFile& rMetafile)
void SvmTest::testMapMode()
{
+ if (!IsDefaultDPI())
+ return;
GDIMetaFile aGDIMetafile;
ScopedVclPtrInstance<VirtualDevice> pVirtualDev;
setupBaseVirtualDevice(*pVirtualDev, aGDIMetafile);
More information about the Libreoffice-commits
mailing list