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

Delta Between Two Patch Sets: Src/GoogleApis.Tests/Apis/Requests/ClientServiceRequestTest.cs

Issue 13096044: Issue 146: Pass override HTTP header when request URI too long (Closed)
Left Patch Set: More comments Created 10 years, 7 months ago
Right Patch Set: Refactor namespace Created 10 years, 6 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:
Right: Side by side diff | Download
LEFTRIGHT
(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
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
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 }
LEFTRIGHT

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