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

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

Issue 612053002: Api roll 2: 2014-09-29 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Addressed more review comments 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
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 f7ea541042e64607a420ddef852a5687b395bbe7..e7f4ec597d0c916947af9d55a7b04afe51f953ab 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;
-buildUnnamed1201() {
+buildUnnamed1163() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1201(core.List<core.String> o) {
+checkUnnamed1163(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 = buildUnnamed1201();
+ o.ackId = buildUnnamed1163();
o.subscription = "foo";
}
buildCounterAcknowledgeRequest--;
@@ -44,7 +44,7 @@ buildAcknowledgeRequest() {
checkAcknowledgeRequest(api.AcknowledgeRequest o) {
buildCounterAcknowledgeRequest++;
if (buildCounterAcknowledgeRequest < 3) {
- checkUnnamed1201(o.ackId);
+ checkUnnamed1163(o.ackId);
unittest.expect(o.subscription, unittest.equals('foo'));
}
buildCounterAcknowledgeRequest--;
@@ -73,14 +73,14 @@ checkLabel(api.Label o) {
buildCounterLabel--;
}
-buildUnnamed1202() {
+buildUnnamed1164() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed1202(core.List<api.Subscription> o) {
+checkUnnamed1164(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 = buildUnnamed1202();
+ o.subscription = buildUnnamed1164();
}
buildCounterListSubscriptionsResponse--;
return o;
@@ -102,19 +102,19 @@ checkListSubscriptionsResponse(api.ListSubscriptionsResponse o) {
buildCounterListSubscriptionsResponse++;
if (buildCounterListSubscriptionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1202(o.subscription);
+ checkUnnamed1164(o.subscription);
}
buildCounterListSubscriptionsResponse--;
}
-buildUnnamed1203() {
+buildUnnamed1165() {
var o = new core.List<api.Topic>();
o.add(buildTopic());
o.add(buildTopic());
return o;
}
-checkUnnamed1203(core.List<api.Topic> o) {
+checkUnnamed1165(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 = buildUnnamed1203();
+ o.topic = buildUnnamed1165();
}
buildCounterListTopicsResponse--;
return o;
@@ -136,7 +136,7 @@ checkListTopicsResponse(api.ListTopicsResponse o) {
buildCounterListTopicsResponse++;
if (buildCounterListTopicsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1203(o.topic);
+ checkUnnamed1165(o.topic);
}
buildCounterListTopicsResponse--;
}
@@ -231,14 +231,14 @@ checkPubsubEvent(api.PubsubEvent o) {
buildCounterPubsubEvent--;
}
-buildUnnamed1204() {
+buildUnnamed1166() {
var o = new core.List<api.Label>();
o.add(buildLabel());
o.add(buildLabel());
return o;
}
-checkUnnamed1204(core.List<api.Label> o) {
+checkUnnamed1166(core.List<api.Label> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabel(o[0]);
checkLabel(o[1]);
@@ -250,7 +250,7 @@ buildPubsubMessage() {
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
o.data = "foo";
- o.label = buildUnnamed1204();
+ o.label = buildUnnamed1166();
}
buildCounterPubsubMessage--;
return o;
@@ -260,7 +260,7 @@ checkPubsubMessage(api.PubsubMessage o) {
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
unittest.expect(o.data, unittest.equals('foo'));
- checkUnnamed1204(o.label);
+ checkUnnamed1166(o.label);
}
buildCounterPubsubMessage--;
}
« no previous file with comments | « generated/googleapis_beta/test/manager/v1beta2_test.dart ('k') | generated/googleapis_beta/test/replicapool/v1beta1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698