NUnit.Framework.Assert.DoesNotThrow(NUnit.Framework.TestDelegate, string, params object[])

Here are the examples of the csharp api class NUnit.Framework.Assert.DoesNotThrow(NUnit.Framework.TestDelegate, string, params object[]) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

31 Examples 7

1. Example

Project: msgpack-cli
Source File: Assert.Exceptions.cs
View license
public static void DoesNotThrow(TestDelegate code)
        {
            DoesNotThrow(code, string.Empty, null);
        }

2. Example

Project: AutoTest.Net
Source File: Assert.cs
View license
public static void DoesNotThrow(TestDelegate code)
        {
            DoesNotThrow(code, string.Empty, null);
        }

3. Example

Project: AutoTest.Net
Source File: Assert.cs
View license
public static void DoesNotThrow(TestDelegate code, string message)
        {
            DoesNotThrow(code, message, null);
        }

4. Example

Project: AutoTest.Net
Source File: Assert.template.cs
View license
public static void DoesNotThrow(TestDelegate code)
        {
            DoesNotThrow(code, string.Empty, null);
        }

5. Example

Project: AutoTest.Net
Source File: Assert.template.cs
View license
public static void DoesNotThrow(TestDelegate code)
        {
            DoesNotThrow(code, string.Empty, null);
        }

6. Example

Project: AutoTest.Net
Source File: Assert.cs
View license
public static void DoesNotThrow(TestDelegate code, string message)
        {
            DoesNotThrow(code, message, null);
        }

7. Example

Project: AutoTest.Net
Source File: Assert.template.cs
View license
public static void DoesNotThrow(TestDelegate code, string message)
        {
            DoesNotThrow(code, message, null);
        }

8. Example

Project: AutoTest.Net
Source File: Assert.cs
View license
public static void DoesNotThrow(TestDelegate code)
        {
            DoesNotThrow(code, string.Empty, null);
        }

9. Example

Project: AutoTest.Net
Source File: Assert.cs
View license
public static void DoesNotThrow(TestDelegate code)
        {
            DoesNotThrow(code, string.Empty, null);
        }

10. Example

Project: AutoTest.Net
Source File: Assert.cs
View license
public static void DoesNotThrow(TestDelegate code, string message)
        {
            DoesNotThrow(code, message, null);
        }

11. Example

Project: AutoTest.Net
Source File: Assert.template.cs
View license
public static void DoesNotThrow(TestDelegate code, string message)
        {
            DoesNotThrow(code, message, null);
        }

12. Example

Project: nunit-unity3d
Source File: Assert.cs
View license
public static void DoesNotThrow(TestDelegate code, string message)
        {
            DoesNotThrow(code, message, null);
        }

13. Example

Project: nunit-unity3d
Source File: Assert.cs
View license
public static void DoesNotThrow(TestDelegate code)
        {
            DoesNotThrow(code, string.Empty, null);
        }

14. Example

Project: nunit
Source File: Assert.Exceptions.cs
View license
public static void DoesNotThrow(TestDelegate code)
        {
            DoesNotThrow(code, string.Empty, null);
        }

15. Example

Project: nunitlite
Source File: Assert.cs
View license
public static void DoesNotThrow(TestDelegate code)
        {
            DoesNotThrow(code, string.Empty, null);
        }

16. Example

Project: nunitlite
Source File: Assert.cs
View license
public static void DoesNotThrow(TestDelegate code, string message)
        {
            DoesNotThrow(code, message, null);
        }

17. Example

Project: ContinuousTests
Source File: Assert.template.cs
View license
public static void DoesNotThrow(TestDelegate code)
        {
            DoesNotThrow(code, string.Empty, null);
        }

18. Example

Project: msgpack-cli
Source File: Assert.cs
View license
public static void DoesNotThrow(TestDelegate code)
        {
            DoesNotThrow(code, string.Empty, null);
        }

19. Example

Project: msgpack-cli
Source File: Assert.cs
View license
public static void DoesNotThrow(TestDelegate code, string message)
        {
            DoesNotThrow(code, message, null);
        }

20. Example

Project: iOS4Unity
Source File: Assert.cs
View license
public static void DoesNotThrow(TestDelegate code, string message)
        {
            DoesNotThrow(code, message, null);
        }

21. Example

Project: iOS4Unity
Source File: Assert.cs
View license
public static void DoesNotThrow(TestDelegate code)
        {
            DoesNotThrow(code, string.Empty, null);
        }

22. Example

Project: ContinuousTests
Source File: Assert.cs
View license
public static void DoesNotThrow(TestDelegate code, string message)
        {
            DoesNotThrow(code, message, null);
        }

23. Example

Project: ContinuousTests
Source File: Assert.cs
View license
public static void DoesNotThrow(TestDelegate code)
        {
            DoesNotThrow(code, string.Empty, null);
        }

24. Example

Project: ContinuousTests
Source File: Assert.cs
View license
public static void DoesNotThrow(TestDelegate code)
        {
            DoesNotThrow(code, string.Empty, null);
        }

25. Example

Project: ContinuousTests
Source File: Assert.template.cs
View license
public static void DoesNotThrow(TestDelegate code)
        {
            DoesNotThrow(code, string.Empty, null);
        }

26. Example

Project: ContinuousTests
Source File: Assert.cs
View license
public static void DoesNotThrow(TestDelegate code, string message)
        {
            DoesNotThrow(code, message, null);
        }

27. Example

Project: ContinuousTests
Source File: Assert.cs
View license
public static void DoesNotThrow(TestDelegate code, string message)
        {
            DoesNotThrow(code, message, null);
        }

28. Example

Project: ContinuousTests
Source File: Assert.cs
View license
public static void DoesNotThrow(TestDelegate code)
        {
            DoesNotThrow(code, string.Empty, null);
        }

29. Example

Project: ContinuousTests
Source File: Assert.template.cs
View license
public static void DoesNotThrow(TestDelegate code, string message)
        {
            DoesNotThrow(code, message, null);
        }

30. Example

Project: ContinuousTests
Source File: Assert.template.cs
View license
public static void DoesNotThrow(TestDelegate code, string message)
        {
            DoesNotThrow(code, message, null);
        }

31. Example

Project: DOLSharp
Source File: RegisterTableTests.cs
View license
[Test]
		public void TestAllAvailableTables()
		{
			foreach (Assembly assembly in new [] { typeof(GameServer).Assembly, typeof(DataObject).Assembly })
			{
				// Walk through each type in the assembly
				foreach (Type type in assembly.GetTypes())
				{
					if (!type.IsClass || type.IsAbstract)
						continue;
					
					var attrib = type.GetCustomAttributes<DataTable>(false);
					if (attrib.Any())
					{
						Assert.DoesNotThrow( () => {
						                    	var dth = new DataTableHandler(type);
						                    	Database.CheckOrCreateTableImpl(dth);
						                    }, "Registering All Projects Tables should not throw Exceptions... (Failed on Type {0})", type.FullName);
						
						Database.RegisterDataObject(type);
						var selectall = typeof(IObjectDatabase).GetMethod("SelectAllObjects", new Type[] { }).MakeGenericMethod(type);
						object objs = null;
						Assert.DoesNotThrow( () => { objs = selectall.Invoke(Database, new object[] { }); }, "Registered tables should not Throw Exception on Select All... (Failed on Type {0})", type);
						Assert.IsNotNull(objs);
					}
				}
			}
		}