Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7902649: Allow a testsuite to define several TestFilters specific for this suite #2

Closed
wants to merge 2 commits into from

Conversation

dbessono
Copy link
Collaborator

@dbessono dbessono commented Apr 29, 2020

Currently TestSuite class has a method to override that returns only one test filter:

TestFilter createTestFilter(TestEnvironment)

There are situations when test suite has several test filters that it is forced however to hide behind an umbrella filter. It is more natural and convenient to let test suite return a collection of atomized filters that would be iterated on the JTHarness side and listed in the test run stats separately and informatively.


Progress

  • Change must not contain extraneous whitespace

Issue

  • CODETOOLS-7902649: Allow testsuite to define several TestFilters specific for this suite

Download

$ git fetch https://git.openjdk.java.net/jtharness pull/2/head:pull/2
$ git checkout pull/2

Sorry, something went wrong.

@bridgekeeper
Copy link

bridgekeeper bot commented Apr 29, 2020

👋 Welcome back dbessono! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request.

@openjdk
Copy link

openjdk bot commented Apr 29, 2020

@dbessono This change now passes all automated pre-integration checks, type /integrate in a new comment to proceed. After integration, the commit message will be:

7902649: Allow a testsuite to define several TestFilters specific for this suite
  • If you would like to add a summary, use the /summary command.
  • To credit additional contributors, use the /contributor command.
  • To add additional solved issues, use the /solves command.

Since the source branch of this PR was last updated there have been 33 commits pushed to the master branch:

  • 1cdb603: 7902670: (spotbugs) TestTreeModel - No relationship between generic parameter and method argument
  • d47e258: (preview/tck.test) added more regression tests
  • 52d4fba: 7902669: (spotbugs) EditLinks - No relationship between generic parameter and method argument
  • 4aedeea: (preview/tck.test) added more regression tests
  • 4628187: 7902668: (spotbugs) TestTreePanel - Suspicious comparison of Integer references
  • 3f2146b: (spotbugs) extra fix for "instanceof will always return 'false'" - avoiding NPE
  • 7cd1e82: (spotbugs) extra fix for - "instanceof will always return 'false' - FileQuestion (com.sun.interview)" - avoiding NPE
  • 6d05059: 7902667: (spotbugs) instanceof will always return 'false' - FileQuestion (com.sun.interview)
  • 81753cf: 7902666: (spotbugs) Infinite recursive loop in (com.sun.javatest.exec.TestTreeModel.invalidateNodeInfo(TestResultTable$TreeNode))
  • 940b5b1: 7902665: (spotbugs) Infinite recursive loop in com.sun.javatest.exec.ExecToolManager.showError(String, Object)
  • ... and 23 more: https://git.openjdk.java.net/jtharness/compare/368c807f6abf1998900586d2d055c7b48c637d7f...master

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid automatic rebasing, please merge master into your branch, and then specify the current head hash when integrating, like this: /integrate 1cdb6037ae0ea9aa38c559859ef84529172281ac.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot added ready Pull request is ready to be integrated rfr Pull request is ready for review labels Apr 29, 2020
@dbessono dbessono self-assigned this Apr 29, 2020
@mlbridge
Copy link

mlbridge bot commented Apr 29, 2020

Webrevs

@dbessono
Copy link
Collaborator Author

Most complex changes are in ET_FilterHandler.java

@dbessono
Copy link
Collaborator Author

After some conversations it is considered that a safer, less disturbing, more balanced, and actually simpler-to-implement approach might be - just to allow TestSuite to return a composite test filter that would be decomposed on the JTH side into several first class test filters.

@dbessono dbessono closed this May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready Pull request is ready to be integrated rfr Pull request is ready for review
Development

Successfully merging this pull request may close these issues.

None yet

1 participant