TestContentAnalyzer

public class TestContentAnalyzer
extends Object

java.lang.Object
   ↳ com.android.tradefed.build.content.TestContentAnalyzer


分析器会根据上下文进行分析,并确定哪些内容值得关注。

摘要

常量

String TESTS_DIR_KEY

公共构造函数

TestContentAnalyzer(TestInformation information, boolean presubmitMode, List<ContentAnalysisContext> contexts, List<String> discoveredModules, List<String> dependencyFiles, AnalysisHeuristic analysisLevel)

公共方法

static List<ArtifactDetails.ArtifactFileDescriptor> analyzeContentDiff(ContentInformation information, String entry)
ContentAnalysisResults evaluate()

常量

TESTS_DIR_KEY

public static final String TESTS_DIR_KEY

常量值: “testsdir”

公共构造函数

TestContentAnalyzer

public TestContentAnalyzer (TestInformation information, 
                boolean presubmitMode, 
                List<ContentAnalysisContext> contexts, 
                List<String> discoveredModules, 
                List<String> dependencyFiles, 
                AnalysisHeuristic analysisLevel)

参数
information TestInformation

presubmitMode boolean

contexts List

discoveredModules List

dependencyFiles List

analysisLevel AnalysisHeuristic

公共方法

analyzeContentDiff

public static List<ArtifactDetails.ArtifactFileDescriptor> analyzeContentDiff (ContentInformation information, 
                String entry)

参数
information ContentInformation

entry String

返回
List<ArtifactDetails.ArtifactFileDescriptor>

evaluate

public ContentAnalysisResults evaluate ()

返回
ContentAnalysisResults