Welcome to mirror list, hosted at ThFree Co, Russian Federation.

AssertionFailedError.cs « NUnitCore « src « nunit « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9afebde079cdd8411692064d5677e4ab12c4b787 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
namespace NUnit.Framework 
{
	using System;
	using System.Runtime.Serialization;

	/// <summary>
	/// Thrown when an assertion failed.
	/// </summary>
	[Serializable]
	public class AssertionFailedError : ApplicationException//NUnitException
	{
		/// <summary>
		/// Serialization Constructor
		/// </summary>
		protected AssertionFailedError(SerializationInfo info, 
			StreamingContext context) : base(info,context){}
		/// <summary>
		/// 
		/// </summary>
		/// <param name="message"></param>
		public AssertionFailedError (string message) : base(message) {}
//		public override bool IsAssertionFailure 
//		{
//			get{return true;}
//		}
	}
}