पुशफाइल तैयार करने वाला
public class PushFilePreparer
extends BaseTargetPreparer
implements IAbiReceiver , IInvocationContextReceiver , IDiscoverDependencies
एक ITargetPreparer
जो किसी भी होस्ट पथ से किसी भी डिवाइस पथ पर किसी भी संख्या में फ़ाइलों को पुश करने का प्रयास करता है।
एक नया बिल्ड फ्लैश होने के बाद * के बाद किया जाना चाहिए, और डिवाइससेटअप चलाने के बाद * के बाद (यदि सक्षम है)
सारांश
सार्वजनिक निर्माणकर्ता
पुशफाइल तैयार करने वाला
public PushFilePreparer ()
सार्वजनिक तरीके
getAbi
public IAbi getAbi ()
getPushSpecs
public final getPushSpecs (DeviceDescriptor descriptor)
पुश की जाने वाली फाइलों की सूची बनाएं।
मापदंडों |
---|
descriptor | DeviceDescriptor |
रिपोर्ट निर्भरता
public reportDependencies ()
रिज़ॉल्व रिलेटिवफाइलपाथ
public File resolveRelativeFilePath (IBuildInfo buildInfo,
String fileName)
IBuildInfo
और परीक्षण केस निर्देशिकाओं के माध्यम से सापेक्ष फ़ाइल पथ को हल करें।
मापदंडों |
---|
buildInfo | IBuildInfo : बिल्ड आर्टिफैक्ट जानकारी |
fileName | String : सापेक्ष फ़ाइल पथ को हल किया जाना है |
रिटर्न |
---|
File | बिल्ड जानकारी या परीक्षण मामलों की निर्देशिका से फ़ाइल |
सेटअबी
public void setAbi (IAbi abi)
सेटइनवोकेशनकॉन्टेक्स्ट
public void setInvocationContext (IInvocationContext invocationContext)
मापदंडों |
---|
invocationContext | IInvocationContext |
public void setUp (TestInformation testInfo)
मापदंडों |
---|
testInfo | TestInformation |
shouldAbortOnFailure
public boolean shouldAbortOnFailure ()
पुश विफलता पर निरस्त करना है या नहीं।
public void tearDown (TestInformation testInfo,
Throwable e)
मापदंडों |
---|
testInfo | TestInformation |
e | Throwable |