diff options
author | Brad Hards <bradh@frogmouth.net> | 2011-01-03 01:12:25 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2011-01-10 17:00:47 (GMT) |
commit | 03bb8fb0af66a24c2b532d2fe6febb426c64f684 (patch) | |
tree | cdb70cc14ed1e9bce484540e4f351897a883c8b1 /tests/auto/qtextodfwriter | |
parent | 03dba6aa6d3a4738d2ff63feabff94cec1c1e5cd (diff) | |
download | Qt-03bb8fb0af66a24c2b532d2fe6febb426c64f684.zip Qt-03bb8fb0af66a24c2b532d2fe6febb426c64f684.tar.gz Qt-03bb8fb0af66a24c2b532d2fe6febb426c64f684.tar.bz2 |
Update QTextOdfWriter test case to match actual (correct) output
The ODF 1.1 Specification Section 15.5.11 shows the element names are tab-stops
and tab-stop (not style-tab-stops and style-tab-stop, which are just ref in the
schema).
Merge-request: 1012
Reviewed-by: Olivier Goffart
Diffstat (limited to 'tests/auto/qtextodfwriter')
-rw-r--r-- | tests/auto/qtextodfwriter/tst_qtextodfwriter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/qtextodfwriter/tst_qtextodfwriter.cpp b/tests/auto/qtextodfwriter/tst_qtextodfwriter.cpp index a463d86..eb0e384 100644 --- a/tests/auto/qtextodfwriter/tst_qtextodfwriter.cpp +++ b/tests/auto/qtextodfwriter/tst_qtextodfwriter.cpp @@ -208,10 +208,10 @@ void tst_QTextOdfWriter::testWriteStyle2() QString xml = QString::fromLatin1( "<style:style style:name=\"p1\" style:family=\"paragraph\">" "<style:paragraph-properties>" - "<style:style-tab-stops>" - "<style:style-tab-stop style:position=\"30pt\" style:type=\"right\"/>" - "<style:style-tab-stop style:position=\"60pt\" style:type=\"char\" style:char=\"o\"/>" - "</style:style-tab-stops>" + "<style:tab-stops>" + "<style:tab-stop style:position=\"30pt\" style:type=\"right\"/>" + "<style:tab-stop style:position=\"60pt\" style:type=\"char\" style:char=\"o\"/>" + "</style:tab-stops>" "</style:paragraph-properties>" "</style:style>"); QCOMPARE(getContentFromXml(), xml); |