[Libreoffice-commits] core.git: bin/check-missing-unittests.py

Xisco Fauli (via logerrit) logerrit at kemper.freedesktop.org
Thu May 14 16:05:59 UTC 2020


 bin/check-missing-unittests.py |   22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)

New commits:
commit bdc8cd060dca8a97ef7970d1c0ab30694930beea
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Tue Apr 28 11:14:35 2020 +0200
Commit:     Xisco Faulí <xiscofauli at libreoffice.org>
CommitDate: Thu May 14 18:05:21 2020 +0200

    check-missing-unittests: Add xhtml, html and doc formats
    
    Change-Id: Ia4d7cf5c10f92a6d69b0d5e8247d8b844b17c62f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93041
    Tested-by: Jenkins
    Reviewed-by: Xisco Faulí <xiscofauli at libreoffice.org>

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()


More information about the Libreoffice-commits mailing list