public virtual void TearDown() { if (_commit) { NHibernateSession.Current.Transaction.Commit(); } else if (NHibernateSession.Current.Transaction.IsActive) { NHibernateSession.Current.Transaction.Rollback(); } RepositoryTestsHelper.Shutdown(); }
public virtual void TearDown( ) { RepositoryTestsHelper.Shutdown(); }
public void OnAssemblyComplete() { RepositoryTestsHelper.Shutdown(); }
public virtual void TearDown() { NHibernateSession.Current.Transaction.Rollback(); RepositoryTestsHelper.Shutdown(); }