jp.ne.mki.wedge.pub.vfunit.tag.check
クラス AssertCompRefrectMethod

java.lang.Object
  上位を拡張 jp.ne.mki.wedge.pub.vfunit.tag.AbstractProcess
      上位を拡張 jp.ne.mki.wedge.pub.vfunit.tag.check.AssertCompRefrectMethod
すべての実装されたインタフェース:
IReportTestCase, IVfUnitAssert, IVfUnitProcess

public class AssertCompRefrectMethod
extends AbstractProcess
implements IVfUnitAssert

指定コンポーネントの指定メソッドを実行し、その結果をチェックします。
メソッドは引数なし のもののみ使用可能です。
実行結果の確認は、String文字列として行います。
null が帰ってくるメソッドを使用する場合には 期待値に "null" と記述してください。

属性の指定

属性名指定内容コメント
compコンポーネントの物理名必須項目
methodメソッドの名称必須項目
expectedメソッド実行結果 期待値必須項目
windowコンポーネントが存在する画面物理名省略時はframerunnerタグで指定された画面になります。

XML記述サンプル

<assert-comp-method comp="MyComp" method="hasFocus" expected="true" />
<assert-comp-method comp="MyComp" method="isEditable" expected="false" />

作成者:
kanbayashi
関連項目:
Component.getFont()

フィールドの概要
 
クラス jp.ne.mki.wedge.pub.vfunit.tag.AbstractProcess から継承されたフィールド
MESSAGE_NO_COMP, MESSAGE_NO_ITEM
 
インタフェース jp.ne.mki.wedge.pub.vfunit.tag.IVfUnitProcess から継承されたフィールド
BUTTON_INDEX, CLASS, CLICK_COUNT, COLUMN, COMP, EXPECTED, FROM, INDEX, KEY_CODE, KEY_NAME, LABEL, MODIFIERS, NAME, ROW, STATUS_ERROR, STATUS_FAILURE, STATUS_NO_EXEC, STATUS_SUCCESS, TIME, TITLE, TO, VALUE, WINDOW
 
コンストラクタの概要
AssertCompRefrectMethod()
           
 
メソッドの概要
 java.lang.String getProcessString()
          処理内容を文字列として取得
 void processElement(java.awt.Window window)
          処理実行
 
クラス jp.ne.mki.wedge.pub.vfunit.tag.AbstractProcess から継承されたメソッド
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format, getAttribute, getAttributeBoolean, getAttributeInt, getAttributeLong, getAttributeNN, getComponentProcessString, getInnerTextComponent, getParentTest, getProcessWindow, getProcessWindow, getStatus, getThrown, getTime, getVfFinder, getXmlNode, setParentTest, setStatus, setThrown, setTime, setXmlNode
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース jp.ne.mki.wedge.pub.vfunit.tag.IVfUnitProcess から継承されたメソッド
getParentTest, getStatus, getThrown, getTime, setParentTest, setStatus, setThrown, setTime, setXmlNode
 

コンストラクタの詳細

AssertCompRefrectMethod

public AssertCompRefrectMethod()
メソッドの詳細

processElement

public void processElement(java.awt.Window window)
                    throws java.lang.Exception
インタフェース IVfUnitProcess の記述:
処理実行

定義:
インタフェース IVfUnitProcess 内の processElement
例外:
java.lang.Exception

getProcessString

public java.lang.String getProcessString()
処理内容を文字列として取得

定義:
インタフェース IReportTestCase 内の getProcessString
オーバーライド:
クラス AbstractProcess 内の getProcessString
戻り値: