Add support for different SdkListItem on BasicJComboBoxCellReader

IntelliJ supports different types of items as part of JComboBox,
described on SdkListItem. We recently started to use SdkReferenceItem
allowing us to don't create a linked jdk.table entry, something
fundamental in the case of macros like #JAVA_HOME. This allowed us to
move away from the hardcoded jdk naming we had for the same purpose.

This change allows us in those cases to be able to return properly
the value of the cell, instead of avoiding processing SdkListItem
as text, and unable to return its value.

Bug: 263797479
Test: StudioDefaultJDKTest and existing
Change-Id: I39e3da009eafb424c3afb1b659bb1dc7d75de62b
1 file changed
tree: 625f6e0031d197fcad2e22f0593f0fadf72f6716
  1. fest-swing/
  2. fest-swing-junit/
  3. fest-swing-junit-4.3.1/
  4. fest-swing-junit-4.5/
  5. fest-swing-testng/

This project provides a simple and intuitive API for functional testing of Swing user interfaces, resulting in tests that are compact, easy to write, and read like a specification. Tests written using FEST-Swing are also robust. FEST simulates actual user gestures at the operating system level, ensuring that the application will behave correctly in front of the user. It also provides a reliable mechanism for GUI component lookup that ensures that changes in the GUI's layout or look-and-feel will not break your tests.

For more details please visit FEST's home page.