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

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

Issue 698403003: Api roll 5: 2014-11-05 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 1 month 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 f808136ab647411e3800c80960108068e4e59561..784f3a983b6c67ef5d07013bd4261647b0cfd308 100644
--- a/generated/googleapis/test/mirror/v1_test.dart
+++ b/generated/googleapis/test/mirror/v1_test.dart
@@ -16,40 +16,40 @@ import 'package:googleapis/mirror/v1.dart' as api;
-buildUnnamed754() {
+buildUnnamed930() {
var o = new core.List<api.AuthToken>();
o.add(buildAuthToken());
o.add(buildAuthToken());
return o;
}
-checkUnnamed754(core.List<api.AuthToken> o) {
+checkUnnamed930(core.List<api.AuthToken> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthToken(o[0]);
checkAuthToken(o[1]);
}
-buildUnnamed755() {
+buildUnnamed931() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed755(core.List<core.String> o) {
+checkUnnamed931(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'));
}
-buildUnnamed756() {
+buildUnnamed932() {
var o = new core.List<api.UserData>();
o.add(buildUserData());
o.add(buildUserData());
return o;
}
-checkUnnamed756(core.List<api.UserData> o) {
+checkUnnamed932(core.List<api.UserData> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserData(o[0]);
checkUserData(o[1]);
@@ -60,10 +60,10 @@ buildAccount() {
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.authTokens = buildUnnamed754();
- o.features = buildUnnamed755();
+ o.authTokens = buildUnnamed930();
+ o.features = buildUnnamed931();
o.password = "foo";
- o.userData = buildUnnamed756();
+ o.userData = buildUnnamed932();
}
buildCounterAccount--;
return o;
@@ -72,10 +72,10 @@ buildAccount() {
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed754(o.authTokens);
- checkUnnamed755(o.features);
+ checkUnnamed930(o.authTokens);
+ checkUnnamed931(o.features);
unittest.expect(o.password, unittest.equals('foo'));
- checkUnnamed756(o.userData);
+ checkUnnamed932(o.userData);
}
buildCounterAccount--;
}
@@ -105,14 +105,14 @@ checkAttachment(api.Attachment o) {
buildCounterAttachment--;
}
-buildUnnamed757() {
+buildUnnamed933() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed757(core.List<api.Attachment> o) {
+checkUnnamed933(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
@@ -123,7 +123,7 @@ buildAttachmentsListResponse() {
var o = new api.AttachmentsListResponse();
buildCounterAttachmentsListResponse++;
if (buildCounterAttachmentsListResponse < 3) {
- o.items = buildUnnamed757();
+ o.items = buildUnnamed933();
o.kind = "foo";
}
buildCounterAttachmentsListResponse--;
@@ -133,7 +133,7 @@ buildAttachmentsListResponse() {
checkAttachmentsListResponse(api.AttachmentsListResponse o) {
buildCounterAttachmentsListResponse++;
if (buildCounterAttachmentsListResponse < 3) {
- checkUnnamed757(o.items);
+ checkUnnamed933(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAttachmentsListResponse--;
@@ -179,53 +179,53 @@ checkCommand(api.Command o) {
buildCounterCommand--;
}
-buildUnnamed758() {
+buildUnnamed934() {
var o = new core.List<api.Command>();
o.add(buildCommand());
o.add(buildCommand());
return o;
}
-checkUnnamed758(core.List<api.Command> o) {
+checkUnnamed934(core.List<api.Command> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommand(o[0]);
checkCommand(o[1]);
}
-buildUnnamed759() {
+buildUnnamed935() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed759(core.List<core.String> o) {
+checkUnnamed935(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'));
}
-buildUnnamed760() {
+buildUnnamed936() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed760(core.List<core.String> o) {
+checkUnnamed936(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'));
}
-buildUnnamed761() {
+buildUnnamed937() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed761(core.List<core.String> o) {
+checkUnnamed937(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'));
@@ -236,15 +236,15 @@ buildContact() {
var o = new api.Contact();
buildCounterContact++;
if (buildCounterContact < 3) {
- o.acceptCommands = buildUnnamed758();
- o.acceptTypes = buildUnnamed759();
+ o.acceptCommands = buildUnnamed934();
+ o.acceptTypes = buildUnnamed935();
o.displayName = "foo";
o.id = "foo";
- o.imageUrls = buildUnnamed760();
+ o.imageUrls = buildUnnamed936();
o.kind = "foo";
o.phoneNumber = "foo";
o.priority = 42;
- o.sharingFeatures = buildUnnamed761();
+ o.sharingFeatures = buildUnnamed937();
o.source = "foo";
o.speakableName = "foo";
o.type = "foo";
@@ -256,15 +256,15 @@ buildContact() {
checkContact(api.Contact o) {
buildCounterContact++;
if (buildCounterContact < 3) {
- checkUnnamed758(o.acceptCommands);
- checkUnnamed759(o.acceptTypes);
+ checkUnnamed934(o.acceptCommands);
+ checkUnnamed935(o.acceptTypes);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed760(o.imageUrls);
+ checkUnnamed936(o.imageUrls);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.phoneNumber, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
- checkUnnamed761(o.sharingFeatures);
+ checkUnnamed937(o.sharingFeatures);
unittest.expect(o.source, unittest.equals('foo'));
unittest.expect(o.speakableName, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -272,14 +272,14 @@ checkContact(api.Contact o) {
buildCounterContact--;
}
-buildUnnamed762() {
+buildUnnamed938() {
var o = new core.List<api.Contact>();
o.add(buildContact());
o.add(buildContact());
return o;
}
-checkUnnamed762(core.List<api.Contact> o) {
+checkUnnamed938(core.List<api.Contact> o) {
unittest.expect(o, unittest.hasLength(2));
checkContact(o[0]);
checkContact(o[1]);
@@ -290,7 +290,7 @@ buildContactsListResponse() {
var o = new api.ContactsListResponse();
buildCounterContactsListResponse++;
if (buildCounterContactsListResponse < 3) {
- o.items = buildUnnamed762();
+ o.items = buildUnnamed938();
o.kind = "foo";
}
buildCounterContactsListResponse--;
@@ -300,7 +300,7 @@ buildContactsListResponse() {
checkContactsListResponse(api.ContactsListResponse o) {
buildCounterContactsListResponse++;
if (buildCounterContactsListResponse < 3) {
- checkUnnamed762(o.items);
+ checkUnnamed938(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterContactsListResponse--;
@@ -339,14 +339,14 @@ checkLocation(api.Location o) {
buildCounterLocation--;
}
-buildUnnamed763() {
+buildUnnamed939() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed763(core.List<api.Location> o) {
+checkUnnamed939(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -357,7 +357,7 @@ buildLocationsListResponse() {
var o = new api.LocationsListResponse();
buildCounterLocationsListResponse++;
if (buildCounterLocationsListResponse < 3) {
- o.items = buildUnnamed763();
+ o.items = buildUnnamed939();
o.kind = "foo";
}
buildCounterLocationsListResponse--;
@@ -367,20 +367,20 @@ buildLocationsListResponse() {
checkLocationsListResponse(api.LocationsListResponse o) {
buildCounterLocationsListResponse++;
if (buildCounterLocationsListResponse < 3) {
- checkUnnamed763(o.items);
+ checkUnnamed939(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterLocationsListResponse--;
}
-buildUnnamed764() {
+buildUnnamed940() {
var o = new core.List<api.MenuValue>();
o.add(buildMenuValue());
o.add(buildMenuValue());
return o;
}
-checkUnnamed764(core.List<api.MenuValue> o) {
+checkUnnamed940(core.List<api.MenuValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMenuValue(o[0]);
checkMenuValue(o[1]);
@@ -396,7 +396,7 @@ buildMenuItem() {
o.id = "foo";
o.payload = "foo";
o.removeWhenSelected = true;
- o.values = buildUnnamed764();
+ o.values = buildUnnamed940();
}
buildCounterMenuItem--;
return o;
@@ -410,7 +410,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);
- checkUnnamed764(o.values);
+ checkUnnamed940(o.values);
}
buildCounterMenuItem--;
}
@@ -438,14 +438,14 @@ checkMenuValue(api.MenuValue o) {
buildCounterMenuValue--;
}
-buildUnnamed765() {
+buildUnnamed941() {
var o = new core.List<api.UserAction>();
o.add(buildUserAction());
o.add(buildUserAction());
return o;
}
-checkUnnamed765(core.List<api.UserAction> o) {
+checkUnnamed941(core.List<api.UserAction> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserAction(o[0]);
checkUserAction(o[1]);
@@ -459,7 +459,7 @@ buildNotification() {
o.collection = "foo";
o.itemId = "foo";
o.operation = "foo";
- o.userActions = buildUnnamed765();
+ o.userActions = buildUnnamed941();
o.userToken = "foo";
o.verifyToken = "foo";
}
@@ -473,7 +473,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'));
- checkUnnamed765(o.userActions);
+ checkUnnamed941(o.userActions);
unittest.expect(o.userToken, unittest.equals('foo'));
unittest.expect(o.verifyToken, unittest.equals('foo'));
}
@@ -524,14 +524,14 @@ checkSetting(api.Setting o) {
buildCounterSetting--;
}
-buildUnnamed766() {
+buildUnnamed942() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed766(core.List<core.String> o) {
+checkUnnamed942(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'));
@@ -547,7 +547,7 @@ buildSubscription() {
o.id = "foo";
o.kind = "foo";
o.notification = buildNotification();
- o.operation = buildUnnamed766();
+ o.operation = buildUnnamed942();
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
o.userToken = "foo";
o.verifyToken = "foo";
@@ -564,7 +564,7 @@ checkSubscription(api.Subscription o) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkNotification(o.notification);
- checkUnnamed766(o.operation);
+ checkUnnamed942(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'));
@@ -572,14 +572,14 @@ checkSubscription(api.Subscription o) {
buildCounterSubscription--;
}
-buildUnnamed767() {
+buildUnnamed943() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed767(core.List<api.Subscription> o) {
+checkUnnamed943(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -590,7 +590,7 @@ buildSubscriptionsListResponse() {
var o = new api.SubscriptionsListResponse();
buildCounterSubscriptionsListResponse++;
if (buildCounterSubscriptionsListResponse < 3) {
- o.items = buildUnnamed767();
+ o.items = buildUnnamed943();
o.kind = "foo";
}
buildCounterSubscriptionsListResponse--;
@@ -600,46 +600,46 @@ buildSubscriptionsListResponse() {
checkSubscriptionsListResponse(api.SubscriptionsListResponse o) {
buildCounterSubscriptionsListResponse++;
if (buildCounterSubscriptionsListResponse < 3) {
- checkUnnamed767(o.items);
+ checkUnnamed943(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterSubscriptionsListResponse--;
}
-buildUnnamed768() {
+buildUnnamed944() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed768(core.List<api.Attachment> o) {
+checkUnnamed944(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
}
-buildUnnamed769() {
+buildUnnamed945() {
var o = new core.List<api.MenuItem>();
o.add(buildMenuItem());
o.add(buildMenuItem());
return o;
}
-checkUnnamed769(core.List<api.MenuItem> o) {
+checkUnnamed945(core.List<api.MenuItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkMenuItem(o[0]);
checkMenuItem(o[1]);
}
-buildUnnamed770() {
+buildUnnamed946() {
var o = new core.List<api.Contact>();
o.add(buildContact());
o.add(buildContact());
return o;
}
-checkUnnamed770(core.List<api.Contact> o) {
+checkUnnamed946(core.List<api.Contact> o) {
unittest.expect(o, unittest.hasLength(2));
checkContact(o[0]);
checkContact(o[1]);
@@ -650,7 +650,7 @@ buildTimelineItem() {
var o = new api.TimelineItem();
buildCounterTimelineItem++;
if (buildCounterTimelineItem < 3) {
- o.attachments = buildUnnamed768();
+ o.attachments = buildUnnamed944();
o.bundleId = "foo";
o.canonicalUrl = "foo";
o.created = core.DateTime.parse("2002-02-27T14:01:02");
@@ -665,10 +665,10 @@ buildTimelineItem() {
o.isPinned = true;
o.kind = "foo";
o.location = buildLocation();
- o.menuItems = buildUnnamed769();
+ o.menuItems = buildUnnamed945();
o.notification = buildNotificationConfig();
o.pinScore = 42;
- o.recipients = buildUnnamed770();
+ o.recipients = buildUnnamed946();
o.selfLink = "foo";
o.sourceItemId = "foo";
o.speakableText = "foo";
@@ -684,7 +684,7 @@ buildTimelineItem() {
checkTimelineItem(api.TimelineItem o) {
buildCounterTimelineItem++;
if (buildCounterTimelineItem < 3) {
- checkUnnamed768(o.attachments);
+ checkUnnamed944(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")));
@@ -699,10 +699,10 @@ checkTimelineItem(api.TimelineItem o) {
unittest.expect(o.isPinned, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
checkLocation(o.location);
- checkUnnamed769(o.menuItems);
+ checkUnnamed945(o.menuItems);
checkNotificationConfig(o.notification);
unittest.expect(o.pinScore, unittest.equals(42));
- checkUnnamed770(o.recipients);
+ checkUnnamed946(o.recipients);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.sourceItemId, unittest.equals('foo'));
unittest.expect(o.speakableText, unittest.equals('foo'));
@@ -714,14 +714,14 @@ checkTimelineItem(api.TimelineItem o) {
buildCounterTimelineItem--;
}
-buildUnnamed771() {
+buildUnnamed947() {
var o = new core.List<api.TimelineItem>();
o.add(buildTimelineItem());
o.add(buildTimelineItem());
return o;
}
-checkUnnamed771(core.List<api.TimelineItem> o) {
+checkUnnamed947(core.List<api.TimelineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimelineItem(o[0]);
checkTimelineItem(o[1]);
@@ -732,7 +732,7 @@ buildTimelineListResponse() {
var o = new api.TimelineListResponse();
buildCounterTimelineListResponse++;
if (buildCounterTimelineListResponse < 3) {
- o.items = buildUnnamed771();
+ o.items = buildUnnamed947();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -743,7 +743,7 @@ buildTimelineListResponse() {
checkTimelineListResponse(api.TimelineListResponse o) {
buildCounterTimelineListResponse++;
if (buildCounterTimelineListResponse < 3) {
- checkUnnamed771(o.items);
+ checkUnnamed947(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}

Powered by Google App Engine
This is Rietveld 408576698