OLD | NEW |
| (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 } | |
OLD | NEW |