Пример #1
0
        public override void Initialize()
        {
            CheckDisposed();
            base.Initialize();

            m_vc           = new DummyCollectorEnvVc();
            m_collectorEnv = new DummyCollectorEnv(Cache.MainCacheAccessor, Int32.MaxValue);
        }
Пример #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();
        }
Пример #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?");
        }
Пример #4
0
        public override void Exit()
        {
            CheckDisposed();

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

            base.Exit();
        }
Пример #5
0
		public override void Exit()
		{
			CheckDisposed();

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

			base.Exit();
		}
Пример #6
0
		public override void Initialize()
		{
			CheckDisposed();
			base.Initialize();

			m_vc = new DummyCollectorEnvVc();
			m_collectorEnv = new DummyCollectorEnv(Cache.MainCacheAccessor, Int32.MaxValue);
		}
Пример #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();
		}
Пример #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?");
		}