|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.ObjectRobotTestHelper
jp.ne.mki.wedge.pub.vfunit.helper.DefaultRobotTestHelper
public class DefaultRobotTestHelper
デフォルト実装のRobotHelper。
コンストラクタの概要 | |
---|---|
DefaultRobotTestHelper()
コンストラクタ |
メソッドの概要 | |
---|---|
void |
clearTextComp(JFCTestCase testCase,
javax.swing.text.JTextComponent comp)
TextComponentの内容をクリアする。 |
void |
closeWindow(JFCTestCase testCase,
java.awt.Window window)
Mouseイベント 画面の × ボタンをクリックして画面を閉じる このメソッドを使うと WindowMonitor.getWindows() の 参照から 外れてしまう場合がある。 |
void |
enterClickAndLeave(AbstractMouseEventData evtData)
enterClickAndLeave junit.extensions.jfcunit.TestHelper を上書き。 |
void |
enterClickAndLeave(JFCTestCase testCase,
java.awt.Component comp,
int numberOfClicks)
Mouseイベント 汎用 MouseEventData を使用する |
void |
enterClickAndLeave(JFCTestCase testCase,
javax.swing.JComboBox comp,
int elementIndex,
int numberOfClicks)
Mouseイベント JComboBox用 JComboBoxMouseEventData を使用する |
void |
enterClickAndLeave(JFCTestCase testCase,
javax.swing.JList comp,
int elementIndex,
int numberOfClicks)
Mouseイベント JList用 JListMouseEventData を使用する |
void |
enterClickAndLeave(JFCTestCase testCase,
javax.swing.JTabbedPane comp,
int elementIndex,
int numberOfClicks)
Mouseイベント JTabbedPane用 JTabbedPaneMouseEventData を使用する |
void |
enterClickAndLeave(JFCTestCase testCase,
javax.swing.JTable comp,
int rowIndex,
int columnIndex,
int numberOfClicks)
Mouseイベント JTable用 JTableMouseEventData を使用する |
void |
enterClickAndLeave(JFCTestCase testCase,
javax.swing.text.JTextComponent comp,
int numberOfClicks)
Mouseイベント JTextComponent用 JTextComponentMouseEventData を使用する |
void |
enterClickAndLeaveMouseEventOnly(JFCTestCase testCase,
java.awt.Window window,
int x,
int y)
Mouseイベント 指定のX,Y座標にて MousePressed,MouseReleasedのイベント発行のみ行う |
void |
enterClickCoordinates(JFCTestCase testCase,
java.awt.Window window,
java.awt.Component comp,
int compX,
int compY,
int clickCount)
Mouseのクリックを行う。 |
void |
enterDragForTableColumnMove(JFCTestCase testCase,
javax.swing.JTable table,
int columnIndex,
int toIndex)
テーブル列をドラッグして移動する |
void |
enterDragForTableColumnSizecChange(JFCTestCase testCase,
javax.swing.JTable table,
int columnIndex,
int inclementSize,
boolean cursorCheck)
テーブルカラムサイズ変更 |
void |
pressCtrlShiftTab(JFCTestCase testCase)
SHIFT+TABにて遷移用。 |
void |
pressCtrlTab(JFCTestCase testCase)
CTRL+TAB をSEND (TABにて遷移用) |
void |
pressKey(JFCTestCase testCase,
java.awt.Component comp,
int keyCode)
Key入力 (JFCUnitフレームワークを使用) フォーカス移動あり |
void |
pressKey(JFCTestCase testCase,
java.awt.Component comp,
int keyCode,
int modifiers)
Modifiers付きKey入力 (JFCUnitフレームワークを使用) フォーカス移動あり |
void |
pressKeyNofocus(JFCTestCase testCase,
int keyCode)
Key入力 JFCUnit標準でなくRobotにて単純にKeyPress. |
void |
pressKeyNofocus(JFCTestCase testCase,
int keyCode,
int modifiers)
Key入力 JFCUnit標準でなくRobotにて単純にKeyPress. |
void |
pressMemonicKey(JFCTestCase testCase,
int keyId)
MemonicKey用に InputEvent.ALT_MASK をmodifiersに設定 |
void |
pressShiftTab(JFCTestCase testCase)
SHIFT+TABにて遷移用。 |
void |
pressTab(JFCTestCase testCase)
TAB をSEND (TABにて遷移用) |
void |
sendString(JFCTestCase testCase,
java.awt.Component comp,
java.lang.String value)
文字入力 (JFCUnitフレームワークを使用) 日本語はひらがな、カタカナのみ可。 |
void |
setString(JFCTestCase testCase,
javax.swing.text.JTextComponent comp,
java.lang.String value)
文字入力 (コンポーネントへSetTextする拡張版) 引数の文字をそのまま設定。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public DefaultRobotTestHelper() throws java.awt.AWTException
java.awt.AWTException
メソッドの詳細 |
---|
public void sendString(JFCTestCase testCase, java.awt.Component comp, java.lang.String value) throws java.lang.Exception
ITestHelper
内の sendString
JFCTestCase
- テストケースComponent
- 対象のコンポーネントString
- 入力値
java.lang.Exception
public void setString(JFCTestCase testCase, javax.swing.text.JTextComponent comp, java.lang.String value) throws java.lang.Exception
ITestHelper
内の setString
JFCTestCase
- テストケースComponent
- 対象のコンポーネントString
- 入力値
java.lang.Exception
public void pressKey(JFCTestCase testCase, java.awt.Component comp, int keyCode) throws java.lang.Exception
ITestHelper
内の pressKey
JFCTestCase
- テストケースComponent
- 対象のコンポーネントint
- keyCode
java.lang.Exception
public void pressKey(JFCTestCase testCase, java.awt.Component comp, int keyCode, int modifiers) throws java.lang.Exception
ITestHelper
内の pressKey
JFCTestCase
- テストケースComponent
- 対象のコンポーネントint
- keyCodeint
- modifiers
java.lang.Exception
public void pressKeyNofocus(JFCTestCase testCase, int keyCode) throws java.lang.Exception
ITestHelper
内の pressKeyNofocus
JFCTestCase
- テストケースint
- keyCode
java.lang.Exception
public void pressKeyNofocus(JFCTestCase testCase, int keyCode, int modifiers) throws java.lang.Exception
ITestHelper
内の pressKeyNofocus
JFCTestCase
- テストケースint
- keyCode
java.lang.Exception
public void pressCtrlTab(JFCTestCase testCase) throws java.lang.Exception
ITestHelper
内の pressCtrlTab
JFCTestCase
- テストケース
java.lang.Exception
public void pressTab(JFCTestCase testCase) throws java.lang.Exception
ITestHelper
内の pressTab
JFCTestCase
- テストケース
java.lang.Exception
public void pressCtrlShiftTab(JFCTestCase testCase) throws java.lang.Exception
ITestHelper
内の pressCtrlShiftTab
JFCTestCase
- テストケースComponent
- 対象のコンポーネント
java.lang.Exception
public void pressShiftTab(JFCTestCase testCase) throws java.lang.Exception
ITestHelper
内の pressShiftTab
JFCTestCase
- テストケース
java.lang.Exception
public void clearTextComp(JFCTestCase testCase, javax.swing.text.JTextComponent comp) throws java.lang.Exception
ITestHelper
内の clearTextComp
JFCTestCase
- テストケースComponent
- 対象のコンポーネント
java.lang.Exception
public void pressMemonicKey(JFCTestCase testCase, int keyId) throws java.lang.Exception
ITestHelper
内の pressMemonicKey
JFCTestCase
- テストケースint
- KEYのID
java.lang.Exception
public void enterClickAndLeave(JFCTestCase testCase, java.awt.Component comp, int numberOfClicks) throws java.lang.Exception
ITestHelper
内の enterClickAndLeave
JFCTestCase
- テストケースJComponent
- 対象のコンポーネントint
- クリック回数
java.lang.Exception
public void enterClickAndLeave(JFCTestCase testCase, javax.swing.JComboBox comp, int elementIndex, int numberOfClicks) throws java.lang.Exception
ITestHelper
内の enterClickAndLeave
JFCTestCase
- テストケースJComboBox
- 対象のコンポーネントint
- elementIndexint
- クリック回数
java.lang.Exception
public void enterClickAndLeave(JFCTestCase testCase, javax.swing.JList comp, int elementIndex, int numberOfClicks) throws java.lang.Exception
ITestHelper
内の enterClickAndLeave
JFCTestCase
- テストケースJList
- 対象のコンポーネントint
- elementIndexint
- クリック回数
java.lang.Exception
public void enterClickAndLeave(JFCTestCase testCase, javax.swing.JTabbedPane comp, int elementIndex, int numberOfClicks) throws java.lang.Exception
ITestHelper
内の enterClickAndLeave
JFCTestCase
- テストケースJTabbedPane
- 対象のコンポーネントint
- elementIndexint
- クリック回数
java.lang.Exception
public void enterClickAndLeave(JFCTestCase testCase, javax.swing.JTable comp, int rowIndex, int columnIndex, int numberOfClicks) throws java.lang.Exception
ITestHelper
内の enterClickAndLeave
JFCTestCase
- テストケースJTable
- 対象のコンポーネントint
- elementIndexint
- クリック回数
java.lang.Exception
public void enterClickAndLeave(JFCTestCase testCase, javax.swing.text.JTextComponent comp, int numberOfClicks) throws java.lang.Exception
ITestHelper
内の enterClickAndLeave
JFCTestCase
- テストケースJTextComponent
- 対象のコンポーネントint
- elementIndexint
- クリック回数
java.lang.Exception
public void enterClickAndLeaveMouseEventOnly(JFCTestCase testCase, java.awt.Window window, int x, int y) throws java.lang.Exception
ITestHelper
内の enterClickAndLeaveMouseEventOnly
testCase
- window
- x
- 画面内の絶対座標Xy
- 画面内の絶対座標Y
java.lang.Exception
public void enterClickCoordinates(JFCTestCase testCase, java.awt.Window window, java.awt.Component comp, int compX, int compY, int clickCount) throws java.lang.Exception
ITestHelper
内の enterClickCoordinates
testCase
- テストケースwindow
- コンポーネントが配置されている画面comp
- 対象コンポーネントcompX
- 指定コンポーネント内絶対座標XcompY
- 指定コンポーネント内絶対座標YclickCount
- クリック回数
java.lang.Exception
public void enterDragForTableColumnMove(JFCTestCase testCase, javax.swing.JTable table, int columnIndex, int toIndex) throws java.lang.Exception
ITestHelper
内の enterDragForTableColumnMove
table
- columnIndex
- toIndex
-
java.lang.Exception
public void enterDragForTableColumnSizecChange(JFCTestCase testCase, javax.swing.JTable table, int columnIndex, int inclementSize, boolean cursorCheck) throws java.lang.Exception
ITestHelper
内の enterDragForTableColumnSizecChange
testCase
- table
- columnIndex
- toIndex
-
java.lang.Exception
public void closeWindow(JFCTestCase testCase, java.awt.Window window) throws java.lang.Exception
ITestHelper
内の closeWindow
JFCTestCase
- テストケースWindow
- 対象のウィンドウ
java.lang.Exception
public void enterClickAndLeave(AbstractMouseEventData evtData)
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |