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

Side by Side Diff: Src/GoogleApis.Tests/Apis/Upload/ResumableUploadTest.cs

Issue 13096044: Issue 146: Pass override HTTP header when request URI too long (Closed)
Patch Set: Refactor namespace Created 10 years, 5 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
1 /* 1 /*
2 Copyright 2012 Google Inc 2 Copyright 2012 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 10 matching lines...) Expand all
21 using System.Net; 21 using System.Net;
22 using System.Net.Http; 22 using System.Net.Http;
23 using System.Text; 23 using System.Text;
24 using System.Threading; 24 using System.Threading;
25 using System.Threading.Tasks; 25 using System.Threading.Tasks;
26 26
27 using NUnit.Framework; 27 using NUnit.Framework;
28 28
29 using Google.Apis.Json; 29 using Google.Apis.Json;
30 using Google.Apis.Services; 30 using Google.Apis.Services;
31 using Google.Apis.Testing;
32 using Google.Apis.Upload; 31 using Google.Apis.Upload;
33 using Google.Apis.Util; 32 using Google.Apis.Util;
34 33
35 namespace Google.Apis.Tests.Apis.Upload 34 namespace Google.Apis.Tests.Apis.Upload
36 { 35 {
37 [TestFixture] 36 [TestFixture]
38 class ResumableUploadTest 37 class ResumableUploadTest
39 { 38 {
40 /// <summary> 39 /// <summary>
41 /// Mock string to upload to the media server. It contains 453 bytes, an d in most cases we will use a chunk· 40 /// Mock string to upload to the media server. It contains 453 bytes, an d in most cases we will use a chunk·
(...skipping 1016 matching lines...) Expand 10 before | Expand all | Expand 10 after
1058 // Expected. 1057 // Expected.
1059 } 1058 }
1060 1059
1061 // Valid chunk size. 1060 // Valid chunk size.
1062 upload.ChunkSize = MockResumableUpload.MinimumChunkSize; 1061 upload.ChunkSize = MockResumableUpload.MinimumChunkSize;
1063 upload.ChunkSize = MockResumableUpload.MinimumChunkSize * 2; 1062 upload.ChunkSize = MockResumableUpload.MinimumChunkSize * 2;
1064 } 1063 }
1065 } 1064 }
1066 } 1065 }
1067 } 1066 }
OLDNEW
« no previous file with comments | « Src/GoogleApis.Tests/Apis/Services/BaseClientServiceTest.cs ('k') | Src/GoogleApis.Tests/Apis/Utils/UtilitiesTest.cs » ('j') | no next file with comments »

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