TestInfo
public
class
TestInfo
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.util.testmapping.TestInfo |
テスト情報セットを TEST_MAPPING ファイルに保存します。
概要
パブリック コンストラクタ | |
|---|---|
TestInfo(String name, String source, boolean hostOnly)
|
|
TestInfo(String name, String source, boolean hostOnly,
|
|
パブリック メソッド | |
|---|---|
void
|
addImportPaths(
|
void
|
addOption(TestOption option)
|
void
|
addSources(
|
boolean
|
equals(Object o)
|
boolean
|
getHostOnly()
|
|
getImportPaths()
|
|
getKeywords(
テストでサポートされているキーワードの |
|
getKeywords()
テストでサポートされているキーワードの |
String
|
getName()
|
String
|
getNameAndHostOnly()
テスト名とそのホスト設定を表す |
String
|
getNameOption()
テスト名とそのオプションを表す |
|
getOptions()
|
|
getSources()
|
int
|
hashCode()
|
void
|
merge(TestInfo test)
別のテストと統合します。 |
String
|
toString()
|
パブリック コンストラクタ
TestInfo
public TestInfo (String name,
String source,
boolean hostOnly)| パラメータ | |
|---|---|
name |
String |
source |
String |
hostOnly |
boolean |
TestInfo
public TestInfo (String name,
String source,
boolean hostOnly,
keywords) | パラメータ | |
|---|---|
name |
String |
source |
String |
hostOnly |
boolean |
keywords |
|
パブリック メソッド
addImportPaths
public void addImportPaths (paths)
| パラメータ | |
|---|---|
paths |
|
addSources
public void addSources (sources)
| パラメータ | |
|---|---|
sources |
|
equals
public boolean equals (Object o)
| パラメータ | |
|---|---|
o |
Object |
| 戻り値 | |
|---|---|
boolean |
|
getHostOnly
public boolean getHostOnly ()
| 戻り値 | |
|---|---|
boolean |
|
getImportPaths
publicgetImportPaths ()
| 戻り値 | |
|---|---|
|
|
getKeywords
publicgetKeywords ( ignoreKeywords)
テストでサポートされているキーワードの ERROR(/Set) を取得します。
| パラメータ | |
|---|---|
ignoreKeywords |
: 無視するキーワードの String のセット。 |
| 戻り値 | |
|---|---|
|
|
getName
public String getName ()
| 戻り値 | |
|---|---|
String |
|
getNameAndHostOnly
public String getNameAndHostOnly ()
テスト名とそのホスト設定を表す String を取得します。これにより、デバイスの要件に応じて TestInfo を名前別にグループ化できます。
| 戻り値 | |
|---|---|
String |
|
getOptions
publicgetOptions ()
| 戻り値 | |
|---|---|
|
|
getSources
publicgetSources ()
| 戻り値 | |
|---|---|
|
|
hashCode
public int hashCode ()
| 戻り値 | |
|---|---|
int |
|
外部データを統合して表示
public void merge (TestInfo test)
別のテストと統合します。
テストのオプションを更新して、両方のテストを可能な限りカバーするようにします。
TODO(b/113616538): より堅牢なオプションの統合メカニズムを実装する。
| パラメータ | |
|---|---|
test |
TestInfo: マージする TestInfo オブジェクト。 |
toString
public String toString ()
| 戻り値 | |
|---|---|
String |
|