1
1
using System ;
2
- using System . Collections . Generic ;
3
2
using GitVersion ;
4
3
using LibGit2Sharp ;
5
- using Index = LibGit2Sharp . Index ;
6
4
7
5
namespace GitVersionCore . Tests . Mocks
8
6
{
@@ -20,185 +18,7 @@ public void Dispose()
20
18
{
21
19
throw new NotImplementedException ( ) ;
22
20
}
23
-
24
- public Branch Checkout ( Branch branch , CheckoutOptions options , Signature signature = null )
25
- {
26
- throw new NotImplementedException ( ) ;
27
- }
28
-
29
- public Branch Checkout ( string committishOrBranchSpec , CheckoutOptions options , Signature signature = null )
30
- {
31
- throw new NotImplementedException ( ) ;
32
- }
33
-
34
- public Branch Checkout ( Commit commit , CheckoutOptions options , Signature signature = null )
35
- {
36
- throw new NotImplementedException ( ) ;
37
- }
38
-
39
- public void CheckoutPaths ( string committishOrBranchSpec , IEnumerable < string > paths , CheckoutOptions checkoutOptions = null )
40
- {
41
- throw new NotImplementedException ( ) ;
42
- }
43
-
44
- public MergeResult MergeFetchedRefs ( Signature merger , MergeOptions options )
45
- {
46
- throw new NotImplementedException ( ) ;
47
- }
48
-
49
- public CherryPickResult CherryPick ( Commit commit , Signature committer , CherryPickOptions options = null )
50
- {
51
- throw new NotImplementedException ( ) ;
52
- }
53
-
54
- public GitObject Lookup ( ObjectId id )
55
- {
56
- throw new NotImplementedException ( ) ;
57
- }
58
-
59
- public GitObject Lookup ( string objectish )
60
- {
61
- throw new NotImplementedException ( ) ;
62
- }
63
-
64
- public GitObject Lookup ( ObjectId id , ObjectType type )
65
- {
66
- throw new NotImplementedException ( ) ;
67
- }
68
-
69
- public GitObject Lookup ( string objectish , ObjectType type )
70
- {
71
- return new MockCommit ( ) ;
72
- }
73
-
74
- public Commit Commit ( string message , Signature author , Signature committer , CommitOptions options = null )
75
- {
76
- throw new NotImplementedException ( ) ;
77
- }
78
-
79
- public void Reset ( ResetMode resetMode , Commit commit )
80
- {
81
- throw new NotImplementedException ( ) ;
82
- }
83
-
84
- public void Reset ( ResetMode resetMode , Commit commit , CheckoutOptions options )
85
- {
86
- throw new NotImplementedException ( ) ;
87
- }
88
-
89
- public Commit Commit ( string message , Signature author , Signature committer , bool amendPreviousCommit = false )
90
- {
91
- throw new NotImplementedException ( ) ;
92
- }
93
-
94
- public void Reset ( ResetMode resetMode , Commit commit , Signature signature = null , string logMessage = null )
95
- {
96
- throw new NotImplementedException ( ) ;
97
- }
98
-
99
- public void Reset ( Commit commit , IEnumerable < string > paths = null , ExplicitPathsOptions explicitPathsOptions = null )
100
- {
101
- throw new NotImplementedException ( ) ;
102
- }
103
-
104
- public void RemoveUntrackedFiles ( )
105
- {
106
- throw new NotImplementedException ( ) ;
107
- }
108
-
109
- public RevertResult Revert ( Commit commit , Signature reverter , RevertOptions options = null )
110
- {
111
- throw new NotImplementedException ( ) ;
112
- }
113
-
114
- public MergeResult Merge ( Commit commit , Signature merger , MergeOptions options = null )
115
- {
116
- throw new NotImplementedException ( ) ;
117
- }
118
-
119
- public MergeResult Merge ( Branch branch , Signature merger , MergeOptions options = null )
120
- {
121
- throw new NotImplementedException ( ) ;
122
- }
123
-
124
- public MergeResult Merge ( string committish , Signature merger , MergeOptions options = null )
125
- {
126
- throw new NotImplementedException ( ) ;
127
- }
128
-
129
- public BlameHunkCollection Blame ( string path , BlameOptions options = null )
130
- {
131
- throw new NotImplementedException ( ) ;
132
- }
133
-
134
- public void Stage ( string path , StageOptions stageOptions )
135
- {
136
- throw new NotImplementedException ( ) ;
137
- }
138
-
139
- public void Stage ( IEnumerable < string > paths , StageOptions stageOptions )
140
- {
141
- throw new NotImplementedException ( ) ;
142
- }
143
-
144
- public void Unstage ( string path , ExplicitPathsOptions explicitPathsOptions )
145
- {
146
- throw new NotImplementedException ( ) ;
147
- }
148
-
149
- public void Unstage ( IEnumerable < string > paths , ExplicitPathsOptions explicitPathsOptions )
150
- {
151
- throw new NotImplementedException ( ) ;
152
- }
153
-
154
- public void Move ( string sourcePath , string destinationPath )
155
- {
156
- throw new NotImplementedException ( ) ;
157
- }
158
-
159
- public void Move ( IEnumerable < string > sourcePaths , IEnumerable < string > destinationPaths )
160
- {
161
- throw new NotImplementedException ( ) ;
162
- }
163
-
164
- public void Remove ( string path , bool removeFromWorkingDirectory , ExplicitPathsOptions explicitPathsOptions )
165
- {
166
- throw new NotImplementedException ( ) ;
167
- }
168
-
169
- public void Remove ( IEnumerable < string > paths , bool removeFromWorkingDirectory , ExplicitPathsOptions explicitPathsOptions )
170
- {
171
- throw new NotImplementedException ( ) ;
172
- }
173
-
174
- public FileStatus RetrieveStatus ( string filePath )
175
- {
176
- throw new NotImplementedException ( ) ;
177
- }
178
-
179
- public RepositoryStatus RetrieveStatus ( StatusOptions options )
180
- {
181
- throw new NotImplementedException ( ) ;
182
- }
183
-
184
- public string Describe ( Commit commit , DescribeOptions options )
185
- {
186
- throw new NotImplementedException ( ) ;
187
- }
188
-
189
- public void Checkout ( Tree tree , IEnumerable < string > paths , CheckoutOptions opts )
190
- {
191
- throw new NotImplementedException ( ) ;
192
- }
193
-
194
- public void RevParse ( string revision , out Reference reference , out GitObject obj )
195
- {
196
- throw new NotImplementedException ( ) ;
197
- }
198
-
199
21
public Branch Head { get ; set ; }
200
- public LibGit2Sharp . Configuration Config { get ; set ; }
201
- public Index Index { get ; set ; }
202
22
public ReferenceCollection Refs { get ; set ; }
203
23
204
24
public IQueryableCommitLog Commits
@@ -212,16 +32,11 @@ public IQueryableCommitLog Commits
212
32
public RepositoryInformation Info { get ; set ; }
213
33
public Diff Diff { get ; set ; }
214
34
public ObjectDatabase ObjectDatabase { get ; set ; }
215
- public NoteCollection Notes { get ; set ; }
216
- public SubmoduleCollection Submodules { get ; set ; }
217
- public WorktreeCollection Worktrees { get ; set ; }
218
- public Rebase Rebase { get ; private set ; }
219
-
220
- public Ignore Ignore => throw new NotImplementedException ( ) ;
221
-
222
35
public Network Network { get ; set ; }
223
-
224
- public StashCollection Stashes => throw new NotImplementedException ( ) ;
36
+ public RepositoryStatus RetrieveStatus ( )
37
+ {
38
+ throw new NotImplementedException ( ) ;
39
+ }
225
40
public IGitRepositoryCommands Commands { get ; }
226
41
}
227
42
}
0 commit comments