summaryrefslogtreecommitdiff
path: root/sfx2/qa
diff options
context:
space:
mode:
author4k5h1t <ask160203@gmail.com>2021-08-29 17:44:58 +0530
committerMike Kaganski <mike.kaganski@collabora.com>2021-08-30 16:23:05 +0200
commit7970e700f86bca811508f9b229110d6ab4393d04 (patch)
treec096f1c1b95fb6c9bd1ebc4e46def4f588f0ffa2 /sfx2/qa
parent158cc1d81121df12edfaf9ce80a7745e6aaad46b (diff)
tdf#139734 Drop redundant asserts after MacrosTest::loadFromDesktop
Change-Id: I7347d2c9429647e9cd87ad8147848d24f717d181 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121222 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sfx2/qa')
-rw-r--r--sfx2/qa/cppunit/test_classification.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sfx2/qa/cppunit/test_classification.cxx b/sfx2/qa/cppunit/test_classification.cxx
index b824ca219efe..49664aca6f2f 100644
--- a/sfx2/qa/cppunit/test_classification.cxx
+++ b/sfx2/qa/cppunit/test_classification.cxx
@@ -112,7 +112,6 @@ void ClassificationTest::testWriter()
{
// Test SID_CLASSIFICATION_APPLY handling in SwDocShell::Execute().
mxComponent = loadFromDesktop("private:factory/swriter", "com.sun.star.text.TextDocument");
- CPPUNIT_ASSERT(mxComponent.is());
// This resulted in a beans::UnknownPropertyException when the request wasn't handled.
testClassification();
}
@@ -121,7 +120,6 @@ void ClassificationTest::testCalc()
{
// Test SID_CLASSIFICATION_APPLY handling in ScFormatShell::ExecuteStyle().
mxComponent = loadFromDesktop("private:factory/scalc", "com.sun.star.sheet.SpreadsheetDocument");
- CPPUNIT_ASSERT(mxComponent.is());
// This resulted in a beans::UnknownPropertyException when the request wasn't handled.
testClassification();
}
@@ -130,7 +128,6 @@ void ClassificationTest::testImpress()
{
// Test SID_CLASSIFICATION_APPLY handling in sd::DrawViewShell::FuTemporary().
mxComponent = loadFromDesktop("private:factory/simpress", "com.sun.star.presentation.PresentationDocument");
- CPPUNIT_ASSERT(mxComponent.is());
// This resulted in a beans::UnknownPropertyException when the request wasn't handled.
testClassification();
}