Skip to content

Commit

Permalink
coined 1.18.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kazurayam committed Jun 22, 2020
1 parent 286b210 commit c591623
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,7 @@ public class VisualTestingListenerImpl {
// read TestSuiteId and ExecutionProfile of the last executed test suite
// from GlobalVariables.json file
if (Files.exists(GLOBAL_VARIABLES_JSON)) {
List<String> names = [
MGV.LAST_EXECUTED_TESTSUITE_ID.getName(),
MGV.LAST_APPLIED_EXECUTION_PROFILE.getName()
]
List<String> names = [MGV.LAST_EXECUTED_TESTSUITE_ID.getName(), MGV.LAST_APPLIED_EXECUTION_PROFILE.getName()]
Reader reader = new InputStreamReader(new FileInputStream(GLOBAL_VARIABLES_JSON.toFile()), "utf-8")
Map<String, Object> gvs = GlobalVariableHelpers.read(names, reader)
for (String name in gvs.keySet()) {
Expand Down Expand Up @@ -297,10 +294,7 @@ public class VisualTestingListenerImpl {

//
Files.createDirectories(GLOBAL_VARIABLES_JSON.getParent())
List<String> names = [
MGV.LAST_EXECUTED_TESTSUITE_ID.getName(),
MGV.LAST_APPLIED_EXECUTION_PROFILE.getName()
]
List<String> names = [MGV.LAST_EXECUTED_TESTSUITE_ID.getName(), MGV.LAST_APPLIED_EXECUTION_PROFILE.getName()]
Writer writer = new OutputStreamWriter(new FileOutputStream(GLOBAL_VARIABLES_JSON.toFile()), "utf-8")
GVH.write(names, writer)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ try {
" of \n${jo.prettyPrint(tsn.toJsonText())}\n" +
" before \n${jo.prettyPrint(tst.toJsonText())}\n" +
" from \n${jo.prettyPrint(ms.toJsonText())}\n" +
" into copy into \n${jo.prettyPrint(mr.toJsonText())}")
" to copy into \n${jo.prettyPrint(mr.toJsonText())}")
}

} catch (Exception e) {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

apply plugin: 'groovy'

version = "1.18.0"
version = "1.18.1"

ext {
groovyVersion = '2.4.7'
Expand Down

0 comments on commit c591623

Please sign in to comment.