NUnit.Framework.Assert.DoAssert(IAsserter)

Here are the examples of the csharp api class NUnit.Framework.Assert.DoAssert(IAsserter) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

80 Examples 7

1. Example

Project: 32feet
Source File: Assert.cs
View license
public static void IsNotEmpty( ICollection collection, string message, params object[] args )
		{
			DoAssert( new NotEmptyAsserter( collection, message, args ) );
		}

2. Example

Project: 32feet
Source File: Assert.cs
View license
static public void IsNotNull(Object anObject, string message, params object[] args) 
		{
			DoAssert( new NotNullAsserter( anObject, message, args ) );
		}

3. Example

Project: 32feet
Source File: Assert.cs
View license
static public void Greater(float arg1, 
			float arg2, string message, params object[] args) 
		{
			DoAssert( new GreaterAsserter( arg2, arg1, message, args ) );
		}

4. Example

Project: 32feet
Source File: Assert.cs
View license
public static void IsNotInstanceOfType( System.Type expected, object actual, string message, params object[] args )
		{
			Assert.DoAssert( new NotInstanceOfTypeAsserter( expected, actual, message, args ) );
		}

5. Example

Project: 32feet
Source File: Assert.cs
View license
public static void IsNotEmpty( string aString, string message, params object[] args )
		{
			DoAssert( new NotEmptyAsserter( aString, message, args ) );
		}

6. Example

Project: 32feet
Source File: Assert.cs
View license
static public void Less(decimal arg1, decimal arg2, string message, params object[] args) 
		{
			DoAssert( new LessAsserter( arg2, arg1, message, args ) );
		}

7. Example

Project: 32feet
Source File: Assert.cs
View license
static public void Greater(decimal arg1, 
			decimal arg2, string message, params object[] args) 
		{
			DoAssert( new GreaterAsserter( arg2, arg1, message, args ) );
		}

8. Example

Project: 32feet
Source File: Assert.cs
View license
static public void AreEqual(int expected, 
			int actual, string message, params object[] args) 
		{
			DoAssert( new EqualAsserter( expected, actual, message, args ) );
		}

9. Example

Project: 32feet
Source File: Assert.cs
View license
static public void IsTrue(bool condition, string message, params object[] args) 
		{
			DoAssert( new TrueAsserter( condition, message, args ) );
		}

10. Example

Project: 32feet
Source File: Assert.cs
View license
static public void Greater(uint arg1, 
			uint arg2, string message, params object[] args) 
		{
			DoAssert( new GreaterAsserter( arg2, arg1, message, args ) );
		}

11. Example

Project: 32feet
Source File: Assert.cs
View license
static public void AreEqual(Object expected, Object actual, string message, params object[] args)
		{
			DoAssert( new EqualAsserter(expected, actual, message, args) );
		}

12. Example

Project: 32feet
Source File: Assert.cs
View license
static public void Less(int arg1, int arg2, string message, params object[] args) 
		{
			DoAssert( new LessAsserter( arg2, arg1, message, args ) );
		}

13. Example

Project: 32feet
Source File: Assert.cs
View license
static public void AreEqual(double expected, 
			double actual, double delta, string message, params object[] args) 
		{
			DoAssert( new EqualAsserter( expected, actual, delta, message, args ) );
		}

14. Example

Project: 32feet
Source File: Assert.cs
View license
static public void IsNotAssignableFrom( System.Type expected, object actual, string message, params object[] args )
		{
			Assert.DoAssert( new NotAssignableFromAsserter( expected, actual, message, args ) );
		}

15. Example

Project: 32feet
Source File: Assert.cs
View license
static public void Contains( object expected, IList actual, string message, params object[] args )
		{
			Assert.DoAssert( new ListContentsAsserter( expected, actual, message, args ) );
		}

16. Example

Project: 32feet
Source File: Assert.cs
View license
static public void Less(double arg1, double arg2, string message, params object[] args) 
		{
			DoAssert( new LessAsserter( arg2, arg1, message, args ) );
		}

17. Example

Project: 32feet
Source File: Assert.cs
View license
static public void AreEqual(Object expected, Object actual, string message, params object[] args)
		{
			DoAssert( new EqualAsserter(expected, actual, message, args) );
		}

18. Example

Project: 32feet
Source File: Assert.cs
View license
static public void Less(float arg1, float arg2, string message, params object[] args) 
		{
			DoAssert( new LessAsserter( arg2, arg1, message, args ) );
		}

19. Example

Project: 32feet
Source File: Assert.cs
View license
static public void IsTrue(bool condition, string message, params object[] args) 
		{
			DoAssert( new TrueAsserter( condition, message, args ) );
		}

20. Example

Project: 32feet
Source File: Assert.cs
View license
public static void IsInstanceOfType( System.Type expected, object actual, string message, params object[] args )
		{
			Assert.DoAssert( new InstanceOfTypeAsserter( expected, actual, message, args ) );
		}

21. Example

Project: 32feet
Source File: Assert.cs
View license
static public void AreEqual(decimal expected, 
			decimal actual, string message, params object[] args) 
		{
			DoAssert( new EqualAsserter( expected, actual, message, args ) );
		}

22. Example

Project: 32feet
Source File: Assert.cs
View license
public static void IsNotEmpty( string aString, string message, params object[] args )
		{
			DoAssert( new NotEmptyAsserter( aString, message, args ) );
		}

23. Example

Project: 32feet
Source File: Assert.cs
View license
static public void AreNotEqual( decimal expected, decimal actual, string message, params object[] args)
		{
			DoAssert( new NotEqualAsserter( expected, actual, message, args ) );
		}

24. Example

Project: 32feet
Source File: Assert.cs
View license
static public void AreEqual(uint expected, 
			uint actual, string message, params object[] args) 
		{
			DoAssert( new EqualAsserter( expected, actual, message, args ) );
		}

25. Example

Project: 32feet
Source File: Assert.cs
View license
static public void AreNotSame(Object expected, Object actual, string message, params object[] args)
		{
			DoAssert( new NotSameAsserter( expected, actual, message, args ) );
		}

26. Example

Project: 32feet
Source File: Assert.cs
View license
static public void AreEqual(double expected, 
			double actual, double delta, string message, params object[] args) 
		{
			DoAssert( new EqualAsserter( expected, actual, delta, message, args ) );
		}

27. Example

Project: 32feet
Source File: Assert.cs
View license
public static void IsNotInstanceOfType( System.Type expected, object actual, string message, params object[] args )
		{
			Assert.DoAssert( new NotInstanceOfTypeAsserter( expected, actual, message, args ) );
		}

28. Example

Project: 32feet
Source File: Assert.cs
View license
public static void IsEmpty( string aString, string message, params object[] args )
		{
			DoAssert( new EmptyAsserter( aString, message, args ) );
		}

29. Example

Project: 32feet
Source File: Assert.cs
View license
static public void Less(uint arg1, uint arg2, string message, params object[] args) 
		{
			DoAssert( new LessAsserter( arg2, arg1, message, args ) );
		}

30. Example

Project: 32feet
Source File: Assert.cs
View license
static public void Greater(IComparable arg1, 
			IComparable arg2, string message, params object[] args) 
		{
			DoAssert( new GreaterAsserter( arg2, arg1, message, args ) );
		}

31. Example

Project: 32feet
Source File: Assert.cs
View license
static public void AreNotEqual( int expected, int actual, string message, params object[] args)
		{
			DoAssert( new NotEqualAsserter( expected, actual, message, args ) );
		}

32. Example

Project: 32feet
Source File: Assert.cs
View license
static public void IsFalse(bool condition, string message, params object[] args) 
		{
			DoAssert( new FalseAsserter( condition, message, args ) );
		}

33. Example

Project: 32feet
Source File: Assert.cs
View license
static public void IsAssignableFrom( System.Type expected, object actual, string message, params object[] args )
		{
			Assert.DoAssert( new AssignableFromAsserter( expected, actual, message, args ) );
		}

34. Example

Project: 32feet
Source File: Assert.cs
View license
static public void AreNotEqual( double expected, double actual, string message, params object[] args)
		{
			DoAssert( new NotEqualAsserter( expected, actual, message, args ) );
		}

35. Example

Project: 32feet
Source File: Assert.cs
View license
static public void Greater(double arg1, 
			double arg2, string message, params object[] args) 
		{
			DoAssert( new GreaterAsserter( arg2, arg1, message, args ) );
		}

36. Example

Project: 32feet
Source File: Assert.cs
View license
static public void AreEqual(float expected, 
			float actual, float delta, string message, params object[] args) 
		{
			DoAssert( new EqualAsserter( expected, actual, delta, message, args ) );
		}

37. Example

Project: 32feet
Source File: Assert.cs
View license
static public void IsNotAssignableFrom( System.Type expected, object actual, string message, params object[] args )
		{
			Assert.DoAssert( new NotAssignableFromAsserter( expected, actual, message, args ) );
		}

38. Example

Project: 32feet
Source File: Assert.cs
View license
public static void IsEmpty( ICollection collection, string message, params object[] args )
		{
			DoAssert( new EmptyAsserter( collection, message, args ) );
		}

39. Example

Project: 32feet
Source File: Assert.cs
View license
static public void AreNotEqual( int expected, int actual, string message, params object[] args)
		{
			DoAssert( new NotEqualAsserter( expected, actual, message, args ) );
		}

40. Example

Project: 32feet
Source File: Assert.cs
View license
static public void AreNotEqual( uint expected, uint actual, string message, params object[] args)
		{
			DoAssert( new NotEqualAsserter( expected, actual, message, args ) );
		}

41. Example

Project: 32feet
Source File: Assert.cs
View license
static public void Less(decimal arg1, decimal arg2, string message, params object[] args) 
		{
			DoAssert( new LessAsserter( arg2, arg1, message, args ) );
		}

42. Example

Project: 32feet
Source File: Assert.cs
View license
static public void Less(uint arg1, uint arg2, string message, params object[] args) 
		{
			DoAssert( new LessAsserter( arg2, arg1, message, args ) );
		}

43. Example

Project: 32feet
Source File: Assert.cs
View license
static public void IsNull(Object anObject, string message, params object[] args) 
		{
			DoAssert( new NullAsserter( anObject, message, args ) );
		}

44. Example

Project: 32feet
Source File: Assert.cs
View license
static public void Less(IComparable arg1, IComparable arg2, string message, params object[] args) 
		{
			DoAssert( new LessAsserter( arg2, arg1, message, args ) );
		}

45. Example

Project: 32feet
Source File: Assert.cs
View license
static public void AreNotEqual( double expected, double actual, string message, params object[] args)
		{
			DoAssert( new NotEqualAsserter( expected, actual, message, args ) );
		}

46. Example

Project: 32feet
Source File: Assert.cs
View license
static public void Greater(float arg1, 
			float arg2, string message, params object[] args) 
		{
			DoAssert( new GreaterAsserter( arg2, arg1, message, args ) );
		}

47. Example

Project: 32feet
Source File: Assert.cs
View license
static public void AreSame(Object expected, Object actual, string message, params object[] args)
		{
			DoAssert( new SameAsserter( expected, actual, message, args ) );
		}

48. Example

Project: 32feet
Source File: Assert.cs
View license
static public void AreNotEqual( decimal expected, decimal actual, string message, params object[] args)
		{
			DoAssert( new NotEqualAsserter( expected, actual, message, args ) );
		}

49. Example

Project: 32feet
Source File: Assert.cs
View license
static public void AreNotEqual( uint expected, uint actual, string message, params object[] args)
		{
			DoAssert( new NotEqualAsserter( expected, actual, message, args ) );
		}

50. Example

Project: 32feet
Source File: Assert.cs
View license
public static void IsEmpty( string aString, string message, params object[] args )
		{
			DoAssert( new EmptyAsserter( aString, message, args ) );
		}