Skip navigation links
A C D F G M R S T W 

A

addCleanupDir(File) - Static method in class com.android.testutils.SdkTestCase
 
addSelection(String, int, int) - Static method in class com.android.testutils.SdkTestCase
 
assertEqualsGolden(String, String) - Method in class com.android.testutils.SdkTestCase
 
assertEqualsGolden(String, String, String) - Method in class com.android.testutils.SdkTestCase
 

C

cleanup(String) - Method in class com.android.testutils.SdkTestCase
 
com.android.testutils - package com.android.testutils
 
contents - Variable in class com.android.testutils.SdkTestCase.TestFile
 
copy(String) - Method in class com.android.testutils.SdkTestCase.TestFile
 
createFile(File) - Method in class com.android.testutils.SdkTestCase.TestFile
 
createTempDirDeletedOnExit() - Static method in class com.android.testutils.TestUtils
 

D

deleteFile(File) - Method in class com.android.testutils.SdkTestCase
 
deleteFile(File) - Static method in class com.android.testutils.TestUtils
 

F

findSrcDir() - Method in class com.android.testutils.SdkTestCase
Get the location to write missing golden files to
findSrcRelativeDir(String) - Method in class com.android.testutils.SdkTestCase
 
from(String) - Method in class com.android.testutils.SdkTestCase.TestFile
 

G

getCanonicalRoot(String...) - Static method in class com.android.testutils.TestUtils
returns a File for the subfolder of the test resource data.
getCaretContext(String, int) - Static method in class com.android.testutils.SdkTestCase
 
getCaretOffset(String, String) - Static method in class com.android.testutils.SdkTestCase
 
getContents() - Method in class com.android.testutils.SdkTestCase.TestFile
 
getDiff(String, String) - Static method in class com.android.testutils.SdkTestCase
Creates a diff of two strings
getDiff(String[], String[]) - Static method in class com.android.testutils.SdkTestCase
 
getRoot(String...) - Static method in class com.android.testutils.TestUtils
returns a File for the subfolder of the test resource data.
getSdkDir() - Static method in class com.android.testutils.TestUtils
Returns the SDK directory as built from the Android source tree.
getTargetDir() - Method in class com.android.testutils.SdkTestCase
Get the location to write missing golden files to
getTempDir() - Static method in class com.android.testutils.SdkTestCase
 
getTestDataRelPath() - Method in class com.android.testutils.SdkTestCase
 
getTestfile(File, String) - Method in class com.android.testutils.SdkTestCase
 
getTestResource(String, boolean) - Method in class com.android.testutils.SdkTestCase
 

M

makeTestFile(String, String, InputStream) - Method in class com.android.testutils.SdkTestCase
 
makeTestFile(File, String, String, InputStream) - Method in class com.android.testutils.SdkTestCase
 

R

readTestFile(String, boolean) - Method in class com.android.testutils.SdkTestCase
 
removeSessionData(String) - Method in class com.android.testutils.SdkTestCase
 

S

sCleanDirs - Static variable in class com.android.testutils.SdkTestCase
 
SdkTestCase - Class in com.android.testutils
Common test case for SDK unit tests.
SdkTestCase() - Constructor for class com.android.testutils.SdkTestCase
 
SdkTestCase.TestFile - Class in com.android.testutils
Test file description, which can copy from resource directory or from a specified hardcoded string literal, and copy into a target directory
sourceRelativePath - Variable in class com.android.testutils.SdkTestCase.TestFile
 

T

targetRelativePath - Variable in class com.android.testutils.SdkTestCase.TestFile
 
TestFile() - Constructor for class com.android.testutils.SdkTestCase.TestFile
 
TestUtils - Class in com.android.testutils
Utility methods to deal with loading the test data.
TestUtils() - Constructor for class com.android.testutils.TestUtils
 
to(String) - Method in class com.android.testutils.SdkTestCase.TestFile
 

W

waitFilesystemTime() - Static method in class com.android.testutils.TestUtils
Sleeps the current thread for enough time to ensure that we exceed filesystem timestamp resolution.
withSource(String) - Method in class com.android.testutils.SdkTestCase.TestFile
 
A C D F G M R S T W 
Skip navigation links