The jtreg IntelliJ plugin can create run configurations for jtreg tests in a variety of ways. One way which currently doesn't work that well is creating run configurations by using the context menu.
For example: when a user right-clicks in the middle of a test method, the JTReg run configuration producer does not recognize that we are trying to create a run configuration for that test method, and instead falls back to creating a run configuration for the whole file.
We can fix this by looking up the first enclosing parent of the line that we can create a configuration for.
For example: when a user right-clicks in the middle of a test method, the JTReg run configuration producer does not recognize that we are trying to create a run configuration for that test method, and instead falls back to creating a run configuration for the whole file.
We can fix this by looking up the first enclosing parent of the line that we can create a configuration for.
- links to
-
Commit(master) openjdk/jtreg/9e3e2303
-
Review(master) openjdk/jtreg/252