コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
RunCommandTargetPreparer
public class RunCommandTargetPreparer
extends BaseTargetPreparer
まとめ
パブリックメソッド |
---|
final void | addRunCommand (String cmd) プリペアラーによって実行されるコマンドを追加します。 |
void | setUp (TestInformation testInfo) |
void | tearDown (TestInformation testInfo, Throwable e) |
保護されたメソッド |
---|
ITestDevice | getDevice (TestInformation testInfo) プリペアラーを適用するデバイスを返します。 |
パブリックコンストラクター
RunCommandTargetPreparer
public RunCommandTargetPreparer ()
パブリックメソッド
addRunコマンド
public final void addRunCommand (String cmd)
プリペアラーによって実行されるコマンドを追加します。
public void setUp (TestInformation testInfo)
パラメーター |
---|
testInfo | TestInformation |
投げる |
---|
DeviceNotAvailableException | |
TargetSetupError | |
public void tearDown (TestInformation testInfo,
Throwable e)
パラメーター |
---|
testInfo | TestInformation |
e | Throwable |
投げる |
---|
DeviceNotAvailableException | |
保護されたメソッド
protected ITestDevice getDevice (TestInformation testInfo)
プリペアラーを適用するデバイスを返します。
戻り値 |
---|
ITestDevice | プレパレーターを塗布するデバイス。 |
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2023-12-01 UTC。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"必要な情報がない"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"複雑すぎる / 手順が多すぎる"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"最新ではない"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"サンプル / コードに問題がある"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]