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

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

public class AssertCaretColor
extends AbstractProcess

指定コンポーネントのCaret色のチェックを行います。
期待値は "white" , "black" のような 文字指定 もしくは 16進数 で指定して下さい。

属性の指定

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

XML記述サンプル

<assert-caret-color comp="MyComp" expected="black" />
<assert-caret-color comp="MyComp" expected="000000" />

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

フィールドの概要
 
クラス 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
 
コンストラクタの概要
AssertCaretColor()
           
 
メソッドの概要
 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, getFramePhysicalName, getInnerTextComponent, getProcessWindow, getProcessWindow, getStatus, getTestCase, getThrown, getTime, getVfFinder, getXmlNode, setParentTestCase, setStatus, setThrown, setTime, setXmlNode
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

AssertCaretColor

public AssertCaretColor()
メソッドの詳細

processElement

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

例外:
java.lang.Exception

getProcessString

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

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