com.android.tools.lint.checks.infrastructure
Class LintDetectorTest.BinaryTestFile

java.lang.Object
  extended by com.android.testutils.SdkTestCase.TestFile
      extended by com.android.tools.lint.checks.infrastructure.LintDetectorTest.BinaryTestFile
Enclosing class:
LintDetectorTest

public class LintDetectorTest.BinaryTestFile
extends com.android.testutils.SdkTestCase.TestFile


Field Summary
 
Fields inherited from class com.android.testutils.SdkTestCase.TestFile
contents, sourceRelativePath, targetRelativePath
 
Constructor Summary
LintDetectorTest.BinaryTestFile(java.lang.String to, LintDetectorTest.BytecodeProducer producer)
           
 
Method Summary
 java.io.File createFile(java.io.File targetDir)
           
 byte[] getBinaryContents()
           
 java.lang.String getContents()
           
 com.android.testutils.SdkTestCase.TestFile withSource(java.lang.String source)
           
 
Methods inherited from class com.android.testutils.SdkTestCase.TestFile
copy, from, to
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LintDetectorTest.BinaryTestFile

public LintDetectorTest.BinaryTestFile(@NonNull
                                       java.lang.String to,
                                       @NonNull
                                       LintDetectorTest.BytecodeProducer producer)
Method Detail

withSource

public com.android.testutils.SdkTestCase.TestFile withSource(@NonNull
                                                             java.lang.String source)
Overrides:
withSource in class com.android.testutils.SdkTestCase.TestFile

getContents

@NonNull
public java.lang.String getContents()
Overrides:
getContents in class com.android.testutils.SdkTestCase.TestFile

getBinaryContents

public byte[] getBinaryContents()

createFile

@NonNull
public java.io.File createFile(@NonNull
                                       java.io.File targetDir)
                        throws java.io.IOException
Overrides:
createFile in class com.android.testutils.SdkTestCase.TestFile
Throws:
java.io.IOException