Ejemplo n.º 1
0
        public override void Initialize()
        {
            CheckDisposed();
            base.Initialize();

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

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

            base.Exit();
        }
Ejemplo n.º 5
0
		public override void Exit()
		{
			CheckDisposed();

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

			base.Exit();
		}
Ejemplo n.º 6
0
		public override void Initialize()
		{
			CheckDisposed();
			base.Initialize();

			m_vc = new DummyCollectorEnvVc();
			m_collectorEnv = new DummyCollectorEnv(Cache.MainCacheAccessor, Int32.MaxValue);
		}
Ejemplo n.º 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();
		}
Ejemplo n.º 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?");
		}