This is a minor test cleanup fix.
Note : All tests in `ControlTooltipTest` were disabled/ignored since beginning.

Fix :
The test cases used to make an incorrect assumption that adding a `Tooltip` to 
a `Control` adds it to `Control`'s children list. The old test cases are 
discarded and new unit tests are added to test setting a `Tooltip` on a 
`Control`.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - Fix - ControlTooltipTest

Changes: https://git.openjdk.org/jfx/pull/2304/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2304&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8391968
  Stats: 66 lines in 1 file changed: 18 ins; 28 del; 20 mod
  Patch: https://git.openjdk.org/jfx/pull/2304.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/2304/head:pull/2304

PR: https://git.openjdk.org/jfx/pull/2304

Reply via email to