File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
socha-sdk/src/test/sc/shared Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -12,19 +12,20 @@ class SlotDescriptorTest : StringSpec({
1212 autodetectAnnotations(true)
1313 }
1414 val descriptors = listOf(
15- SlotDescriptor (),
16- SlotDescriptor ("Display Name "),
17- SlotDescriptor ("name", false),
18- SlotDescriptor ("another name", true, false)
19- )
20- val XMLs = listOf(
15+ SlotDescriptor () to
2116 """<slotDescriptor displayName="Unknown " canTimeout="true" shouldBePaused="true"/>""",
17+
18+ SlotDescriptor ("Display Name ") to
2219 """<slotDescriptor displayName="Display Name " canTimeout="true" shouldBePaused="true"/>""",
20+
21+ SlotDescriptor ("name", false) to
2322 """<slotDescriptor displayName="name" canTimeout="false" shouldBePaused="true"/>""",
23+
24+ SlotDescriptor ("another name", true, false) to
2425 """<slotDescriptor displayName="another name" canTimeout="true" shouldBePaused="false"/>"""
2526 )
2627
27- ( descriptors zip XMLs ) .forAll {
28+ descriptors.forAll {
2829 xstream.toXML(it.first) shouldBe it.second
2930 xstream.fromXML(it.second).toString() shouldBe it.first.toString()
3031 }
You can’t perform that action at this time.
0 commit comments