Exemple #1
0
        public void TransactionOutcomeStateGetterRolledback()
        {
            HeuristicCompletionException ex = new HeuristicCompletionException(TransactionOutcomeState.Rolledback, new Exception());

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

            Assert.IsTrue(TransactionOutcomeState.Mixed == ex.OutcomeState);
        }
Exemple #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 );
		}