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

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

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


Field Summary
 
Fields inherited from class com.android.testutils.SdkTestCase.TestFile
contents, sourceRelativePath, targetRelativePath
 
Constructor Summary
LintDetectorTest.PropertyTestFile()
           
 
Method Summary
 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)
           
 
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.PropertyTestFile

public LintDetectorTest.PropertyTestFile()
Method Detail

property

public LintDetectorTest.PropertyTestFile property(java.lang.String key,
                                                  java.lang.String value)

compileSdk

public LintDetectorTest.PropertyTestFile compileSdk(int target)

library

public LintDetectorTest.PropertyTestFile library(boolean isLibrary)

manifestMerger

public LintDetectorTest.PropertyTestFile manifestMerger(boolean merger)

dependsOn

public LintDetectorTest.PropertyTestFile dependsOn(java.lang.String relative)

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