META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/android/testutils/
com/android/testutils/VirtualTimeRepeatKind.classVirtualTimeRepeatKind.java
package com.android.testutils
public final com.android.testutils.VirtualTimeRepeatKind extends java.lang.Enum {
public static final com.android.testutils.VirtualTimeRepeatKind NONE
public static final com.android.testutils.VirtualTimeRepeatKind RATE
public static final com.android.testutils.VirtualTimeRepeatKind DELAY
private static final com.android.testutils.VirtualTimeRepeatKind[] $VALUES
public static com.android.testutils.VirtualTimeRepeatKind[] values ()
public static com.android.testutils.VirtualTimeRepeatKind valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/testutils/VirtualTimeDateProvider.classVirtualTimeDateProvider.java
package com.android.testutils
public com.android.testutils.VirtualTimeDateProvider extends java.lang.Object implements com.android.utils.DateProvider {
private final com.android.testutils.VirtualTimeScheduler virtualTimeScheduler
public void (com.android.testutils.VirtualTimeScheduler)
com.android.testutils.VirtualTimeScheduler virtualTimeScheduler
public java.util.Date now ()
}
com/android/testutils/TestUtils.classTestUtils.java
package com.android.testutils
public com.android.testutils.TestUtils extends java.lang.Object {
static final boolean $assertionsDisabled
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
public static void waitFilesystemTime () throws java.lang.InterruptedException
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
static void ()
}
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
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
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.class
com/android/testutils/VirtualTimeScheduler$VirtualFuturesComparator.classVirtualTimeScheduler.java
package com.android.testutils
com.android.testutils.VirtualTimeScheduler$VirtualFuturesComparator extends java.lang.Object implements java.util.Comparator {
private void ()
public int compare (com.android.testutils.VirtualTimeFuture, com.android.testutils.VirtualTimeFuture)
com.android.testutils.VirtualTimeFuture o1
com.android.testutils.VirtualTimeFuture o2
long tickDiff
public volatile int compare (java.lang.Object, java.lang.Object)
void (com.android.testutils.VirtualTimeScheduler$1)
com.android.testutils.VirtualTimeScheduler$1 x0
}
com/android/testutils/SdkTestCase$1.classSdkTestCase.java
package com.android.testutils
com.android.testutils.SdkTestCase$1 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/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/VirtualTimeFuture.classVirtualTimeFuture.java
package com.android.testutils
public com.android.testutils.VirtualTimeFuture extends java.lang.Object implements java.util.concurrent.ScheduledFuture {
private static final java.util.concurrent.atomic.AtomicLong sCounter
private final com.android.testutils.VirtualTimeScheduler mScheduler
private final Runnable mRunnable
private final java.util.concurrent.Callable mCallable
private final long mOffset
private final com.android.testutils.VirtualTimeRepeatKind mRepeatKind
private final java.util.concurrent.CountDownLatch mIsDone
private final long mId
private volatile long mTick
private volatile long mTimeoutTick
private boolean mIsCancelled
private Object mValue
private Exception mException
void (com.android.testutils.VirtualTimeScheduler, java.lang.Runnable, long, long, com.android.testutils.VirtualTimeRepeatKind)
com.android.testutils.VirtualTimeScheduler virtualTimeScheduler
Runnable runnable
long tick
long offset
com.android.testutils.VirtualTimeRepeatKind repeatKind
void (com.android.testutils.VirtualTimeScheduler, java.util.concurrent.Callable, long, long, com.android.testutils.VirtualTimeRepeatKind)
com.android.testutils.VirtualTimeScheduler virtualTimeScheduler
java.util.concurrent.Callable callable
long tick
long offset
com.android.testutils.VirtualTimeRepeatKind repeatKind
public long getDelay (java.util.concurrent.TimeUnit)
java.util.concurrent.TimeUnit unit
long diff
public int compareTo (java.util.concurrent.Delayed)
java.util.concurrent.Delayed o
public boolean cancel (boolean)
boolean mayInterruptIfRunning
public boolean isCancelled ()
public boolean isDone ()
public java.lang.Object get () throws java.lang.InterruptedException java.util.concurrent.ExecutionException
public java.lang.Object get (long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException java.util.concurrent.ExecutionException java.util.concurrent.TimeoutException
long timeout
java.util.concurrent.TimeUnit unit
long end
public long getTick ()
void setmTick (long)
long mTick
public java.lang.Runnable getRunnable ()
public java.util.concurrent.Callable getCallable ()
public com.android.testutils.VirtualTimeScheduler getOwningScheduler ()
public long getOffset ()
public com.android.testutils.VirtualTimeRepeatKind getRepeatKind ()
void run ()
Exception e
public long getId ()
void setTimeoutTick (long)
long timeoutTick
public volatile int compareTo (java.lang.Object)
static void ()
}
com/android/testutils/SystemPropertyOverrides.classSystemPropertyOverrides.java
package com.android.testutils
public com.android.testutils.SystemPropertyOverrides extends java.lang.Object implements java.lang.AutoCloseable {
private final java.util.Map mOriginals
public void ()
public void setProperty (java.lang.String, java.lang.String)
String originalValue
String key
String value
public void close () throws java.lang.Exception
java.util.Map$Entry original
}
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
}
com/android/testutils/VirtualTimeScheduler.class
com/android/testutils/VirtualTimeScheduler$1.classVirtualTimeScheduler.java
package com.android.testutils
com.android.testutils.VirtualTimeScheduler$1 extends java.lang.Object {
}
NOTICE