assertj / assertj/assertj-swing

Missing tooltip (and icons also) assertion on table cells

Open
#81 1 comment 0 reactions 0 assignees View on GitHub
import from fest-swing Improvement Major
Dominant language
Java
Stars
121
Forks
52
PR merge metrics
No merged PRs in 30d

Description

_Issue by **[Morten Breum Mikkelsen](http://jira.codehaus.org/secure/ViewProfile.jspa?name=mortenbreum)** from Tue, 28 Sep 2010 08:00:43 -0500_
_Originally opened as http://jira.codehaus.org/browse/FEST-398_

---

This could be an extension of FEST-152.

I now have the need to assert at least a tooltip on a table cell:


JTableFixture myTable = frame.table();

myTable.cell(row(0).column(0)).requireTooltip("I cannot assert tooltips");

Or the table should have an overloaded requireTooltip that takes row and column indices as arguments.

Also, I need, if possible at all, to be able to determine which icon has been added to the label that went into drawing the cell contents. Something like


JTableFixture myTable = frame.table();

myTable.cell(row(0).column(0)).requireIconPresent("filename-of-my-icon");

(or something similar)

Can this be done?

---

votes (original issue): 0
watches (original issue): 0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.