Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(70)

Side by Side Diff: Src/GoogleApis.Tests.Utility/MockDecorators.cs

Issue 12020043: Issue 325 - Remove discovery and codegen (Closed) Base URL: https://google-api-dotnet-client.googlecode.com/hg/
Patch Set: Sir miceli comment Created 11 years, 3 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 Copyright 2013 Google Inc
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15 */
16
17 using System;
18 using System.Collections.Generic;
19 using System.Linq;
20 using System.Text;
21
22 using Google.Apis.Authentication;
23 using Google.Apis.Discovery;
24
25 namespace Google.Apis.Testing
26 {
27 /// <summary>
28 /// Mock base class to test <code>BaseClientServiceAbstractPropertiesDecorat or</code> is compiled.
29 /// Because <code>BaseClientRequestAbstractPropertiesDecorator</code> create s overrides properties we must
30 /// have a base class that declare those abstract properties, otherwise the class won't compile.
31 /// We can't use <code>BaseClientService</code> here becuase it contains oth er properties which the·
32 /// tested decorator doesn't implemented.
33 /// </summary>
34 public abstract class MockBaseClientServiceAbstractPropertiesDecorator
35 {
36 public abstract IDictionary<string, IParameter> ServiceParameters { get; }
37 public abstract IList<string> Features { get; }
38 public abstract string BaseUri { get; }
39 public abstract string BasePath { get; }
40 public abstract string Name { get; }
41 }
42 }
OLDNEW
« no previous file with comments | « Src/GoogleApis.Tests.Utility/MockClientService.cs ('k') | Src/GoogleApis.Tests.Utility/MockMethod.cs » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b