META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/android/testutils/
com/android/testutils/TestUtils.classTestUtils.java
package com.android.testutils
public com.android.testutils.TestUtils extends java.lang.Object {
public void ()
public static transient java.io.File getRoot (java.lang.String[])
java.io.File r
String name
String[] names
java.io.File root
public static transient java.io.File getCanonicalRoot (java.lang.String[]) throws java.io.IOException
String[] names
java.io.File root
public static void deleteFile (java.io.File)
java.io.File f
java.io.File[] files
java.io.File dir
public static java.io.File createTempDirDeletedOnExit ()
java.io.File tempDir
public static java.io.File getSdkDir ()
java.io.File f
String androidHome
}
com/android/testutils/SdkTestCase.classSdkTestCase.java
package com.android.testutils
public abstract com.android.testutils.SdkTestCase extends junit.framework.TestCase {
private static final boolean UPDATE_DIFFERENT_FILES
private static final boolean UPDATE_MISSING_FILES
private static java.io.File sTempDir
protected static java.util.Set sCleanDirs
static final boolean $assertionsDisabled
public void ()
protected java.lang.String getTestDataRelPath ()
public static int getCaretOffset (java.lang.String, java.lang.String)
int caretRangeEnd
String caretContext
String fileContent
String caretLocation
int caretDelta
String caretContext
int caretContextIndex
public static java.lang.String addSelection (java.lang.String, int, int)
String newFileWithCaret
String newFileContents
int selectionBegin
int selectionEnd
String newFileWithCaret
public static java.lang.String getCaretContext (java.lang.String, int)
String file
int offset
int windowSize
int begin
int end
protected java.io.File getTargetDir ()
java.io.File testData
java.io.File sdkPath
String sdk
public static java.io.File getTempDir ()
java.io.File base
java.util.Calendar c
String name
java.io.File tmpDir
protected java.lang.String removeSessionData (java.lang.String)
String data
protected java.io.InputStream getTestResource (java.lang.String, boolean)
String relativePath
boolean expectExists
String path
java.io.InputStream stream
protected java.lang.String readTestFile (java.lang.String, boolean) throws java.io.IOException
String relativePath
boolean expectExists
java.io.InputStream stream
String xml
protected void assertEqualsGolden (java.lang.String, java.lang.String) throws java.io.IOException
String basename
String actual
protected void assertEqualsGolden (java.lang.String, java.lang.String, java.lang.String) throws java.io.IOException
java.io.File expectedPath
java.io.File expectedPath
java.io.File actualPath
String basename
String actual
String newExtension
String testName
String expectedName
String extension
String expected
public static java.lang.String getDiff (java.lang.String, java.lang.String)
String before
String after
public static java.lang.String getDiff (java.lang.String[], java.lang.String[])
int j
int i
String[] before
String[] after
StringBuilder sb
int n
int m
int[][] lcs
int i
int j
protected void deleteFile (java.io.File)
java.io.File dir
protected java.io.File makeTestFile (java.lang.String, java.lang.String, java.io.InputStream) throws java.io.IOException
String name
String relative
java.io.InputStream contents
protected java.io.File makeTestFile (java.io.File, java.lang.String, java.lang.String, java.io.InputStream) throws java.io.IOException
boolean mkdir
boolean mkdir
java.io.File dir
String name
String relative
java.io.InputStream contents
java.io.File tempFile
protected java.io.File getTestfile (java.io.File, java.lang.String) throws java.io.IOException
java.io.File targetDir
String relativePath
String targetPath
int replaceIndex
java.io.InputStream stream
int index
String relative
String name
protected static void addCleanupDir (java.io.File)
java.io.IOException e
java.io.File dir
protected java.lang.String cleanup (java.lang.String)
java.io.File dir
String result
java.util.List sorted
protected java.io.File findSrcDir ()
java.io.File root
String sdk
java.io.File root
String rootPath
protected java.io.File findSrcRelativeDir (java.lang.String)
java.io.File testData
String relative
java.io.File root
static void ()
}
com/android/testutils/internal/
com/android/testutils/internal/CopyOfTester$1.classCopyOfTester.java
package com.android.testutils.internal
final com.android.testutils.internal.CopyOfTester$1 extends com.google.common.reflect.AbstractInvocationHandler {
final java.util.Set val$methodsCalled
final Object val$object
void (java.util.Set, java.lang.Object)
protected java.lang.Object handleInvocation (java.lang.Object, java.lang.reflect.Method, java.lang.Object[]) throws java.lang.Throwable
Object proxy
java.lang.reflect.Method method
Object[] args
}
com/android/testutils/internal/CopyOfTester.classCopyOfTester.java
package com.android.testutils.internal
public com.android.testutils.internal.CopyOfTester extends java.lang.Object {
public void ()
public static void assertAllMethodsCalled (java.lang.Class, java.lang.Object, java.util.function.Consumer)
Class iface
Object object
java.util.function.Consumer methodUnderTest
java.util.Set allMethods
java.util.Set methodsCalled
Object proxy
}
com/android/testutils/SdkTestCase$1.classSdkTestCase.java
package com.android.testutils
com.android.testutils.SdkTestCase$1 extends java.lang.Object implements com.google.common.io.InputSupplier {
final java.io.InputStream val$contents
final com.android.testutils.SdkTestCase this$0
void (com.android.testutils.SdkTestCase, java.io.InputStream)
com.android.testutils.SdkTestCase this$0
public java.io.InputStream getInput () throws java.io.IOException
public volatile java.lang.Object getInput () throws java.io.IOException
}
com/android/testutils/TestUtils$1.classTestUtils.java
package com.android.testutils
final com.android.testutils.TestUtils$1 extends java.lang.Thread {
final java.io.File val$tempDir
void (java.io.File)
public void run ()
}
com/android/testutils/SdkTestCase$2.classSdkTestCase.java
package com.android.testutils
com.android.testutils.SdkTestCase$2 extends java.lang.Object implements java.util.Comparator {
final com.android.testutils.SdkTestCase this$0
void (com.android.testutils.SdkTestCase)
com.android.testutils.SdkTestCase this$0
public int compare (java.io.File, java.io.File)
java.io.File file1
java.io.File file2
String path1
String path2
int delta
public volatile int compare (java.lang.Object, java.lang.Object)
}
com/android/testutils/SdkTestCase$TestFile.classSdkTestCase.java
package com.android.testutils
public com.android.testutils.SdkTestCase$TestFile extends java.lang.Object {
public String sourceRelativePath
public String targetRelativePath
public String contents
final com.android.testutils.SdkTestCase this$0
public void (com.android.testutils.SdkTestCase)
com.android.testutils.SdkTestCase this$0
public com.android.testutils.SdkTestCase$TestFile withSource (java.lang.String)
String source
public com.android.testutils.SdkTestCase$TestFile from (java.lang.String)
String from
public com.android.testutils.SdkTestCase$TestFile to (java.lang.String)
String to
public com.android.testutils.SdkTestCase$TestFile copy (java.lang.String)
String relativePath
String targetPath
int replaceIndex
public java.io.File createFile (java.io.File) throws java.io.IOException
java.io.InputStream stream
java.io.File targetDir
java.io.InputStream stream
int index
String relative
String name
public java.lang.String getContents ()
java.io.IOException ignore
java.io.InputStream stream
}
NOTICE