assertj / assertj/assertj-swing

Allow querying for TabComponents from a JTabbedPaneFixture

オープン
#96 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

import from fest-swing Major New Feature
主要言語
Java
スター
121
フォーク
52
PR マージ指標
30日以内にマージされた PR はありません

説明

Issue by Radai Rosenblatt from Sat, 5 May 2012 15:56:44 -0500
Originally opened as http://jira.codehaus.org/browse/FEST-483


java allows for custom tab components since 1.6 - this is good for nifty things like small close buttons on tabs (firefox style) etc.
trouble is testing these things is problematic with FEST-swing since although a JTabbedPaneFixture would allow me to get to the tab content (selectedComponent()) there's no easy way to get the tab component from the fixture.
i'd love to be able to do that (a simple selectedTabComponent() would suffice though being able to get the tab components for tabs that are not selected would be better)


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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

JTabbedPaneFixture から開始し、既存の selectedComponent() エントリポイントを調べます。FEST-Swing が JTabbedPane の内容をどのように公開しているかを追跡し、そのうえで、要求されている selectedTabComponent() の動作を含め、カスタムタブコンポーネントを問い合わせるために必要なカバレッジを判断します。呼び出し側がタブに関連付けられたカスタムコンポーネントにアクセスできれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
desktop
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。