public void SetUp() { this.timelineModel = new MockTimelineModel { Duration = TimeCode.FromAbsoluteTime(10000, SmpteFrameRate.Smpte30) }; }
public void SetUp() { this.view = new MockCommentEditBox(); this.preview = new MockCommentViewPreview(); this.eventAggregator = new MockEventAggregator(); this.configurationService = new MockConfigurationService(); this.timelineModel = new MockTimelineModel(); this.playCommentEvent = new MockPlayCommentEvent(); this.commentUpdatedEvent = new MockCommentUpdatedEvent(); this.eventAggregator.AddMapping <PlayCommentEvent>(this.playCommentEvent); this.eventAggregator.AddMapping <CommentUpdatedEvent>(this.commentUpdatedEvent); }
public void SetUp() { this.view = new MockCommentsBarView(); this.eventAggregator = new MockEventAggregator(); this.timelineModel = new MockTimelineModel(); this.timelineBarRegistry = new MockTimelineBarRegistry(); this.positionDoubleClickedEvent = new MockPositionDoubleClickedEvent(); this.refreshElementsEvent = new MockRefreshElementsEvent(); this.addPreviewEvent = new MockAddPreviewEvent(); this.eventAggregator.AddMapping <PositionDoubleClickedEvent>(this.positionDoubleClickedEvent); this.eventAggregator.AddMapping <RefreshElementsEvent>(this.refreshElementsEvent); this.eventAggregator.AddMapping <AddPreviewEvent>(this.addPreviewEvent); }
public void SetUp() { this.timelineModel = new MockTimelineModel(); }