Ejemplo n.º 1
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// If a test overrides this, it should call this base implementation.
		/// </summary>
		/// ------------------------------------------------------------------------------------
		public override void FixtureSetup()
		{
			base.FixtureSetup();

			m_sda = Cache.DomainDataByFlid;
			m_entryFactory = Cache.ServiceLocator.GetInstance<ILexEntryFactory>();
			m_senseFactory = Cache.ServiceLocator.GetInstance<ILexSenseFactory>();
			m_possFact = Cache.ServiceLocator.GetInstance<ICmPossibilityFactory>();
			m_possRepo = Cache.ServiceLocator.GetInstance<ICmPossibilityRepository>();
		}
Ejemplo n.º 2
0
		internal override void Init(Mediator mediator, XmlNode node)
		{
			base.Init(mediator, node);
			m_objRepo = m_cache.ServiceLocator.GetInstance<ICmObjectRepository>();
			m_possRepo = m_cache.ServiceLocator.GetInstance<ICmPossibilityRepository>();
		}