diff options
author | Hossein <hossein@libreoffice.org> | 2022-04-24 14:13:21 +0200 |
---|---|---|
committer | Hossein - <hossein@libreoffice.org> | 2022-04-24 14:56:24 +0200 |
commit | 45aac5b97192a97369c7785772ce7400d9ea8abc (patch) | |
tree | 7169ae44ac4cb033756ea1a5a19d00877a0b91e5 /emfio/qa/cppunit/wmf | |
parent | 3d7466b92a450d7ca4f45fef9a664143fbb3c386 (diff) |
Remove brittle test from WmfTest
The WmfTest::testStockObject() contained test for the number of
children in the metafile dump. This can be changed when unimplemented
records are implemented.
The problem was revelead while implementing SetPolyFillMode record:
<https://ci.libreoffice.org/job/gerrit_linux_clang_dbgutil/112114/>
xmltesttools.cxx:234:WmfTest::testStockObject
equality assertion failed
- Expected: 42
- Actual : 47
- In <>, XPath '/metafile/push[2]' number of child-nodes is incorrect
Change-Id: I627801b7ac535a2f0c736880d9675f3d0136136a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133353
Tested-by: Jenkins
Reviewed-by: Hossein - <hossein@libreoffice.org>
Diffstat (limited to 'emfio/qa/cppunit/wmf')
-rw-r--r-- | emfio/qa/cppunit/wmf/wmfimporttest.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/emfio/qa/cppunit/wmf/wmfimporttest.cxx b/emfio/qa/cppunit/wmf/wmfimporttest.cxx index d8a4ed82d0f0..a85876e03a7d 100644 --- a/emfio/qa/cppunit/wmf/wmfimporttest.cxx +++ b/emfio/qa/cppunit/wmf/wmfimporttest.cxx @@ -403,11 +403,6 @@ void WmfTest::testStockObject() CPPUNIT_ASSERT(pDoc); // Without the fix in place, this test would have failed with - // - Expected: 42 - // - Actual : 37 - assertXPathChildren(pDoc, "/metafile/push[2]", 42); - - // Without the fix in place, this test would have failed with // - Expected: 1 // - Actual : 0 // - In <>, XPath '/metafile/push[2]/fillcolor[2]' number of nodes is incorrect |