透過集合功能整理內容 你可以依據偏好儲存及分類內容。

ATestFileSystemLogSaver

public class ATestFileSystemLogSaver
extends FileSystemLogSaver

java.lang.Object
   ↳ com.android.tradefed.result.FileSystemLogSaver
     ↳ com.android.tradefed.result.ATestFileSystemLogSaver


This LogSaver class is used by ATest to save logs in a specific path.

Summary

Public constructors

ATestFileSystemLogSaver()

Protected methods

File generateLogReportDir(IBuildInfo buildInfo, File reportDir)

An exposed method that allow subclass to customize generating path logic.

Public constructors

ATestFileSystemLogSaver

public ATestFileSystemLogSaver ()

Protected methods

generateLogReportDir

protected File generateLogReportDir (IBuildInfo buildInfo, 
                File reportDir)

An exposed method that allow subclass to customize generating path logic.

Parameters
buildInfo IBuildInfo: the IBuildInfo

reportDir File: the ERROR(/File) for the report directory.

Returns
File The directory created in the path that option atest-log-file-path specify.