public void RecentItemTypeUnknown_Returns_QuestionMark() { var converter = new RecentItemTypeToImageMonikerConverter(); var result = (ImageMoniker)converter.Convert(RecentItemType.Unknown, typeof(ImageMoniker), null, CultureInfo.InvariantCulture); result.Should().Be(KnownMonikers.QuestionMark); }
public void RecentItemTypeSolution_Returns_Solution() { var converter = new RecentItemTypeToImageMonikerConverter(); var result = (ImageMoniker)converter.Convert(RecentItemType.Solution, typeof(ImageMoniker), null, CultureInfo.InvariantCulture); result.Should().Be(KnownMonikers.Solution); }
public void RecentItemTypeCsProject_Returns_CSProjectNode() { var converter = new RecentItemTypeToImageMonikerConverter(); var result = (ImageMoniker)converter.Convert(RecentItemType.CsProject, typeof(ImageMoniker), null, CultureInfo.InvariantCulture); result.Should().Be(KnownMonikers.CSProjectNode); }
public void RecentItemTypeFolder_Returns_KnownMonikersFolderOpened() { var converter = new RecentItemTypeToImageMonikerConverter(); var result = (ImageMoniker)converter.Convert(RecentItemType.Folder, typeof(ImageMoniker), null, CultureInfo.InvariantCulture); result.Should().Be(KnownMonikers.FolderOpened); }