예제 #1
0
 public void SetUp()
 {
     // Set up length window view and a test child view
     _myView    = new LengthBatchView(null, new LengthBatchViewFactory(), 5, null);
     _childView = new SupportBeanClassView(typeof(SupportMarketDataBean));
     _myView.AddView(_childView);
 }
예제 #2
0
 public void TestIncorrectUse()
 {
     try {
         _myView = new LengthBatchView(null, null, 0, null);
         Assert.Fail();
     } catch (ArgumentException ex) {
         // Expected exception
     }
 }