Xunit.Context.WriteLine()

Here are the examples of the csharp api Xunit.Context.WriteLine() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : Context.cs
with MIT License
from SimonCropp

public void Write(char value)
        {
            lock (locker)
            {
                ThrowIfFlushed(value.ToString());
                if (value == '\n')
                {
                    // Trim any trailing '\r'
                    var end = (Builder?.Length ?? 0) - 1;
                    if (end > -1 && Builder![Builder.Length - 1] == '\r')
                    {
                        Builder.Remove(end, 1);
                    }
                    WriteLine();
                    return;
                }
                InitBuilder();
                Builder?.Append(value);
            }
        }