13 references to CompareItems
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (13)
Completion\AbstractCompletionProviderTests.cs (13)
187c => CompareItems(c.DisplayText, expectedItemOrNull) 188&& CompareItems(c.DisplayTextSuffix, displayTextSuffix ?? "") 189&& CompareItems(c.DisplayTextPrefix, displayTextPrefix ?? "") 190&& CompareItems(c.InlineDescription, inlineDescription ?? "") 208if (!CompareItems(c.DisplayText, expectedItemOrNull)) 210if (!CompareItems(c.DisplayTextSuffix, displayTextSuffix ?? "")) 212if (!CompareItems(c.DisplayTextPrefix, displayTextPrefix ?? "")) 214if (!CompareItems(c.InlineDescription, inlineDescription ?? "")) 472var firstItem = items.First(i => CompareItems(i.DisplayText, itemToCommit)); 595var firstItem = items.First(i => CompareItems(i.DisplayText + i.DisplayTextSuffix, itemToCommit)); 826AssertEx.Any(completionList.ItemsList, c => CompareItems(c.DisplayText, expectedItem)); 828var item = completionList.ItemsList.First(c => CompareItems(c.DisplayText, expectedItem)); 844AssertEx.None(completionList.ItemsList, c => CompareItems(c.DisplayText, expectedItem));