Skip to content

Commit 873041e

Browse files
authored
Merge pull request #21 from ndw/testcase
Small tweaks to test output; bumped version
2 parents 5f71c05 + bc5f2c7 commit 873041e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import java.io.{BufferedReader, InputStreamReader}
22

33
enablePlugins(JavaAppPackaging)
44

5-
lazy val xmlCalabashVersion = "2.99.9"
5+
lazy val xmlCalabashVersion = "2.99.10"
66
lazy val jafplVersion = "0.3.83"
77
lazy val saxonVersion = "10.6"
88
lazy val useSaxonEE = Option(System.getProperty("saxonEdition")).getOrElse("HE") == "EE"

src/main/scala/com/xmlcalabash/testing/TestRunner.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ class TestRunner(processor: Processor, online: Boolean, regex: Option[String], t
3131
private val _property = new QName("", "property")
3232
private val _value = new QName("", "value")
3333
private val _testcase = new QName("", "testcase")
34-
private val _classname = new QName("", "classname")
3534
private val _time = new QName("", "time")
3635
private val _errors = new QName("", "errors")
3736
private val _timestamp = new QName("", "timestamp")
@@ -206,7 +205,6 @@ class TestRunner(processor: Processor, online: Boolean, regex: Option[String], t
206205

207206
var amap: AttributeMap = EmptyAttributeMap.getInstance()
208207
amap = amap.put(TypeUtils.attributeInfo(_name, name))
209-
amap = amap.put(TypeUtils.attributeInfo(_classname, this.getClass.getName))
210208
amap = amap.put(TypeUtils.attributeInfo(_time, ((end_ms - start_ms) / 1000.0).toString))
211209
junit.addStartElement(_testcase, amap)
212210

@@ -267,6 +265,7 @@ class TestRunner(processor: Processor, online: Boolean, regex: Option[String], t
267265
junit.addEndElement()
268266

269267
junit.addEndElement()
268+
junit.addText("\n")
270269
}
271270

272271
junit.endDocument()

0 commit comments

Comments
 (0)