TestContentAnalyzer

public class TestContentAnalyzer
extends Object

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


The analyzer takes context for the analysis and determine what is interesting.

Summary

Constants

String TESTS_DIR_KEY

Public constructors

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

Public methods

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

Constants

TESTS_DIR_KEY

public static final String TESTS_DIR_KEY

Constant Value: "testsdir"

Public constructors

TestContentAnalyzer

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

Parameters
information TestInformation

presubmitMode boolean

contexts List

discoveredModules List

dependencyFiles List

analysisLevel AnalysisHeuristic

Public methods

analyzeContentDiff

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

Parameters
information ContentInformation

entry String

Returns
List<ArtifactDetails.ArtifactFileDescriptor>

evaluate

public ContentAnalysisResults evaluate ()

Returns
ContentAnalysisResults