ArtTest
public
class
ArtTest
extends Object
implements
IRemoteTest,
IShardableTest
| java.lang.Object | |
| ↳ | com.android.tradefed.testtype.ArtTest |
ملخّص
الحقول | |
|---|---|
protected
|
mExecutedTestNames
|
protected
File |
mRunnerDir
|
protected
int |
mShardCount
|
protected
int |
mShardIndex
|
protected
TestInformation |
mTestInfo
|
protected
|
mTests
|
الإنشاءات العامة | |
|---|---|
ArtTest()
|
|
الطُرق العامة | |
|---|---|
void
|
run(TestInformation testInfo, ITestInvocationListener listener)
يُجري الاختبارات ويُبلغ المستمع بالنتيجة. |
|
split(int shardCount)
نسخة بديلة من |
الحقول
mExecutedTestNames
protectedmExecutedTestNames
mRunnerDir
protected File mRunnerDir
mShardCount
protected int mShardCount
mShardIndex
protected int mShardIndex
mTests
protectedmTests
الإنشاءات العامة
ArtTest
public ArtTest ()
الطُرق العامة
ضربة طويلة
public void run (TestInformation testInfo, ITestInvocationListener listener)
يُجري الاختبارات ويُبلغ المستمع بالنتيجة.
| المعلمات | |
|---|---|
testInfo |
TestInformation: عنصر TestInformation يحتوي على معلومات مفيدة لتنفيذ الاختبارات. |
listener |
ITestInvocationListener: ITestInvocationListener نتائج الاختبار |
| الرميات | |
|---|---|
DeviceNotAvailableException |
|
تقسيم
publicsplit (int shardCount)
نسخة بديلة من split() توفّر أيضًا shardCount الذي تتم محاولة تنفيذه. ويكون ذلك مفيدًا لبعض أدوات تشغيل الاختبار التي لا يمكنها اتخاذ قرار بشكل عشوائي في بعض الأحيان.
| المعلمات | |
|---|---|
shardCount |
int: عدد الأجزاء التي تمت محاولة إنشائها |
| المرتجعات | |
|---|---|
|
مجموعة من الاختبارات الفرعية التي سيتم تنفيذها بشكل منفصل أو null إذا كان الاختبار غير قابل للتجزئة حاليًا |