mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-05 22:38:59 +08:00
Move idle detection classes to its own directory
Reviewed By: AaaChiuuu Differential Revision: D4676282 fbshipit-source-id: 1b07e66ba638d4293eec65cb4e336f21dfb78218
This commit is contained in:
committed by
Facebook Github Bot
parent
e69a80f7f9
commit
238fd4ad19
@@ -20,6 +20,7 @@ import android.view.ViewGroup;
|
||||
|
||||
import com.facebook.infer.annotation.Assertions;
|
||||
import com.facebook.react.bridge.ReactContext;
|
||||
import com.facebook.react.testing.idledetection.IdleWaiter;
|
||||
|
||||
/**
|
||||
* Base class for instrumentation tests that runs React based react application in UI mode
|
||||
@@ -123,7 +124,6 @@ public abstract class ReactAppInstrumentationTestCase extends
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
getActivity().runOnUiThread(getScreenshotRunnable);
|
||||
try {
|
||||
if (!latch.await(5000, TimeUnit.MILLISECONDS)) {
|
||||
|
||||
Reference in New Issue
Block a user