NUnit.Framework.Assert.IssueWarning(string)

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

2 Examples 7

1. Example

Project: nunit
Source File: Assert.cs
View license
static public void Warn(string message)
        {
            IssueWarning(message);
        }

2. Example

Project: nunit
Source File: Assert.cs
View license
static public void Warn(string message, params object[] args)
        {
            if (message == null) message = string.Empty;
            else if (args != null && args.Length > 0)
                message = string.Format(message, args);

            IssueWarning(message);
        }