General Actions:
| ... | ... | @@ -121,19 +121,27 @@ |
| 121 | 121 | testByName.each() { name, result -> |
| 122 | 122 | |
| 123 | 123 | def inCellResult |
| 124 | - if (result.inResult != State.NOT_APPLICABLE && result.inResult != State.MISSING) { | |
| 125 | - def syntaxInCell = "${syntaxLocation}/${name}${result.inSyntaxExtension}" | |
| 124 | + if (result.inResult != State.NOT_APPLICABLE) { | |
| 126 | 126 | def ctsInCell = "https://raw.github.com/xwiki/xwiki-rendering/master/xwiki-rendering-test/src/main/resources/cts/${name}${result.inCtsExtension}" |
| 127 | - inCellResult = "(% style='background-color: ${result.inResult.color()}' %)[[IN>>${syntaxInCell}]] / [[CTS>>${ctsInCell}]]" | |
| 126 | + if (result.inResult != State.MISSING) { | |
| 127 | + def syntaxInCell = "${syntaxLocation}/${name}${result.inSyntaxExtension}" | |
| 128 | + inCellResult = "(% style='background-color: ${result.inResult.color()}' %)[[IN>>${syntaxInCell}]] / [[CTS>>${ctsInCell}]]" | |
| 129 | + } else { | |
| 130 | + inCellResult = "(% style='background-color: ${result.inResult.color()}' %)[[CTS>>${ctsInCell}]]" | |
| 131 | + } | |
| 128 | 128 | } else { |
| 129 | 129 | inCellResult = "(% style='background-color: ${result.inResult.color()}' %)" |
| 130 | 130 | } |
| 131 | 131 | |
| 132 | 132 | def outCellResult |
| 133 | - if (result.outResult != State.NOT_APPLICABLE && result.outResult != State.MISSING) { | |
| 134 | - def syntaxOutCell = "${syntaxLocation}/${name}${result.outSyntaxExtension}" | |
| 137 | + if (result.outResult != State.NOT_APPLICABLE) { | |
| 135 | 135 | def ctsOutCell = "https://raw.github.com/xwiki/xwiki-rendering/master/xwiki-rendering-test/src/main/resources/cts/${name}${result.outCtsExtension}" |
| 136 | - outCellResult = "(% style='background-color: ${result.outResult.color()}' %)[[CTS>>${ctsOutCell}]] / [[OUT>>${syntaxOutCell}]]" | |
| 139 | + if (result.outResult != State.MISSING) { | |
| 140 | + def syntaxOutCell = "${syntaxLocation}/${name}${result.outSyntaxExtension}" | |
| 141 | + outCellResult = "(% style='background-color: ${result.outResult.color()}' %)[[CTS>>${ctsOutCell}]] / [[OUT>>${syntaxOutCell}]]" | |
| 142 | + } else { | |
| 143 | + outCellResult = "(% style='background-color: ${result.outResult.color()}' %)[[CTS>>${ctsOutCell}]]" | |
| 144 | + } | |
| 137 | 137 | } else { |
| 138 | 138 | outCellResult = "(% style='background-color: ${result.outResult.color()}' %)" |
| 139 | 139 | } |