public override void Initialize() { CheckDisposed(); base.Initialize(); m_vc = new DummyCollectorEnvVc(); m_collectorEnv = new DummyCollectorEnv(Cache.MainCacheAccessor, Int32.MaxValue); }
/// ------------------------------------------------------------------------------------ /// <summary> /// /// </summary> /// <remarks>This method is called after each test</remarks> /// ------------------------------------------------------------------------------------ public override void TestTearDown() { m_vc = null; m_collectorEnv = null; m_scr.ScriptureBooksOS.Remove(m_book); m_book = null; base.TestTearDown(); }
/// ------------------------------------------------------------------------------------ /// <summary> /// Create the dialog /// </summary> /// ------------------------------------------------------------------------------------ public override void TestSetup() { base.TestSetup(); m_vc = new DummyCollectorEnvVc(); m_book = Cache.ServiceLocator.GetInstance <IScrBookFactory>().Create(1); m_collectorEnv = new DummyCollectorEnv(Cache.DomainDataByFlid, m_book.Hvo); m_text = AddTitleToMockedBook(m_book, "Who cares?"); }
public override void Exit() { CheckDisposed(); m_vc.Dispose(); m_vc = null; m_collectorEnv = null; base.Exit(); }
/// ------------------------------------------------------------------------------------ /// <summary> /// Create the dialog /// </summary> /// ------------------------------------------------------------------------------------ public override void TestSetup() { base.TestSetup(); m_vc = new DummyCollectorEnvVc(); m_book = Cache.ServiceLocator.GetInstance<IScrBookFactory>().Create(1); m_collectorEnv = new DummyCollectorEnv(Cache.DomainDataByFlid, m_book.Hvo); m_text = AddTitleToMockedBook(m_book, "Who cares?"); }