以下の Java™ サンプルは、TestObject のアイコンをスライダー・アイコンに変更します。
import com.rational.test.ft.domain.*;
public class someProxy extends baseProxy
{
.
.
public String getRole()
{
return TestObjectRole.ROLE_SLIDER;
}
}
以下の .Net サンプルは、TestObject のアイコンをスライダー・アイコンに変更します。
using Rational.Test.Ft.Domain;
public class AnyProxy:BaseProxy
{
.
.
public override string GetRole()
{
return TestObjectRole.ROLE_SLIDER;
}
}