コード例 #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?");
		}