TestContentAnalyzer

public class TestContentAnalyzer
extends Object

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


Trình phân tích này sẽ lấy ngữ cảnh để phân tích và xác định nội dung thú vị.

Tóm tắt

Hằng số

String TESTS_DIR_KEY

Hàm khởi tạo công khai

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

Phương thức công khai

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

Hằng số

TESTS_DIR_KEY

public static final String TESTS_DIR_KEY

Giá trị không đổi: "testsdir"

Hàm khởi tạo công khai

TestContentAnalyzer

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

Tham số
information TestInformation

presubmitMode boolean

contexts List

discoveredModules List

dependencyFiles List

analysisLevel AnalysisHeuristic

Phương thức công khai

analyzeContentDiff

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

Tham số
information ContentInformation

entry String

Giá trị trả về
List<ArtifactDetails.ArtifactFileDescriptor>

Đánh giá

public ContentAnalysisResults evaluate ()

Giá trị trả về
ContentAnalysisResults