public class LintDetectorTest.PropertyTestFile
extends com.android.testutils.SdkTestCase.TestFile
Constructor and Description |
---|
PropertyTestFile() |
Modifier and Type | Method and Description |
---|---|
LintDetectorTest.PropertyTestFile |
compileSdk(int target) |
java.io.File |
createFile(java.io.File targetDir) |
LintDetectorTest.PropertyTestFile |
dependsOn(java.lang.String relative) |
java.lang.String |
getContents() |
LintDetectorTest.PropertyTestFile |
library(boolean isLibrary) |
LintDetectorTest.PropertyTestFile |
manifestMerger(boolean merger) |
LintDetectorTest.PropertyTestFile |
property(java.lang.String key,
java.lang.String value) |
com.android.testutils.SdkTestCase.TestFile |
withSource(java.lang.String source) |
public LintDetectorTest.PropertyTestFile property(java.lang.String key, java.lang.String value)
public LintDetectorTest.PropertyTestFile compileSdk(int target)
public LintDetectorTest.PropertyTestFile library(boolean isLibrary)
public LintDetectorTest.PropertyTestFile manifestMerger(boolean merger)
public LintDetectorTest.PropertyTestFile dependsOn(java.lang.String relative)
public com.android.testutils.SdkTestCase.TestFile withSource(@NonNull java.lang.String source)
withSource
in class com.android.testutils.SdkTestCase.TestFile
@NonNull public java.lang.String getContents()
getContents
in class com.android.testutils.SdkTestCase.TestFile
@NonNull public java.io.File createFile(@NonNull java.io.File targetDir) throws java.io.IOException
createFile
in class com.android.testutils.SdkTestCase.TestFile
java.io.IOException