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

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

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


Field Summary
 
Fields inherited from class com.android.testutils.SdkTestCase.TestFile
contents, sourceRelativePath, targetRelativePath
 
Constructor Summary
LintDetectorTest.JarTestFile(java.lang.String to)
           
 
Method Summary
 LintDetectorTest.JarTestFile add(com.android.testutils.SdkTestCase.TestFile file)
           
 LintDetectorTest.JarTestFile add(com.android.testutils.SdkTestCase.TestFile file, java.lang.String path)
           
 java.io.File createFile(java.io.File targetDir)
           
 LintDetectorTest.JarTestFile files(com.android.testutils.SdkTestCase.TestFile... files)
           
 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.JarTestFile

public LintDetectorTest.JarTestFile(@NonNull
                                    java.lang.String to)
Method Detail

files

public LintDetectorTest.JarTestFile files(@NonNull
                                          com.android.testutils.SdkTestCase.TestFile... files)

add

public LintDetectorTest.JarTestFile add(@NonNull
                                        com.android.testutils.SdkTestCase.TestFile file,
                                        @NonNull
                                        java.lang.String path)

add

public LintDetectorTest.JarTestFile add(@NonNull
                                        com.android.testutils.SdkTestCase.TestFile file)

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

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