You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by cx...@apache.org on 2018/06/19 09:40:54 UTC

[07/50] [abbrv] incubator-weex git commit: * [Test] Update test.

* [Test] Update test.


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/65688e7c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/65688e7c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/65688e7c

Branch: refs/heads/release
Commit: 65688e7c774f373ece9554884ede5a5353d746c8
Parents: af072a6
Author: YorkShen <sh...@gmail.com>
Authored: Fri Jun 8 14:09:18 2018 +0800
Committer: YorkShen <sh...@gmail.com>
Committed: Fri Jun 8 14:09:18 2018 +0800

----------------------------------------------------------------------
 .../java/com/alibaba/weex/benchmark/BenchmarkTest.java         | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/65688e7c/android/playground/app/src/androidTest/java/com/alibaba/weex/benchmark/BenchmarkTest.java
----------------------------------------------------------------------
diff --git a/android/playground/app/src/androidTest/java/com/alibaba/weex/benchmark/BenchmarkTest.java b/android/playground/app/src/androidTest/java/com/alibaba/weex/benchmark/BenchmarkTest.java
index 27a90f2..7c5abaa 100644
--- a/android/playground/app/src/androidTest/java/com/alibaba/weex/benchmark/BenchmarkTest.java
+++ b/android/playground/app/src/androidTest/java/com/alibaba/weex/benchmark/BenchmarkTest.java
@@ -34,11 +34,13 @@ import android.support.test.uiautomator.Direction;
 import android.support.test.uiautomator.UiDevice;
 import android.support.test.uiautomator.UiObject2;
 import android.support.test.uiautomator.Until;
+import android.support.test.espresso.contrib.RecyclerViewActions;
 import android.text.TextUtils;
 import android.util.Log;
 import com.alibaba.weex.BenchmarkActivity;
 import com.taobao.weex.WXEnvironment;
 import com.taobao.weex.common.WXPerformance;
+import com.taobao.weex.ui.view.listview.WXRecyclerView;
 import com.taobao.weex.utils.WXLogUtils;
 import java.io.BufferedReader;
 import java.io.IOException;
@@ -119,7 +121,7 @@ public class BenchmarkTest {
   }
 
   @Repeat(TIMES)
-  @Test
+  //@Test
   @SdkSuppress(minSdkVersion = 23)
   public void testFlingFPS() {
     UiObject2 uiObject2 = loadPageForFPS();
@@ -133,7 +135,7 @@ public class BenchmarkTest {
   }
 
   @Repeat(TIMES)
-  @Test
+  //@Test
   @SdkSuppress(minSdkVersion = 23)
   public void testScrollFPS() {
     UiObject2 uiObject2 = loadPageForFPS();