Java 类com.facebook.react.testing.ReactInstanceSpecForTest 实例源码

项目:RNLearn_Project1    文件:CatalystMeasureLayoutTest.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  mAssertModule = new AssertModule();
  return new ReactInstanceSpecForTest()
      .addNativeModule(mAssertModule)
      .addJSModule(MeasureLayoutTestModule.class);
}
项目:RNLearn_Project1    文件:CatalystSubviewsClippingTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  ReactInstanceSpecForTest instanceSpec = new ReactInstanceSpecForTest();
  instanceSpec.addJSModule(SubviewsClippingTestModule.class);
  instanceSpec.addViewManager(new ClippableViewManager(mEvents));
  return instanceSpec;
}
项目:RNLearn_Project1    文件:ReactPickerTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  mRecordingModule = new PickerAndroidRecordingModule();
  return super.createReactInstanceSpecForTest()
    .addJSModule(PickerAndroidTestModule.class)
    .addNativeModule(mRecordingModule);
}
项目:RNLearn_Project1    文件:AbstractScrollViewTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  mScrollListenerModule = new ScrollListenerModule();
  return super.createReactInstanceSpecForTest()
      .addNativeModule(mScrollListenerModule)
      .addJSModule(ScrollViewTestModule.class);
}
项目:RNLearn_Project1    文件:CatalystMeasureLayoutTest.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  mAssertModule = new AssertModule();
  return new ReactInstanceSpecForTest()
      .addNativeModule(mAssertModule)
      .addJSModule(MeasureLayoutTestModule.class);
}
项目:RNLearn_Project1    文件:CatalystSubviewsClippingTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  ReactInstanceSpecForTest instanceSpec = new ReactInstanceSpecForTest();
  instanceSpec.addJSModule(SubviewsClippingTestModule.class);
  instanceSpec.addViewManager(new ClippableViewManager(mEvents));
  return instanceSpec;
}
项目:RNLearn_Project1    文件:ReactPickerTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  mRecordingModule = new PickerAndroidRecordingModule();
  return super.createReactInstanceSpecForTest()
    .addJSModule(PickerAndroidTestModule.class)
    .addNativeModule(mRecordingModule);
}
项目:RNLearn_Project1    文件:AbstractScrollViewTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  mScrollListenerModule = new ScrollListenerModule();
  return super.createReactInstanceSpecForTest()
      .addNativeModule(mScrollListenerModule)
      .addJSModule(ScrollViewTestModule.class);
}
项目:ReactNativeSignatureExample    文件:AbstractScrollViewTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  mScrollListenerModule = new ScrollListenerModule();
  return super.createReactInstanceSpecForTest()
      .addNativeModule(mScrollListenerModule)
      .addJSModule(ScrollViewTestModule.class);
}
项目:react-native-ibeacon-android    文件:AbstractScrollViewTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  mScrollListenerModule = new ScrollListenerModule();
  return super.createReactInstanceSpecForTest()
      .addNativeModule(mScrollListenerModule)
      .addJSModule(ScrollViewTestModule.class);
}
项目:react-native-box-loaders    文件:ReactPickerTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  mRecordingModule = new PickerAndroidRecordingModule();
  return super.createReactInstanceSpecForTest()
    .addJSModule(PickerAndroidTestModule.class)
    .addNativeModule(mRecordingModule);
}
项目:react-native-box-loaders    文件:AbstractScrollViewTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  mScrollListenerModule = new ScrollListenerModule();
  return super.createReactInstanceSpecForTest()
      .addNativeModule(mScrollListenerModule)
      .addJSModule(ScrollViewTestModule.class);
}
项目:Ironman    文件:CatalystMeasureLayoutTest.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  mAssertModule = new AssertModule();
  return new ReactInstanceSpecForTest()
      .addNativeModule(mAssertModule)
      .addJSModule(MeasureLayoutTestModule.class);
}
项目:Ironman    文件:CatalystSubviewsClippingTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  ReactInstanceSpecForTest instanceSpec = new ReactInstanceSpecForTest();
  instanceSpec.addJSModule(SubviewsClippingTestModule.class);
  instanceSpec.addViewManager(new ClippableViewManager(mEvents));
  return instanceSpec;
}
项目:Ironman    文件:ReactPickerTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  mRecordingModule = new PickerAndroidRecordingModule();
  return super.createReactInstanceSpecForTest()
    .addJSModule(PickerAndroidTestModule.class)
    .addNativeModule(mRecordingModule);
}
项目:Ironman    文件:AbstractScrollViewTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  mScrollListenerModule = new ScrollListenerModule();
  return super.createReactInstanceSpecForTest()
      .addNativeModule(mScrollListenerModule)
      .addJSModule(ScrollViewTestModule.class);
}
项目:RNLearn_Project1    文件:TimePickerDialogTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  return super.createReactInstanceSpecForTest()
      .addNativeModule(mRecordingModule)
      .addJSModule(TimePickerDialogTestModule.class);
}
项目:RNLearn_Project1    文件:LayoutEventsTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  mStringRecordingModule = new StringRecordingModule();
  return super.createReactInstanceSpecForTest()
      .addNativeModule(mStringRecordingModule);
}
项目:RNLearn_Project1    文件:CatalystMultitouchHandlingTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  return new ReactInstanceSpecForTest()
      .addNativeModule(mRecordingModule);
}
项目:RNLearn_Project1    文件:ReactSwipeRefreshLayoutTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  return super.createReactInstanceSpecForTest()
      .addNativeModule(mRecordingModule)
      .addJSModule(SwipeRefreshLayoutTestModule.class);
}
项目:RNLearn_Project1    文件:ShareTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  return super.createReactInstanceSpecForTest()
      .addNativeModule(mRecordingModule)
      .addJSModule(ShareTestModule.class);
}
项目:RNLearn_Project1    文件:DatePickerDialogTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  return super.createReactInstanceSpecForTest()
      .addNativeModule(mRecordingModule)
      .addJSModule(DatePickerDialogTestModule.class);
}
项目:RNLearn_Project1    文件:CatalystTouchBubblingTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  return new ReactInstanceSpecForTest()
      .addNativeModule(mRecordingModule);
}
项目:RNLearn_Project1    文件:ReactRootViewTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  mRecordingModule = new StringRecordingModule();
  return new ReactInstanceSpecForTest()
      .addNativeModule(mRecordingModule);
}
项目:RNLearn_Project1    文件:TimePickerDialogTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  return super.createReactInstanceSpecForTest()
      .addNativeModule(mRecordingModule)
      .addJSModule(TimePickerDialogTestModule.class);
}
项目:RNLearn_Project1    文件:LayoutEventsTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  mStringRecordingModule = new StringRecordingModule();
  return super.createReactInstanceSpecForTest()
      .addNativeModule(mStringRecordingModule);
}
项目:RNLearn_Project1    文件:CatalystMultitouchHandlingTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  return new ReactInstanceSpecForTest()
      .addNativeModule(mRecordingModule);
}
项目:RNLearn_Project1    文件:ReactSwipeRefreshLayoutTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  return super.createReactInstanceSpecForTest()
      .addNativeModule(mRecordingModule)
      .addJSModule(SwipeRefreshLayoutTestModule.class);
}
项目:RNLearn_Project1    文件:ShareTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  return super.createReactInstanceSpecForTest()
      .addNativeModule(mRecordingModule)
      .addJSModule(ShareTestModule.class);
}
项目:RNLearn_Project1    文件:DatePickerDialogTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  return super.createReactInstanceSpecForTest()
      .addNativeModule(mRecordingModule)
      .addJSModule(DatePickerDialogTestModule.class);
}
项目:RNLearn_Project1    文件:CatalystTouchBubblingTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  return new ReactInstanceSpecForTest()
      .addNativeModule(mRecordingModule);
}
项目:RNLearn_Project1    文件:ReactRootViewTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  mRecordingModule = new StringRecordingModule();
  return new ReactInstanceSpecForTest()
      .addNativeModule(mRecordingModule);
}
项目:Ironman    文件:TextInputTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  return super.createReactInstanceSpecForTest()
      .addJSModule(TextInputTestModule.class);
}
项目:Ironman    文件:TimePickerDialogTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  return super.createReactInstanceSpecForTest()
      .addNativeModule(mRecordingModule)
      .addJSModule(TimePickerDialogTestModule.class);
}
项目:Ironman    文件:LayoutEventsTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  mStringRecordingModule = new StringRecordingModule();
  return super.createReactInstanceSpecForTest()
      .addNativeModule(mStringRecordingModule);
}
项目:Ironman    文件:CatalystMultitouchHandlingTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  return new ReactInstanceSpecForTest()
      .addNativeModule(mRecordingModule);
}
项目:Ironman    文件:ReactSwipeRefreshLayoutTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  return super.createReactInstanceSpecForTest()
      .addNativeModule(mRecordingModule)
      .addJSModule(SwipeRefreshLayoutTestModule.class);
}
项目:Ironman    文件:ShareTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  return super.createReactInstanceSpecForTest()
      .addNativeModule(mRecordingModule)
      .addJSModule(ShareTestModule.class);
}
项目:Ironman    文件:DatePickerDialogTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  return super.createReactInstanceSpecForTest()
      .addNativeModule(mRecordingModule)
      .addJSModule(DatePickerDialogTestModule.class);
}
项目:Ironman    文件:CatalystTouchBubblingTestCase.java   
@Override
protected ReactInstanceSpecForTest createReactInstanceSpecForTest() {
  return new ReactInstanceSpecForTest()
      .addNativeModule(mRecordingModule);
}