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