Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 05a80ea

Browse files
committed
xml generator test: string parameters can be set to an empty value
Signed-off-by: David Wagner <[email protected]>
1 parent 3741cc7 commit 05a80ea

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

test/xml-generator/testVector/first.pfw

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ domainGroup: EddGroup
1515

1616
component: /Test/test/block/1
1717
q2.5 = 1.2
18-
string = some string
18+
# set to an empty string
19+
string =
1920

2021
# Inherits from "EddGroup" domainGroup, "First" domain
2122
# and from "Green" confGroup

test/xml-generator/testVector/reference.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
<FixedPointParameter Name="q2.5">1.18750</FixedPointParameter>
9595
</ConfigurableElement>
9696
<ConfigurableElement Path="/Test/test/block/1/string">
97-
<StringParameter Name="string">some string</StringParameter>
97+
<StringParameter Name="string"></StringParameter>
9898
</ConfigurableElement>
9999
</Configuration>
100100
<Configuration Name="Green.Off">

0 commit comments

Comments
 (0)