PythonBinaryHostTest

public class PythonBinaryHostTest
extends Object implements IRemoteTest , ITestFilterReceiver

java.lang.Object
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

clearExcludeFilters

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