示例#1
0
 public void SetUp()
 {
     _mockFactory            = new MockFactory();
     _mockScrollViewScroller = _mockFactory.CreateMock <IScrollViewScroller>();
     _testScrollView         = new TestScrollView(_mockScrollViewScroller.MockObject);
     _scrollViewManager      = new ReactScrollViewManager();
 }
示例#2
0
 public void SetUp()
 {
     _mockFactory            = new MockFactory();
     _mockScrollViewScroller = _mockFactory.CreateMock <IScrollViewScroller>();
     _testScrollView         = new TestScrollView(_mockScrollViewScroller.MockObject);
     _scrollViewManager      = new ReactScrollViewManager();
     GlobalSettings.DefaultFloatingPointTolerance = 0.01;
 }