Merge "Add tests for editor state and cursor drag to presubmits" into rvc-dev am: 42d682e077

Change-Id: Iefd94f3e338f53319163bc5286a6ede796f5e0e9
This commit is contained in:
Nikita Dubrovsky
2020-03-26 22:00:08 +00:00
committed by Automerger Merge Worker
2 changed files with 6 additions and 2 deletions

View File

@@ -37,6 +37,7 @@ import static org.junit.Assert.assertTrue;
import android.app.Activity;
import android.app.Instrumentation;
import android.graphics.Rect;
import android.platform.test.annotations.Presubmit;
import android.text.Layout;
import android.text.Spannable;
import android.text.SpannableString;
@@ -48,7 +49,7 @@ import android.view.MotionEvent;
import android.view.View;
import androidx.test.InstrumentationRegistry;
import androidx.test.filters.SmallTest;
import androidx.test.filters.MediumTest;
import androidx.test.filters.Suppress;
import androidx.test.rule.ActivityTestRule;
import androidx.test.runner.AndroidJUnit4;
@@ -67,7 +68,8 @@ import java.util.Set;
import java.util.concurrent.atomic.AtomicLong;
@RunWith(AndroidJUnit4.class)
@SmallTest
@MediumTest
@Presubmit
public class EditorCursorDragTest {
private static final String LOG_TAG = EditorCursorDragTest.class.getSimpleName();

View File

@@ -22,6 +22,7 @@ import static junit.framework.Assert.assertTrue;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
import android.platform.test.annotations.Presubmit;
import android.view.InputDevice;
import android.view.MotionEvent;
import android.view.ViewConfiguration;
@@ -36,6 +37,7 @@ import org.junit.runners.JUnit4;
@RunWith(JUnit4.class)
@SmallTest
@Presubmit
public class EditorTouchStateTest {
private EditorTouchState mTouchState;