[3/7]Add PlatinumTest annotation to tests

These tests already have IwTest annotation. The IwTest tests will be merged with platinum tests using the PlatinumTest annotation. The IwTest annotation will be deprecated and removed.

Test: make
Bug: 283409062
Change-Id: Idee826a228070bdad26e9520c7b59c4df970f717
This commit is contained in:
Hui Kang committed 2023-05-24 01:21:46 +00:00
1 parent 5bde3f8573
commit 0928ab0811
2 files changed
+4

No files matched your search

@@ -21,6 +21,7 @@ import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import android.platform.test.annotations.IwTest;
import android.platform.test.annotations.PlatinumTest;
import androidx.test.filters.LargeTest;
import androidx.test.runner.AndroidJUnit4;
@@ -48,6 +49,7 @@ public class AddWidgetTest extends AbstractLauncherUiTest {
@Rule
public ShellCommandRule mGrantWidgetRule = ShellCommandRule.grantWidgetBind();
@PlatinumTest(focusArea = "launcher")
@IwTest(focusArea="launcher")
@Test
@PortraitLandscape