Deprecated platform Android testing APIs
- Deprecated most android.test.* APIs - Kept ProviderTestCase2 and LoaderTestCase since we don't have a replacement yet - Deprecated android.test.suitebuilder - Added Javadoc to all deprecated APIs with links to corresponding Android Testing Support Library APIs - Removed all trailing whitespace Bug: 22314304 Change-Id: I1b1f0dd5132364110f1dfd4e3eb2dd044700d859
This commit is contained in:
@@ -33,9 +33,10 @@ import java.util.zip.ZipFile;
|
||||
|
||||
/**
|
||||
* Generate {@link ClassPathPackageInfo}s by scanning apk paths.
|
||||
*
|
||||
*
|
||||
* {@hide} Not needed for 1.0 SDK.
|
||||
*/
|
||||
@Deprecated
|
||||
public class ClassPathPackageInfoSource {
|
||||
|
||||
private static final String CLASS_EXTENSION = ".class";
|
||||
@@ -82,7 +83,7 @@ public class ClassPathPackageInfoSource {
|
||||
// Don't try to load classes that are generated. They usually aren't in test apks.
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
// We get errors in the emulator if we don't use the caller's class loader.
|
||||
topLevelClasses.add(Class.forName(className, false,
|
||||
|
||||
Reference in New Issue
Block a user