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)

split() का वैकल्पिक वर्शन. यह shardCount भी दिखाता है जिसे चलाने की कोशिश की गई है.

फ़ील्ड्स की फ़िल्में

mExecutedTestNames

protected  mExecutedTestNames

mRunnerDir

protected File mRunnerDir

mShardCount

protected int mShardCount

mShardIndex

protected int mShardIndex

mTestInfo

protected TestInformation mTestInfo

mTests

protected  mTests

पब्लिक कंस्ट्रक्टर

ArtTest

public ArtTest ()

सार्वजनिक तरीके

रन

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

यह कुकी, जांच करती है और लिसनर को नतीजे की जानकारी देती है.

पैरामीटर
testInfo TestInformation: यह TestInformation ऑब्जेक्ट है. इसमें टेस्ट चलाने के लिए काम की जानकारी होती है.

listener ITestInvocationListener: जांच के नतीजों का ITestInvocationListener

थ्रो
DeviceNotAvailableException

बांटें

public  split (int shardCount)

split() का वैकल्पिक वर्शन. यह shardCount भी दिखाता है जिसे चलाने की कोशिश की गई है. यह उन टेस्ट रनर के लिए काम का है जो कभी-कभी मनमुताबिक फ़ैसले नहीं ले पाते.

पैरामीटर
shardCount int: शार्ड की संख्या.

रिटर्न
सबटेस्ट का कलेक्शन, जिसे अलग-अलग तरीके से एक्ज़ीक्यूट किया जाना है या null अगर टेस्ट को फ़िलहाल शेयर नहीं किया जा सकता है