Merge pull request #4401 from eed3si9n/wip/bump

Zinc 1.2.3
This commit is contained in:
eugene yokota
2018-10-05 03:31:31 -04:00
committed by GitHub
2 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -8,10 +8,10 @@ object Dependencies {
val baseScalaVersion = scala212 val baseScalaVersion = scala212
// sbt modules // sbt modules
private val ioVersion = "1.2.1" private val ioVersion = "1.2.2"
private val utilVersion = "1.2.2" private val utilVersion = "1.2.2"
private val lmVersion = "1.2.1" private val lmVersion = "1.2.1"
private val zincVersion = "1.2.2" private val zincVersion = "1.2.3"
private val sbtIO = "org.scala-sbt" %% "io" % ioVersion private val sbtIO = "org.scala-sbt" %% "io" % ioVersion
@@ -226,8 +226,10 @@ class JUnitXmlTestsListener(val outputDir: String, logger: Logger) extends Tests
d.truncatedTo(ChronoUnit.SECONDS).format(DateTimeFormatter.ISO_LOCAL_DATE_TIME) d.truncatedTo(ChronoUnit.SECONDS).format(DateTimeFormatter.ISO_LOCAL_DATE_TIME)
private def writeSuite() = { private def writeSuite() = {
val legacyFile = new File(targetDir, s"${normalizeName(withTestSuite(_.name))}.xml").getAbsolutePath val legacyFile =
val file = new File(targetDir, s"TEST-${normalizeName(withTestSuite(_.name))}.xml").getAbsolutePath new File(targetDir, s"${normalizeName(withTestSuite(_.name))}.xml").getAbsolutePath
val file =
new File(targetDir, s"TEST-${normalizeName(withTestSuite(_.name))}.xml").getAbsolutePath
// TODO would be nice to have a logger and log this with level debug // TODO would be nice to have a logger and log this with level debug
// System.err.println("Writing JUnit XML test report: " + file) // System.err.println("Writing JUnit XML test report: " + file)
XML.save(legacyFile, withTestSuite(_.stop()), "UTF-8", true, null) XML.save(legacyFile, withTestSuite(_.stop()), "UTF-8", true, null)