Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: generated/googleapis/test/common/common_internal_test.dart

Issue 595873002: Api roll 1: 2014-09-23 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « generated/googleapis/test/civicinfo/v1_test.dart ('k') | generated/googleapis/test/compute/v1_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/test/common/common_internal_test.dart
diff --git a/generated/googleapis/test/common/common_internal_test.dart b/generated/googleapis/test/common/common_internal_test.dart
index afae3baf8467b831003f3c1f1b82356bf693c148..54fd30998d9de4aab9fe371915492b240986c064 100644
--- a/generated/googleapis/test/common/common_internal_test.dart
+++ b/generated/googleapis/test/common/common_internal_test.dart
@@ -7,6 +7,7 @@ import 'package:googleapis/common/common.dart';
import 'package:googleapis/src/common_internal.dart';
import 'package:http/http.dart' as http;
import 'package:unittest/unittest.dart';
+
class HttpServerMock extends http.BaseClient {
Function _callback;
bool _expectJson;
@@ -307,7 +308,7 @@ main() {
setUp(() {
httpMock = new HttpServerMock();
rootUrl = 'http://example.com/';
- basePath = '/base/';
+ basePath = 'base/';
requester = new ApiRequester(httpMock, rootUrl, basePath);
});
@@ -731,6 +732,17 @@ main() {
1024*1024], false);
});
+ test('length-big-block-parts-non-divisible', () {
+ runTest(1, 1024 * 1024 + 1,
+ [1,
+ 256*1024-1,
+ 256*1024,
+ 256*1024+1,
+ 1024*1024-1,
+ 1024*1024,
+ 1024*1024+1], false);
+ });
+
test('stream-small-block', () {
runTest(1, 10, [10], true);
});
« no previous file with comments | « generated/googleapis/test/civicinfo/v1_test.dart ('k') | generated/googleapis/test/compute/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698