diff options
| -rwxr-xr-x | sdkmanager/sdkuilib/src/test/java/com/android/sdkuilib/internal/repository/core/PackagesDiffLogicTest.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sdkmanager/sdkuilib/src/test/java/com/android/sdkuilib/internal/repository/core/PackagesDiffLogicTest.java b/sdkmanager/sdkuilib/src/test/java/com/android/sdkuilib/internal/repository/core/PackagesDiffLogicTest.java index 8135c08..4928540 100755 --- a/sdkmanager/sdkuilib/src/test/java/com/android/sdkuilib/internal/repository/core/PackagesDiffLogicTest.java +++ b/sdkmanager/sdkuilib/src/test/java/com/android/sdkuilib/internal/repository/core/PackagesDiffLogicTest.java @@ -982,7 +982,10 @@ public class PackagesDiffLogicTest extends TestCase { public void testToolsPreviewsDisabled() { // Test: No local tools installed. The remote server has both tools and platforms // in release and RC versions. However the settings "enable previews" is disabled - // (which is the default) so the previews are not actually loaded from the server. + // so the previews are not actually loaded from the server. + + // Disable previews in the settings + u.overrideSetting(ISettingsPage.KEY_ENABLE_PREVIEWS, false); SdkSource src1 = new SdkRepoSource("http://1.example.com/url1", "repo1"); |
