PushFilePreparer
public class PushFilePreparer
extends BaseTargetPreparer
implements IAbiReceiver , IInvocationContextReceiver , IDiscoverDependencies
임의의 호스트 경로에서 임의의 장치 경로로 많은 수의 파일을 푸시하려고 시도하는 ITargetPreparer
입니다.
새 빌드가 플래시되고 DeviceSetup이 실행된 *후*에 수행해야 합니다(활성화된 경우).
요약
공개 생성자
PushFilePreparer
public PushFilePreparer ()
공개 방법
getAbi
public IAbi getAbi ()
getPushSpecs
public final getPushSpecs (ITestDevice device)
푸시할 파일 목록을 만듭니다.
isCleanUpEnabled
public boolean isCleanUpEnabled ()
보고서 종속성
public reportDependencies ()
resolveRelativeFilePath
public File resolveRelativeFilePath (IBuildInfo buildInfo,
String fileName)
IBuildInfo
및 테스트 사례 디렉터리를 통해 상대 파일 경로를 확인합니다.
매개변수 |
---|
buildInfo | IBuildInfo : 빌드 아티팩트 정보 |
fileName | String : 확인할 상대 파일 경로 |
보고 |
---|
File | 빌드 정보 또는 테스트 케이스 디렉토리의 파일 |
setAbi
public void setAbi (IAbi abi)
setInvocationContext
public void setInvocationContext (IInvocationContext invocationContext)
매개변수 |
---|
invocationContext | IInvocationContext |
shouldAbortOnFailure
public boolean shouldAbortOnFailure ()
푸시 실패 시 중단할지 여부입니다.
shouldRemountSystem
public boolean shouldRemountSystem ()
shouldRemountVendor
public boolean shouldRemountVendor ()
public void tearDown (TestInformation testInfo,
Throwable e)
매개변수 |
---|
testInfo | TestInformation |
e | Throwable |