public static class TestFile.PropertyTestFile extends LintDetectorTest.TestFile
TestFile.BinaryTestFile, TestFile.BytecodeProducer, TestFile.ByteProducer, TestFile.GradleTestFile, TestFile.ImageTestFile, TestFile.JarTestFile, TestFile.JavaTestFile, TestFile.ManifestTestFile, TestFile.PropertyTestFile
bytes, contents, sourceRelativePath, targetRelativePath, targetRootFolder
Constructor and Description |
---|
PropertyTestFile() |
Modifier and Type | Method and Description |
---|---|
TestFile.PropertyTestFile |
compileSdk(int target) |
java.io.File |
createFile(java.io.File targetDir) |
TestFile.PropertyTestFile |
dependsOn(java.lang.String relative) |
java.lang.String |
getContents() |
TestFile.PropertyTestFile |
library(boolean isLibrary) |
TestFile.PropertyTestFile |
manifestMerger(boolean merger) |
TestFile.PropertyTestFile |
property(java.lang.String key,
java.lang.String value) |
LintDetectorTest.TestFile |
withSource(java.lang.String source) |
copy, from, to, withBytes, within
getTargetPath
public TestFile.PropertyTestFile property(java.lang.String key, java.lang.String value)
public TestFile.PropertyTestFile compileSdk(int target)
public TestFile.PropertyTestFile library(boolean isLibrary)
public TestFile.PropertyTestFile manifestMerger(boolean merger)
public TestFile.PropertyTestFile dependsOn(java.lang.String relative)
public LintDetectorTest.TestFile withSource(@NonNull java.lang.String source)
withSource
in class LintDetectorTest.TestFile
@NonNull public java.lang.String getContents()
getContents
in class TestFile
@NonNull public java.io.File createFile(@NonNull java.io.File targetDir) throws java.io.IOException
createFile
in class TestFile
java.io.IOException