Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
Save testing XML output.
Browse files Browse the repository at this point in the history
  • Loading branch information
gchallen committed Nov 14, 2017
1 parent ce8c103 commit 4ac22b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/groovy/edu/illinois/cs/cs125/gradle/GradeTask.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import java.nio.file.Paths

import javax.xml.xpath.*
import groovy.xml.DOMBuilder
import groovy.xml.XmlUtil
import groovy.xml.dom.DOMCategory

import org.apache.http.client.methods.*
Expand Down Expand Up @@ -239,6 +240,7 @@ class GradeTask extends DefaultTask {
}
}
}
gradeConfiguration.testXML = XmlUtil.serialize(mergedXML)

def toRemove = gradeConfiguration.test.selectors - toKeep
toRemove.each { testSelector ->
Expand Down

0 comments on commit 4ac22b3

Please sign in to comment.