diff options
author | Moaz <moaz.eldefrawy@gmail.com> | 2021-02-21 20:22:40 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-02-25 07:50:29 +0100 |
commit | a9a350c13d8fb454c3f1db7ca6a7f10c1e7a19bb (patch) | |
tree | c3115fa9b7018eb6629cdaf607ef4a49adb147dc /oox/qa | |
parent | befc0c2b0e0b3bf293a2446d71e38717ed53985b (diff) |
tdf#139734 Remove redundant asserts after MacrosTest::loadFromDesktop
MacrosTest::loadFromDesktop itself asserts on its return value.
Thus, the additional checks in unit tests are redundant, and only create
noise unrelated to the tested functionality.
Change-Id: If616001b296afdde38f5a23ececee3d44b4a395d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111290
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'oox/qa')
-rw-r--r-- | oox/qa/unit/mathml.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/oox/qa/unit/mathml.cxx b/oox/qa/unit/mathml.cxx index 6d502b2933d8..3ab87fcbcc1f 100644 --- a/oox/qa/unit/mathml.cxx +++ b/oox/qa/unit/mathml.cxx @@ -49,7 +49,6 @@ CPPUNIT_TEST_FIXTURE(OoxMathmlTest, testImportCharacters) OUString aURL = m_directories.getURLFromSrc(DATA_DIRECTORY) + "import-characters.pptx"; // Without the accompanying fix in place, this failed with an assertion failure on import. getComponent() = loadFromDesktop(aURL); - CPPUNIT_ASSERT(getComponent().is()); } CPPUNIT_TEST_FIXTURE(OoxMathmlTest, testImportMce) |