मॉड्यूलस्प्लिटर
public class ModuleSplitter
extends Object
java.lang.ऑब्जेक्ट | |
मैं | com.android.tradefed.testtype.suite.ModuleSplitter |
हेल्पर के प्रतिनिधित्व वाले मॉड्यूल की एक सूची विभाजित करने के लिए IConfiguration
द्वारा प्रतिनिधित्व निष्पादन इकाइयों की एक सूची में ModuleDefinition
।
प्रत्येक विन्यास 1 या अधिक उत्पन्न हो सकता है ModuleDefinition
इसके विकल्प और परीक्षण प्रकार के आधार पर:
- एक गैर shardable
IConfiguration
एक भी उत्पन्न होगाModuleDefinition
। - एक shardable
IConfiguration
उत्पन्न होगा ModuleDefinition के एक नंबर से जुड़ा हुआIRemoteTest
गुण:- एक गैर -
IShardableTest
एक भी ModuleDefinition उत्पन्न होगा। - एक
IShardableTest
द्वारा लौटाए गए परीक्षण प्रति एक ModuleDefinition उत्पन्नIShardableTest.split()
- एक गैर -
सारांश
सार्वजनिक निर्माणकर्ता | |
---|---|
ModuleSplitter () |
सार्वजनिक तरीके | |
---|---|
static | splitConfiguration (TestInformation testInfo, runConfig, suitePreparersPerDevice, int shardCount, boolean dynamicModule, boolean intraModuleSharding) splitConfiguration (TestInformation testInfo, runConfig, suitePreparersPerDevice, int shardCount, boolean dynamicModule, boolean intraModuleSharding) splitConfiguration (TestInformation testInfo, runConfig, suitePreparersPerDevice, int shardCount, boolean dynamicModule, boolean intraModuleSharding) निष्पादन इकाई की एक सूची बना |
सार्वजनिक निर्माणकर्ता
मॉड्यूलस्प्लिटर
public ModuleSplitter ()
सार्वजनिक तरीके
विभाजन विन्यास
public staticsplitConfiguration (TestInformation testInfo, runConfig, suitePreparersPerDevice, int shardCount, boolean dynamicModule, boolean intraModuleSharding)
निष्पादन इकाई की एक सूची बना ModuleDefinition
विन्यास के नक्शे कि लोड किया गया था पर आधारित है।
मापदंडों | |
---|---|
testInfo | TestInformation : वर्तमान TestInformation sharding के साथ आगे बढ़ना। |
runConfig | ERROR(/LinkedHashMap) से लोड ITestSuite#loadTests() । |
suitePreparersPerDevice | |
shardCount | int : sharding के साथ मदद करने के लिए एक ठीकरा गिनती संकेत। |
dynamicModule | boolean : या नहीं, मॉड्यूल पूल में साझा किया जा सकता या स्वतंत्र (सख्त sharding) होना चाहिए। |
intraModuleSharding | boolean : चाहे या मॉड्यूल के भीतर ठीकरा के लिए नहीं। |
रिटर्न | |
---|---|
की सूची ModuleDefinition |