Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ebe7f55 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 11915075 from 4fa27207 to 24Q4-release

Change-Id: I8c12d900053380f17f0220f70bb086871a06cdfe
parents 7b4c57ee 4fa27207
Loading
Loading
Loading
Loading
+13 −0
Original line number Original line Diff line number Diff line
@@ -77,6 +77,7 @@ import com.android.modules.utils.build.SdkLevel;
import com.google.common.collect.Lists;
import com.google.common.collect.Lists;


import org.junit.Before;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized;
@@ -537,6 +538,10 @@ public class ActionHandlerTest {
        assertRootPicked(TestProvidersAccess.DOWNLOADS.getUri());
        assertRootPicked(TestProvidersAccess.DOWNLOADS.getUri());
    }
    }


    // Ignoring the test because it uses hidden api DragEvent#obtain() and changes to the api is
    // causing failure on older base builds
    // TODO: b/343206763 remove dependence on hidden api
    @Ignore
    @Test
    @Test
    public void testDragAndDrop_OnReadOnlyRoot() throws Exception {
    public void testDragAndDrop_OnReadOnlyRoot() throws Exception {
        assumeTrue(VersionUtils.isAtLeastS());
        assumeTrue(VersionUtils.isAtLeastS());
@@ -546,6 +551,10 @@ public class ActionHandlerTest {
        assertFalse(mHandler.dropOn(event, root));
        assertFalse(mHandler.dropOn(event, root));
    }
    }


    // Ignoring the test because it uses hidden api DragEvent#obtain() and changes to the api is
    // causing failure on older base builds
    // TODO: b/343206763 remove dependence on hidden api
    @Ignore
    @Test
    @Test
    public void testDragAndDrop_OnLibraryRoot() throws Exception {
    public void testDragAndDrop_OnLibraryRoot() throws Exception {
        assumeTrue(VersionUtils.isAtLeastS());
        assumeTrue(VersionUtils.isAtLeastS());
@@ -554,6 +563,10 @@ public class ActionHandlerTest {
        assertFalse(mHandler.dropOn(event, TestProvidersAccess.RECENTS));
        assertFalse(mHandler.dropOn(event, TestProvidersAccess.RECENTS));
    }
    }


    // Ignoring the test because it uses hidden api DragEvent#obtain() and changes to the api is
    // causing failure on older base builds
    // TODO: b/343206763 remove dependence on hidden api
    @Ignore
    @Test
    @Test
    public void testDragAndDrop_DropsOnWritableRoot() throws Exception {
    public void testDragAndDrop_DropsOnWritableRoot() throws Exception {
        assumeTrue(VersionUtils.isAtLeastS());
        assumeTrue(VersionUtils.isAtLeastS());