From bdc8cd060dca8a97ef7970d1c0ab30694930beea Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Tue, 28 Apr 2020 11:14:35 +0200 Subject: [PATCH] check-missing-unittests: Add xhtml, html and doc formats MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ia4d7cf5c10f92a6d69b0d5e8247d8b844b17c62f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93041 Tested-by: Jenkins Reviewed-by: Xisco FaulĂ­ --- bin/check-missing-unittests.py | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/bin/check-missing-unittests.py b/bin/check-missing-unittests.py index 0e27243b6cde..9a81b3ab71a9 100755 --- a/bin/check-missing-unittests.py +++ b/bin/check-missing-unittests.py @@ -15,8 +15,11 @@ def main(ignoredBugs): results = { 'export': { 'docx': {}, + 'doc': {}, 'pptx': {}, - 'xlsx': {} + 'xlsx': {}, + 'xhtml': {}, + 'html': {}, } } hasTestSet = set() @@ -64,12 +67,27 @@ def main(ignoredBugs): if 'qa' in changedFiles: hasTestSet.add(bugId) continue - elif 'sw/source/filter/ww8/docx' in changedFiles: + + elif 'sw/source/filter/ww8/docx' in changedFiles or \ + 'writerfilter/source/dmapper' in changedFiles or \ + 'starmath/source/ooxmlimport' in changedFiles: results['export']['docx'][bugId] = summary + + elif 'sw/source/filter/ww8/ww8' in changedFiles: + results['export']['doc'][bugId] = summary + elif 'sc/source/filter/excel/xe' in changedFiles: results['export']['xlsx'][bugId] = summary + elif 'oox/source/export/' in changedFiles: results['export']['pptx'][bugId] = summary + + elif 'filter/source/xslt/odf2xhtml/export' in changedFiles: + results['export']['xhtml'][bugId] = summary + + elif 'sw/source/filter/html/' in changedFiles: + results['export']['html'][bugId] = summary + # Add others here print()