<PackageReference Include="NUnit" Version="5.1.0-beta.1" />

NUnit.Framework.Constraints.MsgUtils

static class MsgUtils
Static methods used in creating messages
namespace NUnit.Framework.Constraints { public sealed class DictionaryContainsKeyValuePairConstraint : CollectionItemsEqualConstraint { public DictionaryContainsKeyValuePairConstraint(object key, object value); } } namespace NUnit.Framework.Constraints { internal static class MsgUtils { public static ValueFormatter DefaultValueFormatter { get; set; } public static string FormatValueProperties(object val); public static void AddFormatter(ValueFormatterFactory formatterFactory); public static string FormatValue(object val); public static string FormatCollection(IEnumerable collection, long start = 0, int max = 10); public static string GetTypeRepresentation(object obj); public static string EscapeControlChars(string s); public static string EscapeControlChars(string s, ref int index); public static string EscapeNullCharacters(string s); public static string GetArrayIndicesAsString(int[] indices); public static int[] GetArrayIndicesFromCollectionIndex(IEnumerable collection, long index); public static string ClipString(string s, int clipLength, int clipStart); public static string ClipWhenNeeded(string s, int length, int maxDisplayLength, ref int mismatchLocation); public static void ClipExpectedAndActual(ref string expected, ref string actual, int maxDisplayLength, ref int mismatchExpected, ref int mismatchActual); public static (int, int) FindMismatchPosition(string expected, string actual, bool ignoreCase, bool ignoreWhiteSpace, bool ignoreLineEndingFormat); } } namespace NUnit.Framework.Constraints { public class ThrowsExceptionConstraint : Constraint { public ThrowsExceptionConstraint(); } } namespace NUnit.Framework.Constraints { public class SamePathOrUnderConstraint : PathConstraint { public SamePathOrUnderConstraint(string expected); } } namespace NUnit.Framework.Internal.Execution { public class CompositeWorkItem : WorkItem { public class OneTimeTearDownWorkItem : WorkItem { public OneTimeTearDownWorkItem(CompositeWorkItem originalItem); } public List<WorkItem> Children { get; } public CompositeWorkItem(TestSuite suite, ITestFilter childFilter); } } namespace NUnit.Framework.Constraints { public class IndexerOperator : PrefixOperator { public IndexerOperator(params object[] indexArgs); } } namespace NUnit.Framework.Constraints.Comparers { }