File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ class Tags {
66 Boolean throwsException = false
77 Boolean errorOutputExpected = false
88 Boolean validateByHand = false
9- Boolean ignoreOutput = false // probably don 't need this tag
9+ Boolean ignoreOutput = false // This tag isn 't used in the build...
1010 String fileRoot
1111 String mainClass
1212 String javaCmd = null
@@ -76,29 +76,25 @@ class Tags {
7676 result + = ln + " \n "
7777 else
7878 break
79- if (mainMethod)
80- result + = " mainMethod: " + mainMethod + " \n "
81- if (compileTimeError)
82- result + = " compileTimeError: " + compileTimeError + " \n "
83- if (throwsException)
84- result + = " throwsException: " + throwsException + " \n "
85- if (errorOutputExpected)
86- result + = " errorOutputExpected: " + errorOutputExpected + " \n "
87- if (validateByHand)
88- result + = " validateByHand: " + validateByHand + " \n "
89- if (ignoreOutput)
90- result + = " ignoreOutput: " + ignoreOutput + " \n "
91- if (javaCmd)
92- result + = " javaCmd: " + javaCmd + " \n "
93- if (args)
94- result + = " args: " + args + " \n "
95- if (jVMArgs)
96- result + = " jVMArgs: " + jVMArgs + " \n "
97- if (exec)
98- result + = " exec: " + exec + " \n "
99- if (runFirst)
100- result + = " runFirst: " + runFirst + " \n "
101- return result
79+ """
80+ mainMethod
81+ compileTimeError
82+ throwsException
83+ errorOutputExpected
84+ validateByHand
85+ ignoreOutput
86+ fileRoot
87+ mainClass
88+ javaCmd
89+ args
90+ jVMArgs
91+ exec
92+ runFirst
93+ """ . split(). each { str ->
94+ if (this [str])
95+ result + = str + " : " + this [str] + " \n "
96+ }
97+ result
10298 }
10399}
104100
You can’t perform that action at this time.
0 commit comments