Skip to content
This repository has been archived by the owner on Apr 13, 2018. It is now read-only.

TestSuite.xml should wrap event2xml in a Group #1

Open
chris-twiner opened this issue Feb 2, 2011 · 0 comments
Open

TestSuite.xml should wrap event2xml in a Group #1

chris-twiner opened this issue Feb 2, 2011 · 0 comments

Comments

@chris-twiner
Copy link

With certain input the created xml from event causes

{{{
java.lang.UnsupportedOperationException: unsuitable as hash key
at scala.collection.mutable.Buffer$class.hashCode(Buffer.scala:280)
at scala.collection.mutable.ArrayBuffer.hashCode(ArrayBuffer.scala:26)
at scala.xml.Utility$.hashCode(Utility.scala:263)
at scala.xml.Elem.hashCode(Elem.scala:64)
at scala.collection.mutable.FlatHashTable$class.elemHashCode(FlatHashTable.scal
}}}

Simple fix is to wrap in a Group so line 29 becomes {for (test <- testEvents) yield Group(TestSuite.event2xml(test))} with appropriate import added of course :-).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant