2025 年 3 月 27 日より、AOSP のビルドとコントリビューションには aosp-main
ではなく android-latest-release
を使用することをおすすめします。詳細については、AOSP の変更をご覧ください。
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
LongevityHostRunner
public
class
LongevityHostRunner
extends Runner
implements
IAbiReceiver,
ITestInformationReceiver,
ISetOptionReceiver
java.lang.Object
|
↳ |
org.junit.runner.Runner
|
|
↳ |
com.android.tradefed.testtype.junit4.LongevityHostRunner
|
DeviceJUnit4ClassRunner
で実行されるテストを LongevitySuite
にコンポーズする JUnit4 ベースの Runner
。テストを繰り返し実行して、ストレスとランダム性を誘発します。テストでは、@RunWith アノテーション内で、含める SuiteClasses
のリストを指定する必要があります。
概要
パブリック コンストラクタ
LongevityHostRunner
public LongevityHostRunner (Class<?> klass)
パブリック メソッド
getAbi
public IAbi getAbi ()
getDescription
public Description getDescription ()
ホームラン
public void run (RunNotifier notifier)
パラメータ |
notifier |
RunNotifier |
setAbi
public void setAbi (IAbi abi)
public void setTestInformation (TestInformation testInformation)
パラメータ |
testInformation |
TestInformation |
testCount
public int testCount ()
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-03-26 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-03-26 UTC。"],[],[]]