Base:
method
FormatStart
Xunit.Sdk.CollectionTracker.FormatStart(System.Int32)
11 references to FormatStart
Microsoft.DotNet.XUnitAssert.Tests (4)
Sdk\CollectionTrackerTests.cs (4)
146
Assert.Equal("[]", tracker.
FormatStart
());
154
Assert.Equal($"[{ArgumentFormatter.Ellipsis}]", tracker.
FormatStart
(ArgumentFormatter.MAX_DEPTH));
166
Assert.Equal($"[1, {2.3M}, \"Hello, world!\"]", tracker.
FormatStart
());
178
Assert.Equal($"[1, {2.3M}, \"Hello, world!\", 42, 2112, {ArgumentFormatter.Ellipsis}]", tracker.
FormatStart
());
xunit.assert (7)
CollectionAsserts.cs (7)
185
throw CollectionException.ForMismatchedItemCount(elementInspectors.Length, tracker.IterationCount, tracker.
FormatStart
());
226
throw CollectionException.ForMismatchedItemCount(elementInspectors.Length, tracker.IterationCount, tracker.
FormatStart
());
282
throw ContainsException.ForCollectionItemNotFound(ArgumentFormatter.Format(expected), tracker.
FormatStart
());
305
throw ContainsException.ForCollectionFilterNotMatched(tracker.
FormatStart
());
338
throw DistinctException.ForDuplicateItem(ArgumentFormatter.Format(item), tracker.
FormatStart
());
726
throw SingleException.Empty(expected, tracker.
FormatStart
());
734
throw SingleException.MoreThanOne(count, expected, tracker.
FormatStart
(), matchIndices);