refactor: extract interfaces to Interfaces folders and consolidate filters
Move interface declarations into per-area Interfaces/ subfolders, merge the small task-list filter classes into StatusFilter/SmartFlagFilter, and simplify related services, converters and hub DTO handling. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -47,7 +47,7 @@ public class GitServiceMergeTests : IDisposable
|
||||
var branches = await git.ListLocalBranchesAsync(repo.RepoDir);
|
||||
|
||||
Assert.Contains("feature/x", branches);
|
||||
Assert.True(branches.Any(b => b == "main" || b == "master"));
|
||||
Assert.Contains(branches, b => b == "main" || b == "master");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -117,9 +117,8 @@ public class GitServiceMergeTests : IDisposable
|
||||
GitRepoFixture.RunGit(repo.RepoDir, "add", "-A");
|
||||
GitRepoFixture.RunGit(repo.RepoDir, "commit", "-m", "feat: feature edit");
|
||||
|
||||
string defaultBranch = "main";
|
||||
try { GitRepoFixture.RunGit(repo.RepoDir, "checkout", "main"); }
|
||||
catch { GitRepoFixture.RunGit(repo.RepoDir, "checkout", "master"); defaultBranch = "master"; }
|
||||
catch { GitRepoFixture.RunGit(repo.RepoDir, "checkout", "master"); }
|
||||
File.WriteAllText(Path.Combine(repo.RepoDir, "README.md"), "# main side\n");
|
||||
GitRepoFixture.RunGit(repo.RepoDir, "add", "-A");
|
||||
GitRepoFixture.RunGit(repo.RepoDir, "commit", "-m", "chore: main edit");
|
||||
|
||||
Reference in New Issue
Block a user