public void TearDown()
        {
            BusinessObjectProvider.SetProvider(typeof(BindableDomainObjectProviderAttribute), null);

            ClientTransactionScope.ResetActiveScope();
            _serviceLocatorScope.Dispose();
        }
Exemplo n.º 2
0
        public override void TearDown()
        {
            ClientTransactionScope.ResetActiveScope();
            _serviceLocatorScope.Dispose();

            base.TearDown();
        }
 public void TearDown()
 {
     if (_serviceLocatorScope != null)
     {
         _serviceLocatorScope.Dispose();
     }
 }
Exemplo n.º 4
0
        public void TearDown()
        {
            BusinessObjectProvider.SetProvider(typeof(BindableDomainObjectProviderAttribute), null);

            ClientTransactionScope.ResetActiveScope();
            SecurityConfiguration.Current.DisableAccessChecks = _disableAccessChecksBackup;
            _serviceLocatorScope.Dispose();
        }
        public void TearDown()
        {
            if (ShowLogOutput)
            {
                var logEvents = MemoryAppender.GetEvents().Reverse().ToArray();
                Console.WriteLine(logEvents.Skip(1).First().RenderedMessage);
                Console.WriteLine(logEvents.First().RenderedMessage);
            }

            MemoryAppender.Clear();
            LogManager.ResetConfiguration();

            Assert.That(LogManager.GetLogger(typeof(DiagnosticOutputRuleMergeDecorator)).IsDebugEnabled, Is.False);
            _serviceLocatorScope.Dispose();
        }
        public override void TearDown()
        {
            _serviceLocatorScope.Dispose();

            base.TearDown();
        }
Exemplo n.º 7
0
 public void TearDown()
 {
     _serviceLocatorScope.Dispose();
 }
Exemplo n.º 8
0
 public void TearDownSecurityIoCConfiguration()
 {
     _serviceLocatorScope.Dispose();
 }
 public override void TearDown()
 {
     base.TearDown();
     _serviceLocatorStub.Dispose();
 }