Exemplo n.º 1
0
        public void TransactionOutcomeStateGetterRolledback()
        {
            HeuristicCompletionException ex = new HeuristicCompletionException(TransactionOutcomeState.Rolledback, new Exception());

            Assert.IsTrue(TransactionOutcomeState.Rolledback == ex.OutcomeState);
        }
Exemplo n.º 2
0
        public void TransactionOutcomeStateGetterMixed()
        {
            HeuristicCompletionException ex = new HeuristicCompletionException(TransactionOutcomeState.Mixed, new Exception());

            Assert.IsTrue(TransactionOutcomeState.Mixed == ex.OutcomeState);
        }
Exemplo n.º 3
0
        public void TransactionOutcomeStateGetter()
        {
            HeuristicCompletionException ex = new HeuristicCompletionException(TransactionOutcomeState.Unknown, new Exception());

            Assert.IsTrue(TransactionOutcomeState.Unknown == ex.OutcomeState);
        }
		public void TransactionOutcomeStateGetterRolledback() 
		{
			HeuristicCompletionException ex = new HeuristicCompletionException( TransactionOutcomeState.Rolledback, new Exception() );
			Assert.IsTrue( TransactionOutcomeState.Rolledback == ex.OutcomeState );
		}
		public void TransactionOutcomeStateGetterMixed() 
		{
			HeuristicCompletionException ex = new HeuristicCompletionException( TransactionOutcomeState.Mixed, new Exception() );
			Assert.IsTrue( TransactionOutcomeState.Mixed == ex.OutcomeState );
		}
		public void TransactionOutcomeStateGetter() 
		{
			HeuristicCompletionException ex = new HeuristicCompletionException( TransactionOutcomeState.Unknown, new Exception() );
			Assert.IsTrue( TransactionOutcomeState.Unknown == ex.OutcomeState );
		}