[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: tests/kofficetests/import
From: Matus Uzak <matus.uzak () ixonos ! com>
Date: 2010-10-11 11:34:09
Message-ID: 20101011113409.80D31AC7E4 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1184786 by uzak:
Updated a few tests and added footnote tests.
AM msword/footnotes.doc
A msword/footnotes.xsl
M +3 -3 msword/hyperlinks.xsl
A msword/sharedtemplates.xsl powerpoint/sharedtemplates.xsl#1183914
M +3 -14 powerpoint/themed_colors.xsl
--- trunk/tests/kofficetests/import/msword/hyperlinks.xsl #1184785:1184786
@@ -20,19 +20,19 @@
<!-- checks the number of elements -->
<xsl:if test="count($textHL) != 4">
<xsl:message terminate="yes">
- [ FAILED ] there should by 4 textual HyperLinks, got <xsl:value-of \
select="count($textHL)"/> + [ FAILED ] there should be 4 textual HyperLinks, got \
<xsl:value-of select="count($textHL)"/> </xsl:message>
</xsl:if>
<xsl:if test="count($picHL) != 2">
<xsl:message terminate="yes">
- [ FAILED ] there should by 2 pictures representing HyperLinks, got \
<xsl:value-of select="count($pictHL)"/> + [ FAILED ] there should be 2 pictures \
representing HyperLinks, got <xsl:value-of select="count($pictHL)"/> </xsl:message>
</xsl:if>
<xsl:if test="count($tableHL) != 2">
<xsl:message terminate="yes">
- [ FAILED ] there should by 2 textual HyperLinks inside tables, got \
<xsl:value-of select="count($tableHL)"/> + [ FAILED ] there should be 2 textual \
HyperLinks inside tables, got <xsl:value-of select="count($tableHL)"/> \
</xsl:message> </xsl:if>
--- trunk/tests/kofficetests/import/powerpoint/themed_colors.xsl #1184785:1184786
@@ -72,14 +72,8 @@
<x:with-param name="testId" select="'themed_colors.check that fill is set to \
solid'"/> <x:with-param name="element" select="$frame"/>
<x:with-param name="attributeName" select="'fill'"/>
- <x:with-param name="value" select="'solid'"/>
+ <x:with-param name="value" select="'none'"/>
</x:call-template>
- <x:call-template name="checkForStyleAttributeMatch">
- <x:with-param name="testId" select="'themed_colors.check that correct fill-color \
is set'"/>
- <x:with-param name="element" select="$frame"/>
- <x:with-param name="attributeName" select="'fill-color'"/>
- <x:with-param name="value" select="'#720000'"/>
- </x:call-template>
<x:call-template name="testTextColors">
<x:with-param name="element" select="$frame/d:text-box"/>
<x:with-param name="p_count" select="'1'"/>
@@ -98,14 +92,8 @@
<x:with-param name="testId" select="'themed_colors.check that fill is set to \
solid'"/> <x:with-param name="element" select="$frame"/>
<x:with-param name="attributeName" select="'fill'"/>
- <x:with-param name="value" select="'solid'"/>
+ <x:with-param name="value" select="'none'"/>
</x:call-template>
- <x:call-template name="checkForStyleAttributeMatch">
- <x:with-param name="testId" select="'themed_colors.check that correct fill-color \
is set'"/>
- <x:with-param name="element" select="$frame"/>
- <x:with-param name="attributeName" select="'fill-color'"/>
- <x:with-param name="value" select="'#720000'"/>
- </x:call-template>
<x:call-template name="testTextColors">
<x:with-param name="element" select="$frame/d:text-box"/>
<x:with-param name="p_count" select="'1'"/>
@@ -165,6 +153,7 @@
</x:message>
</x:if>
+ <!-- Check the graphic style of each frame -->
<x:call-template name="testFrame1"/>
<x:call-template name="testFrame2"/>
<x:call-template name="testFrame3"/>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic