forked from GitTools/GitReleaseManager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVcsServiceMock.cs
78 lines (62 loc) · 2.69 KB
/
VcsServiceMock.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
using System.Collections.Generic;
using System.Threading.Tasks;
using GitReleaseManager.Core.Model;
using IVcsService = GitReleaseManager.Core.IVcsService;
namespace GitReleaseManager.Tests
{
public class VcsServiceMock : IVcsService
{
public VcsServiceMock()
{
Milestones = new List<Milestone>();
Issues = new List<Issue>();
Releases = new List<Release>();
Release = new Release();
}
public List<Milestone> Milestones { get; private set; }
public List<Issue> Issues { get; private set; }
public List<Release> Releases { get; private set; }
public Release Release { get; private set; }
public int NumberOfCommits { get; set; }
public Task<Release> CreateEmptyReleaseAsync(string owner, string repository, string name, string targetCommitish, bool prerelease)
{
throw new System.NotImplementedException();
}
public Task<Release> CreateReleaseFromMilestoneAsync(string owner, string repository, string milestone, string releaseName, string targetCommitish, IList<string> assets, bool prerelease, string templateFilePath)
{
throw new System.NotImplementedException();
}
public Task<Release> CreateReleaseFromInputFileAsync(string owner, string repository, string name, string inputFilePath, string targetCommitish, IList<string> assets, bool prerelease)
{
throw new System.NotImplementedException();
}
public Task DiscardReleaseAsync(string owner, string repository, string tagName)
{
throw new System.NotImplementedException();
}
public Task AddAssetsAsync(string owner, string repository, string tagName, IList<string> assets)
{
throw new System.NotImplementedException();
}
public Task<string> ExportReleasesAsync(string owner, string repository, string tagName, bool skipPrereleases)
{
throw new System.NotImplementedException();
}
public Task CloseMilestoneAsync(string owner, string repository, string milestoneTitle)
{
throw new System.NotImplementedException();
}
public Task OpenMilestoneAsync(string owner, string repository, string milestoneTitle)
{
throw new System.NotImplementedException();
}
public Task PublishReleaseAsync(string owner, string repository, string tagName)
{
throw new System.NotImplementedException();
}
public Task CreateOrUpdateLabelsAsync(string owner, string repository)
{
throw new System.NotImplementedException();
}
}
}