public void SetUp() { var schema = new Dictionary <String, Object>(); schema["STDDEV"] = typeof(double?); _parentEventType = SupportEventTypeFactory.CreateMapType(schema); var addProps = new Dictionary <String, Object>(); addProps["Symbol"] = typeof(string); var mergeEventType = SupportEventAdapterService.Service.CreateAnonymousWrapperType( "test", _parentEventType, addProps); // Set up length window view and a test child view _myView = new AddPropertyValueOptionalView( SupportStatementContextFactory.MakeAgentInstanceViewFactoryContext(), new String[] { "Symbol" }, "IBM", mergeEventType); _parentView = new SupportMapView(schema); _parentView.AddView(_myView); _childView = new SupportSchemaNeutralView(); _myView.AddView(_childView); }
public void SetUp() { _eventType = SupportEventTypeFactory.CreateBeanType(typeof(SupportBean_A)); _stream = new ZeroDepthStreamIterable(_eventType); _testChildView = new SupportSchemaNeutralView(); _stream.AddView(_testChildView); _testChildView.Parent = _stream; _eventBean = SupportEventBeanFactory.CreateObject(new SupportBean_A("a1")); }
public void SetUp() { top = new SupportSchemaNeutralView("top"); child_1 = new SupportSchemaNeutralView("1"); child_2 = new SupportSchemaNeutralView("2"); top.AddView(child_1); top.AddView(child_2); child_2_1 = new SupportSchemaNeutralView("2_1"); child_2_2 = new SupportSchemaNeutralView("2_2"); child_2.AddView(child_2_1); child_2.AddView(child_2_2); child_2_1_1 = new SupportSchemaNeutralView("2_1_1"); child_2_2_1 = new SupportSchemaNeutralView("2_2_1"); child_2_2_2 = new SupportSchemaNeutralView("2_2_2"); child_2_1.AddView(child_2_1_1); child_2_2.AddView(child_2_2_1); child_2_2.AddView(child_2_2_2); }
public void SetUp() { _container = SupportContainer.Reset(); top = new SupportSchemaNeutralView("top"); child_1 = new SupportSchemaNeutralView("1"); child_2 = new SupportSchemaNeutralView("2"); top.AddView(child_1); top.AddView(child_2); child_2_1 = new SupportSchemaNeutralView("2_1"); child_2_2 = new SupportSchemaNeutralView("2_2"); child_2.AddView(child_2_1); child_2.AddView(child_2_2); child_2_1_1 = new SupportSchemaNeutralView("2_1_1"); child_2_2_1 = new SupportSchemaNeutralView("2_2_1"); child_2_2_2 = new SupportSchemaNeutralView("2_2_2"); child_2_1.AddView(child_2_1_1); child_2_2.AddView(child_2_2_1); child_2_2.AddView(child_2_2_2); }