diff options
author | Raphael <raphael@google.com> | 2011-09-18 11:35:52 -0700 |
---|---|---|
committer | Raphael <raphael@google.com> | 2011-09-18 14:22:06 -0700 |
commit | 1b0a26cee7812957706eae92573cc9a2f776ce23 (patch) | |
tree | f5dfdd37874c2f97f7c64bdb2f269c8f2faeeaf1 /sdkmanager/libs/sdkuilib | |
parent | 9b634c7d1d288d97c25d5d38355139da5f46e0d4 (diff) | |
download | sdk-1b0a26cee7812957706eae92573cc9a2f776ce23.zip sdk-1b0a26cee7812957706eae92573cc9a2f776ce23.tar.gz sdk-1b0a26cee7812957706eae92573cc9a2f776ce23.tar.bz2 |
SDK Manager: Extract all source.properties constants.
The SDK Manager uses specific constants to save
local source.properties files in installed packages.
This moves all these constants in a common constant
class and makes it explicit that these constants
form some kind of API that can't be changed arbitrarily.
Change-Id: I005f13f53768fbcc677edf94be0b4c13e19e3ec8
Diffstat (limited to 'sdkmanager/libs/sdkuilib')
-rwxr-xr-x | sdkmanager/libs/sdkuilib/tests/com/android/sdkuilib/internal/repository/sdkman2/PackagesDiffLogicTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sdkmanager/libs/sdkuilib/tests/com/android/sdkuilib/internal/repository/sdkman2/PackagesDiffLogicTest.java b/sdkmanager/libs/sdkuilib/tests/com/android/sdkuilib/internal/repository/sdkman2/PackagesDiffLogicTest.java index 8ce6cc5..5444dff 100755 --- a/sdkmanager/libs/sdkuilib/tests/com/android/sdkuilib/internal/repository/sdkman2/PackagesDiffLogicTest.java +++ b/sdkmanager/libs/sdkuilib/tests/com/android/sdkuilib/internal/repository/sdkman2/PackagesDiffLogicTest.java @@ -17,7 +17,6 @@ package com.android.sdkuilib.internal.repository.sdkman2; import com.android.sdklib.internal.repository.BrokenPackage; -import com.android.sdklib.internal.repository.ExtraPackage; import com.android.sdklib.internal.repository.MockAddonPackage; import com.android.sdklib.internal.repository.MockBrokenPackage; import com.android.sdklib.internal.repository.MockEmptyPackage; @@ -28,6 +27,7 @@ import com.android.sdklib.internal.repository.MockToolPackage; import com.android.sdklib.internal.repository.Package; import com.android.sdklib.internal.repository.SdkRepoSource; import com.android.sdklib.internal.repository.SdkSource; +import com.android.sdklib.repository.PkgProps; import com.android.sdkuilib.internal.repository.MockUpdaterData; import java.util.Properties; @@ -1167,7 +1167,7 @@ public class PackagesDiffLogicTest extends TestCase { // Now, start again, but this time the new package uses the old-path attribute Properties props = new Properties(); - props.setProperty(ExtraPackage.PROP_OLD_PATHS, "old_path1;oldpath2"); + props.setProperty(PkgProps.EXTRA_OLD_PATHS, "old_path1;oldpath2"); m.clear(); m.updateStart(); |