mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Reverted commit D3334273
Reviewed By: astreet Differential Revision: D3334273 fbshipit-source-id: a3849604ea89db74900850c294685e7da9aeeacc
This commit is contained in:
committed by
Facebook Github Bot 7
parent
757ab0b936
commit
705daabbb1
+5
-2
@@ -14,7 +14,6 @@ import java.util.concurrent.TimeUnit;
|
||||
import com.facebook.react.bridge.BaseJavaModule;
|
||||
import com.facebook.react.bridge.Callback;
|
||||
import com.facebook.react.bridge.ReactMethod;
|
||||
import com.facebook.react.bridge.annotations.ReactModule;
|
||||
|
||||
/**
|
||||
* This class is used to verify that some JS integration tests have completed successfully.
|
||||
@@ -24,7 +23,6 @@ import com.facebook.react.bridge.annotations.ReactModule;
|
||||
* to wait for the test to run, and {#link JSIntegrationTestChecker#isTestDone()} to check if it
|
||||
* completed successfully.
|
||||
*/
|
||||
@ReactModule(name = "TestModule")
|
||||
public class JSIntegrationTestChecker extends BaseJavaModule {
|
||||
|
||||
private final CountDownLatch mLatch;
|
||||
@@ -33,6 +31,11 @@ public class JSIntegrationTestChecker extends BaseJavaModule {
|
||||
mLatch = new CountDownLatch(1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "TestModule";
|
||||
}
|
||||
|
||||
@ReactMethod
|
||||
public void markTestCompleted() {
|
||||
mLatch.countDown();
|
||||
|
||||
Reference in New Issue
Block a user