/// ------------------------------------------------------------------------------------ /// <summary> /// Create minimal test data required for every test. /// </summary> /// ------------------------------------------------------------------------------------ protected override void CreateTestData() { base.CreateTestData(); m_ribbon = new TestInterlinRibbon(Cache, m_stText.Hvo); m_ribbon.Width = 100; m_ribbon.Height = 40; Cache.VwCacheDaAccessor.CacheVecProp(m_stText.Hvo, m_ribbon.AnnotationListId, new int[0], 0); }
/// ------------------------------------------------------------------------------------ /// <summary> /// Create minimal test data required for every test. /// </summary> /// ------------------------------------------------------------------------------------ protected override void CreateTestData() { base.CreateTestData(); m_ribbon = new TestInterlinRibbon(Cache, m_stText.Hvo); m_ribbon.Width = 100; m_ribbon.Height = 40; Assert.IsNotNull(m_ribbon.Decorator, "Don't have correct access here."); m_ribbon.CacheRibbonItems(new List <AnalysisOccurrence>()); }
/// ------------------------------------------------------------------------------------ /// <summary> /// Create minimal test data required for every test. /// </summary> /// ------------------------------------------------------------------------------------ protected override void CreateTestData() { base.CreateTestData(); m_ribbon = new TestInterlinRibbon(Cache, m_stText.Hvo); m_ribbon.Width = 100; m_ribbon.Height = 40; Assert.IsNotNull(m_ribbon.Decorator, "Don't have correct access here."); m_ribbon.CacheRibbonItems(new List<AnalysisOccurrence>()); }
public override void Exit() { if (m_ribbon != null) { m_ribbon.Dispose(); m_ribbon = null; } m_ribbon = null; base.Exit(); }