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

Unified Diff: generated/googleapis_beta/test/pubsub/v1beta1_test.dart

Issue 770773002: Api roll 7: 2014-12-01 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years 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
Index: generated/googleapis_beta/test/pubsub/v1beta1_test.dart
diff --git a/generated/googleapis_beta/test/pubsub/v1beta1_test.dart b/generated/googleapis_beta/test/pubsub/v1beta1_test.dart
index 8d46e858c0f47cb30dc268c1728abfe4835d18f7..a25841f4d23fd3d34ca72ca554172cc402cfe6f6 100644
--- a/generated/googleapis_beta/test/pubsub/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/pubsub/v1beta1_test.dart
@@ -16,14 +16,14 @@ import 'package:googleapis_beta/pubsub/v1beta1.dart' as api;
-buildUnnamed1390() {
+buildUnnamed1385() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1390(core.List<core.String> o) {
+checkUnnamed1385(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -34,7 +34,7 @@ buildAcknowledgeRequest() {
var o = new api.AcknowledgeRequest();
buildCounterAcknowledgeRequest++;
if (buildCounterAcknowledgeRequest < 3) {
- o.ackId = buildUnnamed1390();
+ o.ackId = buildUnnamed1385();
o.subscription = "foo";
}
buildCounterAcknowledgeRequest--;
@@ -44,7 +44,7 @@ buildAcknowledgeRequest() {
checkAcknowledgeRequest(api.AcknowledgeRequest o) {
buildCounterAcknowledgeRequest++;
if (buildCounterAcknowledgeRequest < 3) {
- checkUnnamed1390(o.ackId);
+ checkUnnamed1385(o.ackId);
unittest.expect(o.subscription, unittest.equals('foo'));
}
buildCounterAcknowledgeRequest--;
@@ -73,14 +73,14 @@ checkLabel(api.Label o) {
buildCounterLabel--;
}
-buildUnnamed1391() {
+buildUnnamed1386() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed1391(core.List<api.Subscription> o) {
+checkUnnamed1386(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -92,7 +92,7 @@ buildListSubscriptionsResponse() {
buildCounterListSubscriptionsResponse++;
if (buildCounterListSubscriptionsResponse < 3) {
o.nextPageToken = "foo";
- o.subscription = buildUnnamed1391();
+ o.subscription = buildUnnamed1386();
}
buildCounterListSubscriptionsResponse--;
return o;
@@ -102,19 +102,19 @@ checkListSubscriptionsResponse(api.ListSubscriptionsResponse o) {
buildCounterListSubscriptionsResponse++;
if (buildCounterListSubscriptionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1391(o.subscription);
+ checkUnnamed1386(o.subscription);
}
buildCounterListSubscriptionsResponse--;
}
-buildUnnamed1392() {
+buildUnnamed1387() {
var o = new core.List<api.Topic>();
o.add(buildTopic());
o.add(buildTopic());
return o;
}
-checkUnnamed1392(core.List<api.Topic> o) {
+checkUnnamed1387(core.List<api.Topic> o) {
unittest.expect(o, unittest.hasLength(2));
checkTopic(o[0]);
checkTopic(o[1]);
@@ -126,7 +126,7 @@ buildListTopicsResponse() {
buildCounterListTopicsResponse++;
if (buildCounterListTopicsResponse < 3) {
o.nextPageToken = "foo";
- o.topic = buildUnnamed1392();
+ o.topic = buildUnnamed1387();
}
buildCounterListTopicsResponse--;
return o;
@@ -136,7 +136,7 @@ checkListTopicsResponse(api.ListTopicsResponse o) {
buildCounterListTopicsResponse++;
if (buildCounterListTopicsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1392(o.topic);
+ checkUnnamed1387(o.topic);
}
buildCounterListTopicsResponse--;
}
@@ -185,14 +185,14 @@ checkModifyPushConfigRequest(api.ModifyPushConfigRequest o) {
buildCounterModifyPushConfigRequest--;
}
-buildUnnamed1393() {
+buildUnnamed1388() {
var o = new core.List<api.PubsubMessage>();
o.add(buildPubsubMessage());
o.add(buildPubsubMessage());
return o;
}
-checkUnnamed1393(core.List<api.PubsubMessage> o) {
+checkUnnamed1388(core.List<api.PubsubMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkPubsubMessage(o[0]);
checkPubsubMessage(o[1]);
@@ -203,7 +203,7 @@ buildPublishBatchRequest() {
var o = new api.PublishBatchRequest();
buildCounterPublishBatchRequest++;
if (buildCounterPublishBatchRequest < 3) {
- o.messages = buildUnnamed1393();
+ o.messages = buildUnnamed1388();
o.topic = "foo";
}
buildCounterPublishBatchRequest--;
@@ -213,20 +213,20 @@ buildPublishBatchRequest() {
checkPublishBatchRequest(api.PublishBatchRequest o) {
buildCounterPublishBatchRequest++;
if (buildCounterPublishBatchRequest < 3) {
- checkUnnamed1393(o.messages);
+ checkUnnamed1388(o.messages);
unittest.expect(o.topic, unittest.equals('foo'));
}
buildCounterPublishBatchRequest--;
}
-buildUnnamed1394() {
+buildUnnamed1389() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1394(core.List<core.String> o) {
+checkUnnamed1389(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -237,7 +237,7 @@ buildPublishBatchResponse() {
var o = new api.PublishBatchResponse();
buildCounterPublishBatchResponse++;
if (buildCounterPublishBatchResponse < 3) {
- o.messageIds = buildUnnamed1394();
+ o.messageIds = buildUnnamed1389();
}
buildCounterPublishBatchResponse--;
return o;
@@ -246,7 +246,7 @@ buildPublishBatchResponse() {
checkPublishBatchResponse(api.PublishBatchResponse o) {
buildCounterPublishBatchResponse++;
if (buildCounterPublishBatchResponse < 3) {
- checkUnnamed1394(o.messageIds);
+ checkUnnamed1389(o.messageIds);
}
buildCounterPublishBatchResponse--;
}
@@ -297,14 +297,14 @@ checkPubsubEvent(api.PubsubEvent o) {
buildCounterPubsubEvent--;
}
-buildUnnamed1395() {
+buildUnnamed1390() {
var o = new core.List<api.Label>();
o.add(buildLabel());
o.add(buildLabel());
return o;
}
-checkUnnamed1395(core.List<api.Label> o) {
+checkUnnamed1390(core.List<api.Label> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabel(o[0]);
checkLabel(o[1]);
@@ -316,7 +316,7 @@ buildPubsubMessage() {
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
o.data = "foo";
- o.label = buildUnnamed1395();
+ o.label = buildUnnamed1390();
o.messageId = "foo";
}
buildCounterPubsubMessage--;
@@ -327,7 +327,7 @@ checkPubsubMessage(api.PubsubMessage o) {
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
unittest.expect(o.data, unittest.equals('foo'));
- checkUnnamed1395(o.label);
+ checkUnnamed1390(o.label);
unittest.expect(o.messageId, unittest.equals('foo'));
}
buildCounterPubsubMessage--;
@@ -356,14 +356,14 @@ checkPullBatchRequest(api.PullBatchRequest o) {
buildCounterPullBatchRequest--;
}
-buildUnnamed1396() {
+buildUnnamed1391() {
var o = new core.List<api.PullResponse>();
o.add(buildPullResponse());
o.add(buildPullResponse());
return o;
}
-checkUnnamed1396(core.List<api.PullResponse> o) {
+checkUnnamed1391(core.List<api.PullResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkPullResponse(o[0]);
checkPullResponse(o[1]);
@@ -374,7 +374,7 @@ buildPullBatchResponse() {
var o = new api.PullBatchResponse();
buildCounterPullBatchResponse++;
if (buildCounterPullBatchResponse < 3) {
- o.pullResponses = buildUnnamed1396();
+ o.pullResponses = buildUnnamed1391();
}
buildCounterPullBatchResponse--;
return o;
@@ -383,7 +383,7 @@ buildPullBatchResponse() {
checkPullBatchResponse(api.PullBatchResponse o) {
buildCounterPullBatchResponse++;
if (buildCounterPullBatchResponse < 3) {
- checkUnnamed1396(o.pullResponses);
+ checkUnnamed1391(o.pullResponses);
}
buildCounterPullBatchResponse--;
}
« no previous file with comments | « generated/googleapis_beta/test/manager/v1beta2_test.dart ('k') | generated/googleapis_beta/test/replicapool/v1beta2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698