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

Unified Diff: generated/googleapis/test/mirror/v1_test.dart

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 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/test/mirror/v1_test.dart
diff --git a/generated/googleapis/test/mirror/v1_test.dart b/generated/googleapis/test/mirror/v1_test.dart
index d71ecc2c2b51697b9dc89afe4da739ff9c1bc37e..229e610bd9719443c1c012d9357e6135847608c3 100644
--- a/generated/googleapis/test/mirror/v1_test.dart
+++ b/generated/googleapis/test/mirror/v1_test.dart
@@ -51,40 +51,40 @@ http.StreamedResponse stringResponse(
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1234() {
+buildUnnamed1246() {
var o = new core.List<api.AuthToken>();
o.add(buildAuthToken());
o.add(buildAuthToken());
return o;
}
-checkUnnamed1234(core.List<api.AuthToken> o) {
+checkUnnamed1246(core.List<api.AuthToken> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthToken(o[0]);
checkAuthToken(o[1]);
}
-buildUnnamed1235() {
+buildUnnamed1247() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1235(core.List<core.String> o) {
+checkUnnamed1247(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'));
}
-buildUnnamed1236() {
+buildUnnamed1248() {
var o = new core.List<api.UserData>();
o.add(buildUserData());
o.add(buildUserData());
return o;
}
-checkUnnamed1236(core.List<api.UserData> o) {
+checkUnnamed1248(core.List<api.UserData> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserData(o[0]);
checkUserData(o[1]);
@@ -95,10 +95,10 @@ buildAccount() {
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.authTokens = buildUnnamed1234();
- o.features = buildUnnamed1235();
+ o.authTokens = buildUnnamed1246();
+ o.features = buildUnnamed1247();
o.password = "foo";
- o.userData = buildUnnamed1236();
+ o.userData = buildUnnamed1248();
}
buildCounterAccount--;
return o;
@@ -107,10 +107,10 @@ buildAccount() {
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed1234(o.authTokens);
- checkUnnamed1235(o.features);
+ checkUnnamed1246(o.authTokens);
+ checkUnnamed1247(o.features);
unittest.expect(o.password, unittest.equals('foo'));
- checkUnnamed1236(o.userData);
+ checkUnnamed1248(o.userData);
}
buildCounterAccount--;
}
@@ -140,14 +140,14 @@ checkAttachment(api.Attachment o) {
buildCounterAttachment--;
}
-buildUnnamed1237() {
+buildUnnamed1249() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed1237(core.List<api.Attachment> o) {
+checkUnnamed1249(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
@@ -158,7 +158,7 @@ buildAttachmentsListResponse() {
var o = new api.AttachmentsListResponse();
buildCounterAttachmentsListResponse++;
if (buildCounterAttachmentsListResponse < 3) {
- o.items = buildUnnamed1237();
+ o.items = buildUnnamed1249();
o.kind = "foo";
}
buildCounterAttachmentsListResponse--;
@@ -168,7 +168,7 @@ buildAttachmentsListResponse() {
checkAttachmentsListResponse(api.AttachmentsListResponse o) {
buildCounterAttachmentsListResponse++;
if (buildCounterAttachmentsListResponse < 3) {
- checkUnnamed1237(o.items);
+ checkUnnamed1249(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAttachmentsListResponse--;
@@ -214,53 +214,53 @@ checkCommand(api.Command o) {
buildCounterCommand--;
}
-buildUnnamed1238() {
+buildUnnamed1250() {
var o = new core.List<api.Command>();
o.add(buildCommand());
o.add(buildCommand());
return o;
}
-checkUnnamed1238(core.List<api.Command> o) {
+checkUnnamed1250(core.List<api.Command> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommand(o[0]);
checkCommand(o[1]);
}
-buildUnnamed1239() {
+buildUnnamed1251() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1239(core.List<core.String> o) {
+checkUnnamed1251(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'));
}
-buildUnnamed1240() {
+buildUnnamed1252() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1240(core.List<core.String> o) {
+checkUnnamed1252(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'));
}
-buildUnnamed1241() {
+buildUnnamed1253() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1241(core.List<core.String> o) {
+checkUnnamed1253(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'));
@@ -271,15 +271,15 @@ buildContact() {
var o = new api.Contact();
buildCounterContact++;
if (buildCounterContact < 3) {
- o.acceptCommands = buildUnnamed1238();
- o.acceptTypes = buildUnnamed1239();
+ o.acceptCommands = buildUnnamed1250();
+ o.acceptTypes = buildUnnamed1251();
o.displayName = "foo";
o.id = "foo";
- o.imageUrls = buildUnnamed1240();
+ o.imageUrls = buildUnnamed1252();
o.kind = "foo";
o.phoneNumber = "foo";
o.priority = 42;
- o.sharingFeatures = buildUnnamed1241();
+ o.sharingFeatures = buildUnnamed1253();
o.source = "foo";
o.speakableName = "foo";
o.type = "foo";
@@ -291,15 +291,15 @@ buildContact() {
checkContact(api.Contact o) {
buildCounterContact++;
if (buildCounterContact < 3) {
- checkUnnamed1238(o.acceptCommands);
- checkUnnamed1239(o.acceptTypes);
+ checkUnnamed1250(o.acceptCommands);
+ checkUnnamed1251(o.acceptTypes);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1240(o.imageUrls);
+ checkUnnamed1252(o.imageUrls);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.phoneNumber, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
- checkUnnamed1241(o.sharingFeatures);
+ checkUnnamed1253(o.sharingFeatures);
unittest.expect(o.source, unittest.equals('foo'));
unittest.expect(o.speakableName, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -307,14 +307,14 @@ checkContact(api.Contact o) {
buildCounterContact--;
}
-buildUnnamed1242() {
+buildUnnamed1254() {
var o = new core.List<api.Contact>();
o.add(buildContact());
o.add(buildContact());
return o;
}
-checkUnnamed1242(core.List<api.Contact> o) {
+checkUnnamed1254(core.List<api.Contact> o) {
unittest.expect(o, unittest.hasLength(2));
checkContact(o[0]);
checkContact(o[1]);
@@ -325,7 +325,7 @@ buildContactsListResponse() {
var o = new api.ContactsListResponse();
buildCounterContactsListResponse++;
if (buildCounterContactsListResponse < 3) {
- o.items = buildUnnamed1242();
+ o.items = buildUnnamed1254();
o.kind = "foo";
}
buildCounterContactsListResponse--;
@@ -335,7 +335,7 @@ buildContactsListResponse() {
checkContactsListResponse(api.ContactsListResponse o) {
buildCounterContactsListResponse++;
if (buildCounterContactsListResponse < 3) {
- checkUnnamed1242(o.items);
+ checkUnnamed1254(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterContactsListResponse--;
@@ -374,14 +374,14 @@ checkLocation(api.Location o) {
buildCounterLocation--;
}
-buildUnnamed1243() {
+buildUnnamed1255() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed1243(core.List<api.Location> o) {
+checkUnnamed1255(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -392,7 +392,7 @@ buildLocationsListResponse() {
var o = new api.LocationsListResponse();
buildCounterLocationsListResponse++;
if (buildCounterLocationsListResponse < 3) {
- o.items = buildUnnamed1243();
+ o.items = buildUnnamed1255();
o.kind = "foo";
}
buildCounterLocationsListResponse--;
@@ -402,20 +402,20 @@ buildLocationsListResponse() {
checkLocationsListResponse(api.LocationsListResponse o) {
buildCounterLocationsListResponse++;
if (buildCounterLocationsListResponse < 3) {
- checkUnnamed1243(o.items);
+ checkUnnamed1255(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterLocationsListResponse--;
}
-buildUnnamed1244() {
+buildUnnamed1256() {
var o = new core.List<api.MenuValue>();
o.add(buildMenuValue());
o.add(buildMenuValue());
return o;
}
-checkUnnamed1244(core.List<api.MenuValue> o) {
+checkUnnamed1256(core.List<api.MenuValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMenuValue(o[0]);
checkMenuValue(o[1]);
@@ -431,7 +431,7 @@ buildMenuItem() {
o.id = "foo";
o.payload = "foo";
o.removeWhenSelected = true;
- o.values = buildUnnamed1244();
+ o.values = buildUnnamed1256();
}
buildCounterMenuItem--;
return o;
@@ -445,7 +445,7 @@ checkMenuItem(api.MenuItem o) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.payload, unittest.equals('foo'));
unittest.expect(o.removeWhenSelected, unittest.isTrue);
- checkUnnamed1244(o.values);
+ checkUnnamed1256(o.values);
}
buildCounterMenuItem--;
}
@@ -473,14 +473,14 @@ checkMenuValue(api.MenuValue o) {
buildCounterMenuValue--;
}
-buildUnnamed1245() {
+buildUnnamed1257() {
var o = new core.List<api.UserAction>();
o.add(buildUserAction());
o.add(buildUserAction());
return o;
}
-checkUnnamed1245(core.List<api.UserAction> o) {
+checkUnnamed1257(core.List<api.UserAction> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserAction(o[0]);
checkUserAction(o[1]);
@@ -494,7 +494,7 @@ buildNotification() {
o.collection = "foo";
o.itemId = "foo";
o.operation = "foo";
- o.userActions = buildUnnamed1245();
+ o.userActions = buildUnnamed1257();
o.userToken = "foo";
o.verifyToken = "foo";
}
@@ -508,7 +508,7 @@ checkNotification(api.Notification o) {
unittest.expect(o.collection, unittest.equals('foo'));
unittest.expect(o.itemId, unittest.equals('foo'));
unittest.expect(o.operation, unittest.equals('foo'));
- checkUnnamed1245(o.userActions);
+ checkUnnamed1257(o.userActions);
unittest.expect(o.userToken, unittest.equals('foo'));
unittest.expect(o.verifyToken, unittest.equals('foo'));
}
@@ -559,14 +559,14 @@ checkSetting(api.Setting o) {
buildCounterSetting--;
}
-buildUnnamed1246() {
+buildUnnamed1258() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1246(core.List<core.String> o) {
+checkUnnamed1258(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'));
@@ -582,7 +582,7 @@ buildSubscription() {
o.id = "foo";
o.kind = "foo";
o.notification = buildNotification();
- o.operation = buildUnnamed1246();
+ o.operation = buildUnnamed1258();
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
o.userToken = "foo";
o.verifyToken = "foo";
@@ -599,7 +599,7 @@ checkSubscription(api.Subscription o) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkNotification(o.notification);
- checkUnnamed1246(o.operation);
+ checkUnnamed1258(o.operation);
unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.userToken, unittest.equals('foo'));
unittest.expect(o.verifyToken, unittest.equals('foo'));
@@ -607,14 +607,14 @@ checkSubscription(api.Subscription o) {
buildCounterSubscription--;
}
-buildUnnamed1247() {
+buildUnnamed1259() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed1247(core.List<api.Subscription> o) {
+checkUnnamed1259(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -625,7 +625,7 @@ buildSubscriptionsListResponse() {
var o = new api.SubscriptionsListResponse();
buildCounterSubscriptionsListResponse++;
if (buildCounterSubscriptionsListResponse < 3) {
- o.items = buildUnnamed1247();
+ o.items = buildUnnamed1259();
o.kind = "foo";
}
buildCounterSubscriptionsListResponse--;
@@ -635,46 +635,46 @@ buildSubscriptionsListResponse() {
checkSubscriptionsListResponse(api.SubscriptionsListResponse o) {
buildCounterSubscriptionsListResponse++;
if (buildCounterSubscriptionsListResponse < 3) {
- checkUnnamed1247(o.items);
+ checkUnnamed1259(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterSubscriptionsListResponse--;
}
-buildUnnamed1248() {
+buildUnnamed1260() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed1248(core.List<api.Attachment> o) {
+checkUnnamed1260(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
}
-buildUnnamed1249() {
+buildUnnamed1261() {
var o = new core.List<api.MenuItem>();
o.add(buildMenuItem());
o.add(buildMenuItem());
return o;
}
-checkUnnamed1249(core.List<api.MenuItem> o) {
+checkUnnamed1261(core.List<api.MenuItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkMenuItem(o[0]);
checkMenuItem(o[1]);
}
-buildUnnamed1250() {
+buildUnnamed1262() {
var o = new core.List<api.Contact>();
o.add(buildContact());
o.add(buildContact());
return o;
}
-checkUnnamed1250(core.List<api.Contact> o) {
+checkUnnamed1262(core.List<api.Contact> o) {
unittest.expect(o, unittest.hasLength(2));
checkContact(o[0]);
checkContact(o[1]);
@@ -685,7 +685,7 @@ buildTimelineItem() {
var o = new api.TimelineItem();
buildCounterTimelineItem++;
if (buildCounterTimelineItem < 3) {
- o.attachments = buildUnnamed1248();
+ o.attachments = buildUnnamed1260();
o.bundleId = "foo";
o.canonicalUrl = "foo";
o.created = core.DateTime.parse("2002-02-27T14:01:02");
@@ -700,10 +700,10 @@ buildTimelineItem() {
o.isPinned = true;
o.kind = "foo";
o.location = buildLocation();
- o.menuItems = buildUnnamed1249();
+ o.menuItems = buildUnnamed1261();
o.notification = buildNotificationConfig();
o.pinScore = 42;
- o.recipients = buildUnnamed1250();
+ o.recipients = buildUnnamed1262();
o.selfLink = "foo";
o.sourceItemId = "foo";
o.speakableText = "foo";
@@ -719,7 +719,7 @@ buildTimelineItem() {
checkTimelineItem(api.TimelineItem o) {
buildCounterTimelineItem++;
if (buildCounterTimelineItem < 3) {
- checkUnnamed1248(o.attachments);
+ checkUnnamed1260(o.attachments);
unittest.expect(o.bundleId, unittest.equals('foo'));
unittest.expect(o.canonicalUrl, unittest.equals('foo'));
unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -734,10 +734,10 @@ checkTimelineItem(api.TimelineItem o) {
unittest.expect(o.isPinned, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
checkLocation(o.location);
- checkUnnamed1249(o.menuItems);
+ checkUnnamed1261(o.menuItems);
checkNotificationConfig(o.notification);
unittest.expect(o.pinScore, unittest.equals(42));
- checkUnnamed1250(o.recipients);
+ checkUnnamed1262(o.recipients);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.sourceItemId, unittest.equals('foo'));
unittest.expect(o.speakableText, unittest.equals('foo'));
@@ -749,14 +749,14 @@ checkTimelineItem(api.TimelineItem o) {
buildCounterTimelineItem--;
}
-buildUnnamed1251() {
+buildUnnamed1263() {
var o = new core.List<api.TimelineItem>();
o.add(buildTimelineItem());
o.add(buildTimelineItem());
return o;
}
-checkUnnamed1251(core.List<api.TimelineItem> o) {
+checkUnnamed1263(core.List<api.TimelineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimelineItem(o[0]);
checkTimelineItem(o[1]);
@@ -767,7 +767,7 @@ buildTimelineListResponse() {
var o = new api.TimelineListResponse();
buildCounterTimelineListResponse++;
if (buildCounterTimelineListResponse < 3) {
- o.items = buildUnnamed1251();
+ o.items = buildUnnamed1263();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -778,7 +778,7 @@ buildTimelineListResponse() {
checkTimelineListResponse(api.TimelineListResponse o) {
buildCounterTimelineListResponse++;
if (buildCounterTimelineListResponse < 3) {
- checkUnnamed1251(o.items);
+ checkUnnamed1263(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
« no previous file with comments | « generated/googleapis/test/manufacturers/v1_test.dart ('k') | generated/googleapis/test/monitoring/v3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698