Google is committed to advancing racial equity for Black communities. See how.

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.