FolderSaver
public
final
class
FolderSaver
extends BaseTargetPreparer
implements
ITestLoggerReceiver
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.FolderSaver |
A ITargetPreparer
that pulls directories off device, compresses and saves it into logging
backend.
Summary
Public constructors | |
---|---|
FolderSaver()
|
Public methods | |
---|---|
void
|
setTestLogger(ITestLogger testLogger)
Injects the |
void
|
setUp(TestInformation testInfo)
|
void
|
tearDown(TestInformation testInfo, Throwable e)
|
Public constructors
FolderSaver
public FolderSaver ()
Public methods
setTestLogger
public void setTestLogger (ITestLogger testLogger)
Injects the ITestLogger
instance
Parameters | |
---|---|
testLogger |
ITestLogger |
setUp
public void setUp (TestInformation testInfo)
Parameters | |
---|---|
testInfo |
TestInformation |
Throws | |
---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |
tearDown
public void tearDown (TestInformation testInfo, Throwable e)
Parameters | |
---|---|
testInfo |
TestInformation |
e |
Throwable |
Throws | |
---|---|
DeviceNotAvailableException |