Skip navigation links
A B C D F G I J L M P R S T W X 

A

add(SdkTestCase.TestFile, String) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.JarTestFile
 
add(SdkTestCase.TestFile) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.JarTestFile
 
allowCompilationErrors() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
analyze(List<File>) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestLintClient
 

B

base64(String, String) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
Creates a test file from the given base64 data.
BinaryTestFile(String, LintDetectorTest.BytecodeProducer) - Constructor for class com.android.tools.lint.checks.infrastructure.LintDetectorTest.BinaryTestFile
 
bytecode(String, LintDetectorTest.BytecodeProducer) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
BytecodeProducer() - Constructor for class com.android.tools.lint.checks.infrastructure.LintDetectorTest.BytecodeProducer
 
ByteProducer() - Constructor for class com.android.tools.lint.checks.infrastructure.LintDetectorTest.ByteProducer
 

C

checkLint(List<File>) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
checkLint(LintDetectorTest.TestLintClient, List<File>) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
checkReportedError(Context, Issue, Severity, Location, String) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
com.android.tools.lint.checks.infrastructure - package com.android.tools.lint.checks.infrastructure
 
compileSdk(int) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.PropertyTestFile
 
configureDriver(LintDriver) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
copy(String, String) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
copy(String) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
createClient() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
createFile(File) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.BinaryTestFile
 
createFile(File) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.JarTestFile
 
createFile(File) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.ManifestTestFile
 
createFile(File) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.PropertyTestFile
 
CustomIssueRegistry() - Constructor for class com.android.tools.lint.checks.infrastructure.LintDetectorTest.CustomIssueRegistry
 

D

dependsOn(String) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.PropertyTestFile
 

F

file() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
files(SdkTestCase.TestFile...) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.JarTestFile
 
findGlobalRuleJars() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestLintClient
 
findResource(String) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestLintClient
 

G

getBinaryContents() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.BinaryTestFile
 
getCompileTarget(Project) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestLintClient
 
getConfiguration(LintClient, Project) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
getConfiguration(Project, LintDriver) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestLintClient
 
getContents() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.BinaryTestFile
 
getContents() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.JarTestFile
 
getContents() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.ManifestTestFile
 
getContents() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.PropertyTestFile
 
getDefaultSeverity(Issue) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestConfiguration
 
getDetector() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
getDetectorInstance() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
getErrors() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestLintClient
 
getIssues() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.CustomIssueRegistry
 
getIssues() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
getJavaParser(Project) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestLintClient
 
getLintScope(List<File>) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
getProjectDir(String, String...) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
Creates a project directory structure from the given files
getProjectDir(String, SdkTestCase.TestFile...) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
Creates a project directory structure from the given files
getProjectResourceLibraryName() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestLintClient
 
getResourceRepository(Project, boolean, boolean) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestLintClient
 
getRootDir() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
Returns the Android source tree root dir.
getSuperClass(Project, String) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
getSuperClass(Project, String) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestLintClient
 
getTargetDir() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
getTestResource(String, boolean) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
getTestSourceFolders(Project) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestLintClient
 

I

ignore(Context, Issue, Location, String) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestConfiguration
 
ignoreSystemErrors() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
includeParentPath() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
isEnabled(Issue) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
isEnabled(Issue) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestConfiguration
 

J

jar(String) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
jar(String, SdkTestCase.TestFile...) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
JarTestFile(String) - Constructor for class com.android.tools.lint.checks.infrastructure.LintDetectorTest.JarTestFile
 
java(String, String) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
java(String) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 

L

library(boolean) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.PropertyTestFile
 
LintDetectorTest - Class in com.android.tools.lint.checks.infrastructure
Test case for lint detectors.
LintDetectorTest() - Constructor for class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
LintDetectorTest.BinaryTestFile - Class in com.android.tools.lint.checks.infrastructure
 
LintDetectorTest.BytecodeProducer - Class in com.android.tools.lint.checks.infrastructure
 
LintDetectorTest.ByteProducer - Class in com.android.tools.lint.checks.infrastructure
Produces byte arrays, for use with LintDetectorTest.BinaryTestFile
LintDetectorTest.CustomIssueRegistry - Class in com.android.tools.lint.checks.infrastructure
 
LintDetectorTest.JarTestFile - Class in com.android.tools.lint.checks.infrastructure
 
LintDetectorTest.ManifestTestFile - Class in com.android.tools.lint.checks.infrastructure
 
LintDetectorTest.PropertyTestFile - Class in com.android.tools.lint.checks.infrastructure
 
LintDetectorTest.TestConfiguration - Class in com.android.tools.lint.checks.infrastructure
 
LintDetectorTest.TestLintClient - Class in com.android.tools.lint.checks.infrastructure
 
lintFiles(String...) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
lintProject(String...) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
Run lint on the given files when constructed as a separate project
lintProject(SdkTestCase.TestFile...) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
Run lint on the given files when constructed as a separate project
lintProjectIncrementally(String, String...) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
lintProjectIncrementally(String, SdkTestCase.TestFile...) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
log(Throwable, String, Object...) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestLintClient
 

M

manifest() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
manifestMerger(boolean) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.PropertyTestFile
 
ManifestTestFile() - Constructor for class com.android.tools.lint.checks.infrastructure.LintDetectorTest.ManifestTestFile
 
minSdk - Variable in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.ManifestTestFile
 
minSdk(int) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.ManifestTestFile
 

P

permissions - Variable in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.ManifestTestFile
 
permissions(String...) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.ManifestTestFile
 
pkg - Variable in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.ManifestTestFile
 
produce() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.BytecodeProducer
Typically generated by first getting asm output like this:
produce() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.ByteProducer
 
projectProperties() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
property(String, String) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.PropertyTestFile
 
PropertyTestFile() - Constructor for class com.android.tools.lint.checks.infrastructure.LintDetectorTest.PropertyTestFile
 

R

report(Context, Issue, Severity, Location, String, TextFormat) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestLintClient
 
reset() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestLintClient
 

S

setIncremental(File) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestLintClient
 
setSeverity(Issue, Severity) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestConfiguration
 
setUp() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
skipExtraTokenChecks() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
If false (the default), lint will run your detectors twice, first on the plain source code, and then a second time where it has inserted whitespace and parentheses pretty much everywhere, to help catch bugs where your detector is only checking direct parents or siblings rather than properly allowing for whitespace and parenthesis nodes which can be present for example when using PSI inside the IDE.
source(String, String) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
supportsProjectResources() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestLintClient
 

T

targetSdk - Variable in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.ManifestTestFile
 
targetSdk(int) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.ManifestTestFile
 
tearDown() - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
TestConfiguration(LintClient, Project, Configuration) - Constructor for class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestConfiguration
 
TestConfiguration(LintClient, Project, Configuration, File) - Constructor for class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestConfiguration
 
TestLintClient() - Constructor for class com.android.tools.lint.checks.infrastructure.LintDetectorTest.TestLintClient
 
toBase64(byte[]) - Static method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
toBase64(File) - Static method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 

W

withSource(String) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.BinaryTestFile
 
withSource(String) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.JarTestFile
 
withSource(String) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest.PropertyTestFile
 

X

xml(String, String) - Method in class com.android.tools.lint.checks.infrastructure.LintDetectorTest
 
A B C D F G I J L M P R S T W X 
Skip navigation links