public class LintDetectorTest.BinaryTestFile
extends com.android.testutils.SdkTestCase.TestFile
Constructor and Description |
---|
BinaryTestFile(java.lang.String to,
LintDetectorTest.BytecodeProducer producer) |
Modifier and Type | Method and Description |
---|---|
java.io.File |
createFile(java.io.File targetDir) |
byte[] |
getBinaryContents() |
java.lang.String |
getContents() |
com.android.testutils.SdkTestCase.TestFile |
withSource(java.lang.String source) |
public BinaryTestFile(@NonNull java.lang.String to, @NonNull LintDetectorTest.BytecodeProducer producer)
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
public byte[] getBinaryContents()
@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