[GRADLE-2307] Configuration of TestNG options causes Stackoverflow when trying to use project / task properties. Created: 16/May/12 Updated: 04/Jan/13 Resolved: 09/Aug/12 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 1.0-rc-3 |
Fix Version/s: | 1.2-rc-1 |
Type: | Bug | ||
Reporter: | René Gröschke (Inactive) | Assignee: | René Gröschke (Inactive) |
Resolution: | Fixed | Votes: | 2 |
Issue Links: |
|
Description |
The configuration closure for useTestNG() in the Test task does not allow the usage of project/task properties. The following example results in a stackoverflow because of trying to reference project.buildDir: test{ } A fix for this is to refactor the missingmethod and missingproperty methods of TestNGOptions to throw a MissingProperty* / MissingMethodException instead of delegating to super. |