LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 Copyright 2011 Google Inc | 2 Copyright 2011 Google Inc |
3 | 3 |
4 Licensed under the Apache License, Version 2.0 (the "License"); | 4 Licensed under the Apache License, Version 2.0 (the "License"); |
5 you may not use this file except in compliance with 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 | 6 You may obtain a copy of the License at |
7 | 7 |
8 http://www.apache.org/licenses/LICENSE-2.0 | 8 http://www.apache.org/licenses/LICENSE-2.0 |
9 | 9 |
10 Unless required by applicable law or agreed to in writing, software | 10 Unless required by applicable law or agreed to in writing, software |
(...skipping 14 matching lines...) Expand all Loading... |
25 using System.Threading; | 25 using System.Threading; |
26 using System.Threading.Tasks; | 26 using System.Threading.Tasks; |
27 | 27 |
28 using Ionic.Zlib; | 28 using Ionic.Zlib; |
29 using NUnit.Framework; | 29 using NUnit.Framework; |
30 | 30 |
31 using Google.Apis.Discovery; | 31 using Google.Apis.Discovery; |
32 using Google.Apis.Http; | 32 using Google.Apis.Http; |
33 using Google.Apis.Requests; | 33 using Google.Apis.Requests; |
34 using Google.Apis.Services; | 34 using Google.Apis.Services; |
35 using Google.Apis.Testing; | |
36 using Google.Apis.Util; | 35 using Google.Apis.Util; |
37 | 36 |
38 | 37 |
39 namespace Google.Apis.Tests.Apis.Requests | 38 namespace Google.Apis.Tests.Apis.Requests |
40 { | 39 { |
41 /// <summary>Tests for the <see cref="Google.Apis.Requests.ClientServiceRequ
est"/>.</summary> | 40 /// <summary>Tests for the <see cref="Google.Apis.Requests.ClientServiceRequ
est"/>.</summary> |
42 [TestFixture] | 41 [TestFixture] |
43 public class ClientServiceRequestTest | 42 public class ClientServiceRequestTest |
44 { | 43 { |
45 [TestFixtureSetUp] | 44 [TestFixtureSetUp] |
(...skipping 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1119 Assert.AreEqual(ETagAction.IfMatch, ClientServiceRequest<object>.Get
DefaultETagAction(HttpConsts.Post)); | 1118 Assert.AreEqual(ETagAction.IfMatch, ClientServiceRequest<object>.Get
DefaultETagAction(HttpConsts.Post)); |
1120 Assert.AreEqual(ETagAction.IfMatch, ClientServiceRequest<object>.Get
DefaultETagAction(HttpConsts.Patch)); | 1119 Assert.AreEqual(ETagAction.IfMatch, ClientServiceRequest<object>.Get
DefaultETagAction(HttpConsts.Patch)); |
1121 Assert.AreEqual(ETagAction.IfMatch, ClientServiceRequest<object>.Get
DefaultETagAction(HttpConsts.Put)); | 1120 Assert.AreEqual(ETagAction.IfMatch, ClientServiceRequest<object>.Get
DefaultETagAction(HttpConsts.Put)); |
1122 Assert.AreEqual(ETagAction.IfMatch, ClientServiceRequest<object>.Get
DefaultETagAction(HttpConsts.Delete)); | 1121 Assert.AreEqual(ETagAction.IfMatch, ClientServiceRequest<object>.Get
DefaultETagAction(HttpConsts.Delete)); |
1123 Assert.AreEqual(ETagAction.Ignore, ClientServiceRequest<object>.GetD
efaultETagAction("INVALID")); | 1122 Assert.AreEqual(ETagAction.Ignore, ClientServiceRequest<object>.GetD
efaultETagAction("INVALID")); |
1124 } | 1123 } |
1125 | 1124 |
1126 #endregion | 1125 #endregion |
1127 } | 1126 } |
1128 } | 1127 } |
LEFT | RIGHT |