TestContentAnalyzer

public class TestContentAnalyzer
extends Object

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


Der Analysator berücksichtigt den Kontext für die Analyse und ermittelt, was interessant ist.

Zusammenfassung

Konstanten

String TESTS_DIR_KEY

Öffentliche Konstruktoren

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

Öffentliche Methoden

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

Konstanten

TESTS_DIR_KEY

public static final String TESTS_DIR_KEY

Konstanter Wert: "testsdir"

Öffentliche Konstruktoren

TestContentAnalyzer

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

Parameter
information TestInformation

presubmitMode boolean

contexts List

discoveredModules List

dependencyFiles List

analysisLevel AnalysisHeuristic

Öffentliche Methoden

analyzeContentDiff

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

Parameter
information ContentInformation

entry String

Gibt Folgendes zurück:
List<ArtifactDetails.ArtifactFileDescriptor>

evaluate

public ContentAnalysisResults evaluate ()

Gibt Folgendes zurück:
ContentAnalysisResults