|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.ObjectJFCTestCase
jp.ne.mki.wedge.pub.vfunit.test.testcase.VfUnitTestCase
public class VfUnitTestCase
VisualFrame用 TestCase抽象クラス コンポーネントの取得などを、物理名より取得します。 getTestHelper() の 各メソッドを使用してください。
コンストラクタの概要 | |
---|---|
VfUnitTestCase(java.lang.String name)
コンストラクタ |
メソッドの概要 | |
---|---|
void |
addSetUpAction(IVfUnitTestAction action)
テスト開始前に実行するActionを追加 JUnit3でいう startUp() |
void |
addTearDownAction(IVfUnitTestAction action)
テスト終了後に実行するActionを追加 JUnit3でいう tearDown() |
void |
checkOptionPaneDialog(JFCTestCase testCase,
javax.swing.JDialog dialog,
java.lang.String windowTitle,
java.lang.String[] buttonMessage,
java.lang.String labelMessage)
JOptionPaneダイアログの内容をチェックします。 |
void |
closeDialog(JFCTestCase testCase,
javax.swing.JDialog dialog,
int buttonIndex)
指定のDialogを 指定ボタンIndexを押す事で 閉じる |
java.lang.String |
getFrameName()
テスト対象の画面名称を取得 |
java.util.List<IVfUnitTestAction> |
getSetUpActions()
テスト開始前に実行するActionを取得 |
java.util.List<IVfUnitTestAction> |
getTearDownActions()
テスト終了後に実行するActionを取得 |
IComponentFinder |
getVfFinder()
コンポーネントFinder取得 |
ITestHelper |
getVfHelper()
Helperを取得 |
org.w3c.dom.Node |
getXmlNode()
XMLで定義されているNodeを取得 |
void |
instanceChildTest(org.w3c.dom.Node node)
子テストのインスタンス |
void |
setFrameName(java.lang.String frameName)
テスト対象の画面名称を設定 |
protected void |
setUp()
|
void |
setVfFinder(IComponentFinder finder)
コンポーネントFiner設定 |
void |
setVfHelper(ITestHelper helper)
Helperを設定 |
void |
setXmlNode(org.w3c.dom.Node node)
XMLで定義されているNodeを設定 |
protected void |
tearDown()
|
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public VfUnitTestCase(java.lang.String name)
メソッドの詳細 |
---|
public ITestHelper getVfHelper()
IVfUnitTestCase
内の getVfHelper
public void setVfHelper(ITestHelper helper)
IVfUnitTestCase
内の setVfHelper
helper
- public IComponentFinder getVfFinder()
IVfUnitTestCase
内の getVfFinder
public void setVfFinder(IComponentFinder finder)
IVfUnitTestCase
内の setVfFinder
finder
- public void addSetUpAction(IVfUnitTestAction action)
IVfUnitTest
内の addSetUpAction
action
- public void addTearDownAction(IVfUnitTestAction action)
IVfUnitTest
内の addTearDownAction
action
- public java.util.List<IVfUnitTestAction> getSetUpActions()
IVfUnitTest
内の getSetUpActions
public java.util.List<IVfUnitTestAction> getTearDownActions()
IVfUnitTest
内の getTearDownActions
protected void setUp() throws java.lang.Exception
java.lang.Exception
protected void tearDown() throws java.lang.Exception
java.lang.Exception
public void instanceChildTest(org.w3c.dom.Node node)
IVfUnitTest
内の instanceChildTest
node
- public void setXmlNode(org.w3c.dom.Node node)
node
- public org.w3c.dom.Node getXmlNode()
IVfUnitTest
内の getXmlNode
public void setFrameName(java.lang.String frameName)
IVfUnitTest
内の setFrameName
frameName
- public java.lang.String getFrameName()
IVfUnitTest
内の getFrameName
public void closeDialog(JFCTestCase testCase, javax.swing.JDialog dialog, int buttonIndex) throws java.lang.Exception
testCase
- dialog
- buttonIndex
-
java.lang.Exception
public void checkOptionPaneDialog(JFCTestCase testCase, javax.swing.JDialog dialog, java.lang.String windowTitle, java.lang.String[] buttonMessage, java.lang.String labelMessage) throws java.lang.Exception
testCase
- owner
- windowTitle
- buttonMessage
- labelMessage
-
java.lang.Exception
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |