Add test size annotation.
Rational/Background: @MediumTest: An integration or functional test that validates the interaction of one or more application modules on a single machine. (should run under 1 sec: Usually get killed after 5 min) @LargeTest: A system test, integration test, or end-to-end test that verifies that a complete application works and accounts for the behavior of external subsystems. (Usually get killed after 15 min) Change-Id: I8b668af3d2ca09c43ad45c6fd72b1d0d80c6b7d3
This commit is contained in:
@@ -9,6 +9,7 @@ import android.support.test.uiautomator.UiDevice;
|
||||
import android.support.test.uiautomator.UiObject2;
|
||||
import android.support.test.uiautomator.Until;
|
||||
import android.test.InstrumentationTestCase;
|
||||
import android.test.suitebuilder.annotation.LargeTest;
|
||||
import android.view.MotionEvent;
|
||||
import android.view.ViewConfiguration;
|
||||
|
||||
@@ -17,6 +18,7 @@ import java.util.List;
|
||||
/**
|
||||
* Add an arbitrary widget from the widget picker very quickly to test potential race conditions.
|
||||
*/
|
||||
@LargeTest
|
||||
public class QuickAddWidgetTest extends InstrumentationTestCase {
|
||||
// Disabled because it's flaky and not particularly useful. But this class could still be useful
|
||||
// as an example if we want other UI tests in the future.
|
||||
|
||||
Reference in New Issue
Block a user