Merge "Enabling portrait widgets tests without converting to TAPL" into ub-launcher3-qt-dev

This commit is contained in:
Vadim Tryshev
2019-05-02 23:02:04 +00:00
committed by Android (Google) Code Review
2 changed files with 6 additions and 6 deletions
@@ -71,25 +71,25 @@ public class AddConfigWidgetTest extends AbstractLauncherUiTest {
}
@Test
@Ignore // Convert test to TAPL and enable them; b/131116002
// Convert test to TAPL b/131116002
public void testWidgetConfig() throws Throwable {
runTest(false, true);
}
@Test
@Ignore // Convert test to TAPL and enable them; b/131116002
@Ignore // b/121280703
public void testWidgetConfig_rotate() throws Throwable {
runTest(true, true);
}
@Test
@Ignore // Convert test to TAPL and enable them; b/131116002
// Convert test to TAPL b/131116002
public void testConfigCancelled() throws Throwable {
runTest(false, false);
}
@Test
@Ignore // Convert test to TAPL and enable them; b/131116002
@Ignore // b/121280703
public void testConfigCancelled_rotate() throws Throwable {
runTest(true, false);
}
@@ -49,19 +49,19 @@ public class AddWidgetTest extends AbstractLauncherUiTest {
@Rule public ShellCommandRule mGrantWidgetRule = ShellCommandRule.grantWidgetBind();
@Test
@Ignore // Convert test to TAPL and enable them; b/131116002
public void testDragIcon_portrait() throws Throwable {
lockRotation(true);
performTest();
}
@Test
@Ignore // Convert test to TAPL and enable them; b/131116002
@Ignore // b/121280703
public void testDragIcon_landscape() throws Throwable {
lockRotation(false);
performTest();
}
// b/131116002
private void performTest() throws Throwable {
clearHomescreen();
mActivityMonitor.startLauncher();