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

Constructors ציבוריים

ArtTest()

‫methods ציבוריים

void run(TestInformation testInfo, ITestInvocationListener listener)

מריץ את הבדיקות ומדווח על התוצאה למאזין.

split(int shardCount)

גרסה חלופית של split() שמספקת גם את shardCount שהניסיון להפעיל אותו מתבצע.

שדות

mExecutedTestNames

protected  mExecutedTestNames

mRunnerDir

protected File mRunnerDir

mShardCount

protected int mShardCount

mShardIndex

protected int mShardIndex

mTestInfo

protected TestInformation mTestInfo

mTests

protected  mTests

Constructors ציבוריים

ArtTest

public ArtTest ()

‫methods ציבוריים

ראן

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

מריץ את הבדיקות ומדווח על התוצאה למאזין.

פרמטרים
testInfo TestInformation: אובייקט TestInformation שמכיל מידע שימושי להרצת בדיקות.

listener ITestInvocationListener: ITestInvocationListener תוצאות הבדיקה

זריקות
DeviceNotAvailableException

פיצול

public  split (int shardCount)

גרסה חלופית של split() שמספקת גם את shardCount שהניסיון להפעיל אותו מתבצע. האפשרות הזו שימושית לחלק מהכלים להרצת בדיקות שלא יכולים להחליט באופן שרירותי לפעמים.

פרמטרים
shardCount int: מספר הרסיסים שהמערכת ניסתה ליצור.

החזרות
אוסף של בדיקות משנה שצריך להריץ בנפרד או null אם אי אפשר לפצל את הבדיקה כרגע