GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge branch 'autocompletebox-fix' into autocompletebox-implementation · github/VisualStudio@c40b757

This repository was archived by the owner on Jun 21, 2023. It is now read-only.

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/GitHub.App.UnitTests/ViewModels
    • Dialog/Clone
      • RepositorySelectViewModelTests.cs
    • GitHubPane
      • IssueListViewModelBaseTests.cs
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/GitHub.App.UnitTests/ViewModels/Dialog/Clone/RepositorySelectViewModelTests.cs‎

Copy file name to clipboardExpand all lines: test/GitHub.App.UnitTests/ViewModels/Dialog/Clone/RepositorySelectViewModelTests.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ static IRepositoryCloneService CreateRepositoryCloneService(
113113

114114
var viewRepositoriesModel = CreateViewerRepositoriesModel(contributedToRepositories: contributedToRepositories);
115115
var repositoryCloneService = Substitute.For<IRepositoryCloneService>();
116-
repositoryCloneService.ReadViewerRepositories(hostAddress).Returns(viewRepositoriesModel);
116+
repositoryCloneService.ReadViewerRepositories(hostAddress, Arg.Any<bool>()).Returns(viewRepositoriesModel);
117117
return repositoryCloneService;
118118
}
119119

Collapse file

‎test/GitHub.App.UnitTests/ViewModels/GitHubPane/IssueListViewModelBaseTests.cs‎

Copy file name to clipboardExpand all lines: test/GitHub.App.UnitTests/ViewModels/GitHubPane/IssueListViewModelBaseTests.cs
+6-5Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
using System;
22
using System.Collections.Generic;
3+
using System.Globalization;
34
using System.Linq;
5+
using System.Reactive;
46
using System.Reactive.Linq;
7+
using System.Reactive.Subjects;
8+
using System.Reactive.Threading.Tasks;
59
using System.Threading.Tasks;
10+
using GitHub;
611
using GitHub.Collections;
712
using GitHub.Models;
813
using GitHub.Primitives;
@@ -172,12 +177,8 @@ public Target(IRepositoryService repositoryService, int itemCount)
172177

173178
public override IReadOnlyList<string> States { get; } = new[] { "Open", "Closed" };
174179

175-
protected IVirtualizingListSource<IIssueListItemViewModelBase> CreateItemSource() => ItemSource;
176-
177180
protected override Task<IVirtualizingListSource<IIssueListItemViewModelBase>> CreateItemSource(bool refresh)
178-
{
179-
throw new NotImplementedException();
180-
}
181+
=> Task.FromResult(ItemSource);
181182

182183
protected override Task DoOpenItem(IIssueListItemViewModelBase item)
183184
{

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.