Base:
method
FormatStart
Xunit.Sdk.CollectionTracker.FormatStart(System.Int32)
11 references to FormatStart
Microsoft.DotNet.XUnitAssert.Tests (4)
Asserts\Sdk\CollectionTrackerTests.cs (4)
139 Assert.Equal("[]", tracker.FormatStart()); 147 Assert.Equal($"[{ArgumentFormatter.Ellipsis}]", tracker.FormatStart(ArgumentFormatter.MaxEnumerableLength + 1)); 155 Assert.Equal($"[1, {2.3M}, \"Hello, world!\"]", tracker.FormatStart()); 163 Assert.Equal($"[1, {2.3M}, \"Hello, world!\", 42, 2112, {ArgumentFormatter.Ellipsis}]", tracker.FormatStart());
xunit.assert (7)
CollectionAsserts.cs (7)
263 throw CollectionException.ForMismatchedItemCount(elementInspectors.Length, tracker.IterationCount, tracker.FormatStart()); 303 throw CollectionException.ForMismatchedItemCount(elementInspectors.Length, tracker.IterationCount, tracker.FormatStart()); 357 throw ContainsException.ForCollectionItemNotFound(ArgumentFormatter.Format(expected), tracker.FormatStart()); 380 throw ContainsException.ForCollectionFilterNotMatched(tracker.FormatStart()); 413 throw DistinctException.ForDuplicateItem(ArgumentFormatter.Format(item), tracker.FormatStart()); 787 throw SingleException.Empty(expected, tracker.FormatStart()); 795 throw SingleException.MoreThanOne(count, expected, tracker.FormatStart(), matchIndices);