diff options
author | Noel Grandin <noel@peralex.com> | 2021-07-01 13:42:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-01 15:46:49 +0200 |
commit | cc948b84b8550ba728b3dfbc40a9785b928910e9 (patch) | |
tree | dcbd81734b069250c0452e2349e543716e845bb6 | |
parent | d9648d1cf6c4ec7407ff30cf814be98d089345d1 (diff) |
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@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | sc/qa/unit/subsequent_export-test2.cxx | 2 | ||||
-rw-r--r-- | vcl/qa/cppunit/svm/svmtest.cxx | 2 |
2 files changed, 4 insertions, 0 deletions
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); |