PythonBinaryHostTest

public class PythonBinaryHostTest
extends Object implements IRemoteTest , ITestFilterReceiver

java.lang.オブジェクト
com.android.tradefed.testtype.python.PythonBinaryHostTest


Android ビルド システムから Python バイナリ ファイルを実行することを目的としたホスト テスト (Soong)

テスト ランナーは、include-filter と exclude-filter をサポートしています。 exclude-filter は、実際のテストをスキップするのではなく、テスト結果を無視することによって機能することに注意してください。 exclude-filter で指定されたテストは引き続き実行されます。

まとめ

入れ子になったクラス

class PythonBinaryHostTest.PythonForwarder

実行名をバイナリ名で置き換える結果フォワーダー。

田畑

protected static final String ANDROID_SERIAL_VAR

protected static final String LD_LIBRARY_PATH

パブリックコンストラクター

PythonBinaryHostTest ()

パブリックメソッド

void addAllExcludeFilters ( filters) addAllExcludeFilters ( filters)

テストを除外するフィルターのERROR(/Set)を追加します。

void addAllIncludeFilters ( filters) addAllIncludeFilters ( filters)

テストを含めるフィルターのERROR(/Set)を追加します。

void addExcludeFilter (String filter)

除外するテストのフィルターを追加します。

void addIncludeFilter (String filter)

どのテストを含めるかのフィルターを追加します。

void clearExcludeFilters ()

現在追跡されているすべての除外フィルターを削除します。

void clearIncludeFilters ()

現在追跡されているすべての組み込みフィルターを削除します。

getExcludeFilters ()

除外フィルターの現在のERROR(/Set)を返します。

getIncludeFilters ()

インクルードフィルターの現在のERROR(/Set)を返します。

final void run ( TestInformation testInfo, ITestInvocationListener listener)

テストを実行し、結果をリスナーに報告します。

田畑

ANDROID_SERIAL_VAR

protected static final String ANDROID_SERIAL_VAR

LD_LIBRARY_PATH

protected static final String LD_LIBRARY_PATH

パブリックコンストラクター

PythonBinaryHostTest

public PythonBinaryHostTest ()

パブリックメソッド

addAllExcludeFilters

public void addAllExcludeFilters ( filters)

テストを除外するフィルターのERROR(/Set)を追加します。

パラメーター
filters

addAllIncludeFilters

public void addAllIncludeFilters ( filters)

テストを含めるフィルターのERROR(/Set)を追加します。

パラメーター
filters

addExcludeFilter

public void addExcludeFilter (String filter)

除外するテストのフィルターを追加します。

パラメーター
filter String

addIncludeFilter

public void addIncludeFilter (String filter)

どのテストを含めるかのフィルターを追加します。

パラメーター
filter String

クリア除外フィルター

public void clearExcludeFilters ()

現在追跡されているすべての除外フィルターを削除します。

ClearIncludeFilters

public void clearIncludeFilters ()

現在追跡されているすべての組み込みフィルターを削除します。

getExcludeFilters

public  getExcludeFilters ()

除外フィルターの現在のERROR(/Set)を返します。

戻り値

getIncludeFilters

public  getIncludeFilters ()

インクルードフィルターの現在のERROR(/Set)を返します。

戻り値

走る

public final void run (TestInformation testInfo, 
                ITestInvocationListener listener)

テストを実行し、結果をリスナーに報告します。

パラメーター
testInfo TestInformation : テストを実行するために役立つ情報を含むTestInformationオブジェクト。

listener ITestInvocationListener : テスト結果のITestInvocationListener

投げる
DeviceNotAvailableException