Example #1
0
        public override void Initialize()
        {
            CheckDisposed();
            base.Initialize();

            m_vc           = new DummyCollectorEnvVc();
            m_collectorEnv = new DummyCollectorEnv(Cache.MainCacheAccessor, Int32.MaxValue);
        }
Example #2
0
        /// ------------------------------------------------------------------------------------
        /// <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();
        }
Example #3
0
        /// ------------------------------------------------------------------------------------
        /// <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?");
        }
Example #4
0
        public override void Exit()
        {
            CheckDisposed();

            m_vc.Dispose();
            m_vc           = null;
            m_collectorEnv = null;

            base.Exit();
        }
Example #5
0
		public override void Exit()
		{
			CheckDisposed();

			m_vc.Dispose();
			m_vc = null;
			m_collectorEnv = null;

			base.Exit();
		}
Example #6
0
		public override void Initialize()
		{
			CheckDisposed();
			base.Initialize();

			m_vc = new DummyCollectorEnvVc();
			m_collectorEnv = new DummyCollectorEnv(Cache.MainCacheAccessor, Int32.MaxValue);
		}
Example #7
0
		/// ------------------------------------------------------------------------------------
		/// <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();
		}
Example #8
0
		/// ------------------------------------------------------------------------------------
		/// <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?");
		}