SVN commit 814258 by roop: testcase for text-line-through-text M +3 -0 TestLoading.cpp AM data/FormattingProperties/TextFormattingProperties/lineThroughText.odt A data/FormattingProperties/TextFormattingProperties/lineThroughText.qs M +1 -0 data/common.qs --- trunk/koffice/libs/kotext/opendocument/tests/TestLoading.cpp #814257:814258 @@ -123,6 +123,8 @@ == expectedFormat.property(KoCharacterStyle::StrikeOutWeight).toInt() && actualFormat.property(KoCharacterStyle::StrikeOutWidth).toDouble() == expectedFormat.property(KoCharacterStyle::StrikeOutWidth).toDouble() + && actualFormat.property(KoCharacterStyle::StrikeOutText).toString() + == expectedFormat.property(KoCharacterStyle::StrikeOutText).toString() && actualFormat.property(KoCharacterStyle::Country).toString() == expectedFormat.property(KoCharacterStyle::Country).toString() && actualFormat.property(KoCharacterStyle::Language).toString() @@ -631,6 +633,7 @@ QTest::newRow("Line through style") << "FormattingProperties/TextFormattingProperties/lineThroughStyle"; QTest::newRow("Line through type") << "FormattingProperties/TextFormattingProperties/lineThroughType"; QTest::newRow("Line through width") << "FormattingProperties/TextFormattingProperties/lineThroughWidth"; + QTest::newRow("lineThroughText") << "FormattingProperties/TextFormattingProperties/lineThroughText"; QTest::newRow("Relative Font Size") << "FormattingProperties/TextFormattingProperties/relativeFontSize"; QTest::newRow("Text Background Color") << "FormattingProperties/TextFormattingProperties/textBackgroundColor"; QTest::newRow("Text Outline") << "FormattingProperties/TextFormattingProperties/textOutline"; ** trunk/koffice/libs/kotext/opendocument/tests/data/FormattingProperties/TextFormattingProperties/lineThroughText.odt #property svn:mime-type + application/octet-stream --- trunk/koffice/libs/kotext/opendocument/tests/data/common.qs #814257:814258 @@ -87,6 +87,7 @@ KoCharacterStyle.StrikeOutWidth = ++i; KoCharacterStyle.StrikeOutWeight = ++i; KoCharacterStyle.StrikeOutMode = ++i; +KoCharacterStyle.StrikeOutText = ++i; KoCharacterStyle.UnderlineStyle = ++i; KoCharacterStyle.UnderlineType = ++i; KoCharacterStyle.UnderlineWidth = ++i;