Пример #1
0
		public void TearDown()
		{
			testAssignmentContext = null;
			ServiceLocator.Instance.Release(organisationComponent);
			container.Dispose();
			container = null;
//			serviceLocator.release(organisationComponent);
		}
Пример #2
0
        public void TearDown()
        {
            testAssignmentContext = null;
            ServiceLocator.Instance.Release(organisationComponent);
            container.Dispose();
            container = null;
//			serviceLocator.release(organisationComponent);
        }
Пример #3
0
		public void SetUp()
		{
			//configure the container
			container = new NetBpm.NetBpmContainer(new XmlInterpreter(TestHelper.GetConfigDir()+"app_config.xml"));
			organisationComponent = (IOrganisationService) ServiceLocator.Instance.GetService(typeof (IOrganisationService));
			testAssignmentContext = new TestAssignmentContext(this,organisationComponent);
			assignmentExpressionResolver = new AssignmentExpressionResolver();
		}
Пример #4
0
 public void SetUp()
 {
     //configure the container
     container                    = new NetBpm.NetBpmContainer(new XmlInterpreter(TestHelper.GetConfigDir() + "app_config.xml"));
     organisationComponent        = (IOrganisationService)ServiceLocator.Instance.GetService(typeof(IOrganisationService));
     testAssignmentContext        = new TestAssignmentContext(this, organisationComponent);
     assignmentExpressionResolver = new AssignmentExpressionResolver();
 }