Index: generated/googleapis/test/calendar/v3_test.dart |
diff --git a/generated/googleapis/test/calendar/v3_test.dart b/generated/googleapis/test/calendar/v3_test.dart |
index 3f4f7850cf97fa6ccab9673427198fb80404364b..c372bd2617f7204e1e43710591c49ad1402e4637 100644 |
--- a/generated/googleapis/test/calendar/v3_test.dart |
+++ b/generated/googleapis/test/calendar/v3_test.dart |
@@ -51,14 +51,14 @@ http.StreamedResponse stringResponse( |
return new http.StreamedResponse(stream, status, headers: headers); |
} |
-buildUnnamed996() { |
+buildUnnamed1022() { |
var o = new core.List<api.AclRule>(); |
o.add(buildAclRule()); |
o.add(buildAclRule()); |
return o; |
} |
-checkUnnamed996(core.List<api.AclRule> o) { |
+checkUnnamed1022(core.List<api.AclRule> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAclRule(o[0]); |
checkAclRule(o[1]); |
@@ -70,7 +70,7 @@ buildAcl() { |
buildCounterAcl++; |
if (buildCounterAcl < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed996(); |
+ o.items = buildUnnamed1022(); |
o.kind = "foo"; |
o.nextPageToken = "foo"; |
o.nextSyncToken = "foo"; |
@@ -83,7 +83,7 @@ checkAcl(api.Acl o) { |
buildCounterAcl++; |
if (buildCounterAcl < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed996(o.items); |
+ checkUnnamed1022(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
unittest.expect(o.nextSyncToken, unittest.equals('foo')); |
@@ -170,14 +170,14 @@ checkCalendar(api.Calendar o) { |
buildCounterCalendar--; |
} |
-buildUnnamed997() { |
+buildUnnamed1023() { |
var o = new core.List<api.CalendarListEntry>(); |
o.add(buildCalendarListEntry()); |
o.add(buildCalendarListEntry()); |
return o; |
} |
-checkUnnamed997(core.List<api.CalendarListEntry> o) { |
+checkUnnamed1023(core.List<api.CalendarListEntry> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkCalendarListEntry(o[0]); |
checkCalendarListEntry(o[1]); |
@@ -189,7 +189,7 @@ buildCalendarList() { |
buildCounterCalendarList++; |
if (buildCounterCalendarList < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed997(); |
+ o.items = buildUnnamed1023(); |
o.kind = "foo"; |
o.nextPageToken = "foo"; |
o.nextSyncToken = "foo"; |
@@ -202,7 +202,7 @@ checkCalendarList(api.CalendarList o) { |
buildCounterCalendarList++; |
if (buildCounterCalendarList < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed997(o.items); |
+ checkUnnamed1023(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
unittest.expect(o.nextSyncToken, unittest.equals('foo')); |
@@ -210,27 +210,27 @@ checkCalendarList(api.CalendarList o) { |
buildCounterCalendarList--; |
} |
-buildUnnamed998() { |
+buildUnnamed1024() { |
var o = new core.List<api.EventReminder>(); |
o.add(buildEventReminder()); |
o.add(buildEventReminder()); |
return o; |
} |
-checkUnnamed998(core.List<api.EventReminder> o) { |
+checkUnnamed1024(core.List<api.EventReminder> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkEventReminder(o[0]); |
checkEventReminder(o[1]); |
} |
-buildUnnamed999() { |
+buildUnnamed1025() { |
var o = new core.List<api.CalendarNotification>(); |
o.add(buildCalendarNotification()); |
o.add(buildCalendarNotification()); |
return o; |
} |
-checkUnnamed999(core.List<api.CalendarNotification> o) { |
+checkUnnamed1025(core.List<api.CalendarNotification> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkCalendarNotification(o[0]); |
checkCalendarNotification(o[1]); |
@@ -241,7 +241,7 @@ buildCalendarListEntryNotificationSettings() { |
var o = new api.CalendarListEntryNotificationSettings(); |
buildCounterCalendarListEntryNotificationSettings++; |
if (buildCounterCalendarListEntryNotificationSettings < 3) { |
- o.notifications = buildUnnamed999(); |
+ o.notifications = buildUnnamed1025(); |
} |
buildCounterCalendarListEntryNotificationSettings--; |
return o; |
@@ -250,7 +250,7 @@ buildCalendarListEntryNotificationSettings() { |
checkCalendarListEntryNotificationSettings(api.CalendarListEntryNotificationSettings o) { |
buildCounterCalendarListEntryNotificationSettings++; |
if (buildCounterCalendarListEntryNotificationSettings < 3) { |
- checkUnnamed999(o.notifications); |
+ checkUnnamed1025(o.notifications); |
} |
buildCounterCalendarListEntryNotificationSettings--; |
} |
@@ -263,7 +263,7 @@ buildCalendarListEntry() { |
o.accessRole = "foo"; |
o.backgroundColor = "foo"; |
o.colorId = "foo"; |
- o.defaultReminders = buildUnnamed998(); |
+ o.defaultReminders = buildUnnamed1024(); |
o.deleted = true; |
o.description = "foo"; |
o.etag = "foo"; |
@@ -289,7 +289,7 @@ checkCalendarListEntry(api.CalendarListEntry o) { |
unittest.expect(o.accessRole, unittest.equals('foo')); |
unittest.expect(o.backgroundColor, unittest.equals('foo')); |
unittest.expect(o.colorId, unittest.equals('foo')); |
- checkUnnamed998(o.defaultReminders); |
+ checkUnnamed1024(o.defaultReminders); |
unittest.expect(o.deleted, unittest.isTrue); |
unittest.expect(o.description, unittest.equals('foo')); |
unittest.expect(o.etag, unittest.equals('foo')); |
@@ -329,14 +329,14 @@ checkCalendarNotification(api.CalendarNotification o) { |
buildCounterCalendarNotification--; |
} |
-buildUnnamed1000() { |
+buildUnnamed1026() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed1000(core.Map<core.String, core.String> o) { |
+checkUnnamed1026(core.Map<core.String, core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o["x"], unittest.equals('foo')); |
unittest.expect(o["y"], unittest.equals('foo')); |
@@ -351,7 +351,7 @@ buildChannel() { |
o.expiration = "foo"; |
o.id = "foo"; |
o.kind = "foo"; |
- o.params = buildUnnamed1000(); |
+ o.params = buildUnnamed1026(); |
o.payload = true; |
o.resourceId = "foo"; |
o.resourceUri = "foo"; |
@@ -369,7 +369,7 @@ checkChannel(api.Channel o) { |
unittest.expect(o.expiration, unittest.equals('foo')); |
unittest.expect(o.id, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
- checkUnnamed1000(o.params); |
+ checkUnnamed1026(o.params); |
unittest.expect(o.payload, unittest.isTrue); |
unittest.expect(o.resourceId, unittest.equals('foo')); |
unittest.expect(o.resourceUri, unittest.equals('foo')); |
@@ -400,27 +400,27 @@ checkColorDefinition(api.ColorDefinition o) { |
buildCounterColorDefinition--; |
} |
-buildUnnamed1001() { |
+buildUnnamed1027() { |
var o = new core.Map<core.String, api.ColorDefinition>(); |
o["x"] = buildColorDefinition(); |
o["y"] = buildColorDefinition(); |
return o; |
} |
-checkUnnamed1001(core.Map<core.String, api.ColorDefinition> o) { |
+checkUnnamed1027(core.Map<core.String, api.ColorDefinition> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkColorDefinition(o["x"]); |
checkColorDefinition(o["y"]); |
} |
-buildUnnamed1002() { |
+buildUnnamed1028() { |
var o = new core.Map<core.String, api.ColorDefinition>(); |
o["x"] = buildColorDefinition(); |
o["y"] = buildColorDefinition(); |
return o; |
} |
-checkUnnamed1002(core.Map<core.String, api.ColorDefinition> o) { |
+checkUnnamed1028(core.Map<core.String, api.ColorDefinition> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkColorDefinition(o["x"]); |
checkColorDefinition(o["y"]); |
@@ -431,8 +431,8 @@ buildColors() { |
var o = new api.Colors(); |
buildCounterColors++; |
if (buildCounterColors < 3) { |
- o.calendar = buildUnnamed1001(); |
- o.event = buildUnnamed1002(); |
+ o.calendar = buildUnnamed1027(); |
+ o.event = buildUnnamed1028(); |
o.kind = "foo"; |
o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
} |
@@ -443,14 +443,75 @@ buildColors() { |
checkColors(api.Colors o) { |
buildCounterColors++; |
if (buildCounterColors < 3) { |
- checkUnnamed1001(o.calendar); |
- checkUnnamed1002(o.event); |
+ checkUnnamed1027(o.calendar); |
+ checkUnnamed1028(o.event); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
} |
buildCounterColors--; |
} |
+buildUnnamed1029() { |
+ var o = new core.List<api.Link>(); |
+ o.add(buildLink()); |
+ o.add(buildLink()); |
+ return o; |
+} |
+ |
+checkUnnamed1029(core.List<api.Link> o) { |
+ unittest.expect(o, unittest.hasLength(2)); |
+ checkLink(o[0]); |
+ checkLink(o[1]); |
+} |
+ |
+core.int buildCounterDeepLinkData = 0; |
+buildDeepLinkData() { |
+ var o = new api.DeepLinkData(); |
+ buildCounterDeepLinkData++; |
+ if (buildCounterDeepLinkData < 3) { |
+ o.links = buildUnnamed1029(); |
+ o.url = "foo"; |
+ } |
+ buildCounterDeepLinkData--; |
+ return o; |
+} |
+ |
+checkDeepLinkData(api.DeepLinkData o) { |
+ buildCounterDeepLinkData++; |
+ if (buildCounterDeepLinkData < 3) { |
+ checkUnnamed1029(o.links); |
+ unittest.expect(o.url, unittest.equals('foo')); |
+ } |
+ buildCounterDeepLinkData--; |
+} |
+ |
+core.int buildCounterDisplayInfo = 0; |
+buildDisplayInfo() { |
+ var o = new api.DisplayInfo(); |
+ buildCounterDisplayInfo++; |
+ if (buildCounterDisplayInfo < 3) { |
+ o.appIconUrl = "foo"; |
+ o.appShortTitle = "foo"; |
+ o.appTitle = "foo"; |
+ o.linkShortTitle = "foo"; |
+ o.linkTitle = "foo"; |
+ } |
+ buildCounterDisplayInfo--; |
+ return o; |
+} |
+ |
+checkDisplayInfo(api.DisplayInfo o) { |
+ buildCounterDisplayInfo++; |
+ if (buildCounterDisplayInfo < 3) { |
+ unittest.expect(o.appIconUrl, unittest.equals('foo')); |
+ unittest.expect(o.appShortTitle, unittest.equals('foo')); |
+ unittest.expect(o.appTitle, unittest.equals('foo')); |
+ unittest.expect(o.linkShortTitle, unittest.equals('foo')); |
+ unittest.expect(o.linkTitle, unittest.equals('foo')); |
+ } |
+ buildCounterDisplayInfo--; |
+} |
+ |
core.int buildCounterError = 0; |
buildError() { |
var o = new api.Error(); |
@@ -472,27 +533,27 @@ checkError(api.Error o) { |
buildCounterError--; |
} |
-buildUnnamed1003() { |
+buildUnnamed1030() { |
var o = new core.List<api.EventAttachment>(); |
o.add(buildEventAttachment()); |
o.add(buildEventAttachment()); |
return o; |
} |
-checkUnnamed1003(core.List<api.EventAttachment> o) { |
+checkUnnamed1030(core.List<api.EventAttachment> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkEventAttachment(o[0]); |
checkEventAttachment(o[1]); |
} |
-buildUnnamed1004() { |
+buildUnnamed1031() { |
var o = new core.List<api.EventAttendee>(); |
o.add(buildEventAttendee()); |
o.add(buildEventAttendee()); |
return o; |
} |
-checkUnnamed1004(core.List<api.EventAttendee> o) { |
+checkUnnamed1031(core.List<api.EventAttendee> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkEventAttendee(o[0]); |
checkEventAttendee(o[1]); |
@@ -523,27 +584,27 @@ checkEventCreator(api.EventCreator o) { |
buildCounterEventCreator--; |
} |
-buildUnnamed1005() { |
+buildUnnamed1032() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed1005(core.Map<core.String, core.String> o) { |
+checkUnnamed1032(core.Map<core.String, core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o["x"], unittest.equals('foo')); |
unittest.expect(o["y"], unittest.equals('foo')); |
} |
-buildUnnamed1006() { |
+buildUnnamed1033() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed1006(core.Map<core.String, core.String> o) { |
+checkUnnamed1033(core.Map<core.String, core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o["x"], unittest.equals('foo')); |
unittest.expect(o["y"], unittest.equals('foo')); |
@@ -554,8 +615,8 @@ buildEventExtendedProperties() { |
var o = new api.EventExtendedProperties(); |
buildCounterEventExtendedProperties++; |
if (buildCounterEventExtendedProperties < 3) { |
- o.private = buildUnnamed1005(); |
- o.shared = buildUnnamed1006(); |
+ o.private = buildUnnamed1032(); |
+ o.shared = buildUnnamed1033(); |
} |
buildCounterEventExtendedProperties--; |
return o; |
@@ -564,20 +625,20 @@ buildEventExtendedProperties() { |
checkEventExtendedProperties(api.EventExtendedProperties o) { |
buildCounterEventExtendedProperties++; |
if (buildCounterEventExtendedProperties < 3) { |
- checkUnnamed1005(o.private); |
- checkUnnamed1006(o.shared); |
+ checkUnnamed1032(o.private); |
+ checkUnnamed1033(o.shared); |
} |
buildCounterEventExtendedProperties--; |
} |
-buildUnnamed1007() { |
+buildUnnamed1034() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed1007(core.Map<core.String, core.String> o) { |
+checkUnnamed1034(core.Map<core.String, core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o["x"], unittest.equals('foo')); |
unittest.expect(o["y"], unittest.equals('foo')); |
@@ -592,7 +653,7 @@ buildEventGadget() { |
o.height = 42; |
o.iconLink = "foo"; |
o.link = "foo"; |
- o.preferences = buildUnnamed1007(); |
+ o.preferences = buildUnnamed1034(); |
o.title = "foo"; |
o.type = "foo"; |
o.width = 42; |
@@ -608,7 +669,7 @@ checkEventGadget(api.EventGadget o) { |
unittest.expect(o.height, unittest.equals(42)); |
unittest.expect(o.iconLink, unittest.equals('foo')); |
unittest.expect(o.link, unittest.equals('foo')); |
- checkUnnamed1007(o.preferences); |
+ checkUnnamed1034(o.preferences); |
unittest.expect(o.title, unittest.equals('foo')); |
unittest.expect(o.type, unittest.equals('foo')); |
unittest.expect(o.width, unittest.equals(42)); |
@@ -641,27 +702,27 @@ checkEventOrganizer(api.EventOrganizer o) { |
buildCounterEventOrganizer--; |
} |
-buildUnnamed1008() { |
+buildUnnamed1035() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1008(core.List<core.String> o) { |
+checkUnnamed1035(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')); |
} |
-buildUnnamed1009() { |
+buildUnnamed1036() { |
var o = new core.List<api.EventReminder>(); |
o.add(buildEventReminder()); |
o.add(buildEventReminder()); |
return o; |
} |
-checkUnnamed1009(core.List<api.EventReminder> o) { |
+checkUnnamed1036(core.List<api.EventReminder> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkEventReminder(o[0]); |
checkEventReminder(o[1]); |
@@ -672,7 +733,7 @@ buildEventReminders() { |
var o = new api.EventReminders(); |
buildCounterEventReminders++; |
if (buildCounterEventReminders < 3) { |
- o.overrides = buildUnnamed1009(); |
+ o.overrides = buildUnnamed1036(); |
o.useDefault = true; |
} |
buildCounterEventReminders--; |
@@ -682,7 +743,7 @@ buildEventReminders() { |
checkEventReminders(api.EventReminders o) { |
buildCounterEventReminders++; |
if (buildCounterEventReminders < 3) { |
- checkUnnamed1009(o.overrides); |
+ checkUnnamed1036(o.overrides); |
unittest.expect(o.useDefault, unittest.isTrue); |
} |
buildCounterEventReminders--; |
@@ -715,8 +776,8 @@ buildEvent() { |
buildCounterEvent++; |
if (buildCounterEvent < 3) { |
o.anyoneCanAddSelf = true; |
- o.attachments = buildUnnamed1003(); |
- o.attendees = buildUnnamed1004(); |
+ o.attachments = buildUnnamed1030(); |
+ o.attendees = buildUnnamed1031(); |
o.attendeesOmitted = true; |
o.colorId = "foo"; |
o.created = core.DateTime.parse("2002-02-27T14:01:02"); |
@@ -740,7 +801,7 @@ buildEvent() { |
o.organizer = buildEventOrganizer(); |
o.originalStartTime = buildEventDateTime(); |
o.privateCopy = true; |
- o.recurrence = buildUnnamed1008(); |
+ o.recurrence = buildUnnamed1035(); |
o.recurringEventId = "foo"; |
o.reminders = buildEventReminders(); |
o.sequence = 42; |
@@ -760,8 +821,8 @@ checkEvent(api.Event o) { |
buildCounterEvent++; |
if (buildCounterEvent < 3) { |
unittest.expect(o.anyoneCanAddSelf, unittest.isTrue); |
- checkUnnamed1003(o.attachments); |
- checkUnnamed1004(o.attendees); |
+ checkUnnamed1030(o.attachments); |
+ checkUnnamed1031(o.attendees); |
unittest.expect(o.attendeesOmitted, unittest.isTrue); |
unittest.expect(o.colorId, unittest.equals('foo')); |
unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
@@ -785,7 +846,7 @@ checkEvent(api.Event o) { |
checkEventOrganizer(o.organizer); |
checkEventDateTime(o.originalStartTime); |
unittest.expect(o.privateCopy, unittest.isTrue); |
- checkUnnamed1008(o.recurrence); |
+ checkUnnamed1035(o.recurrence); |
unittest.expect(o.recurringEventId, unittest.equals('foo')); |
checkEventReminders(o.reminders); |
unittest.expect(o.sequence, unittest.equals(42)); |
@@ -887,6 +948,27 @@ checkEventDateTime(api.EventDateTime o) { |
buildCounterEventDateTime--; |
} |
+core.int buildCounterEventHabitInstance = 0; |
+buildEventHabitInstance() { |
+ var o = new api.EventHabitInstance(); |
+ buildCounterEventHabitInstance++; |
+ if (buildCounterEventHabitInstance < 3) { |
+ o.data = buildHabitInstanceData(); |
+ o.parentId = "foo"; |
+ } |
+ buildCounterEventHabitInstance--; |
+ return o; |
+} |
+ |
+checkEventHabitInstance(api.EventHabitInstance o) { |
+ buildCounterEventHabitInstance++; |
+ if (buildCounterEventHabitInstance < 3) { |
+ checkHabitInstanceData(o.data); |
+ unittest.expect(o.parentId, unittest.equals('foo')); |
+ } |
+ buildCounterEventHabitInstance--; |
+} |
+ |
core.int buildCounterEventReminder = 0; |
buildEventReminder() { |
var o = new api.EventReminder(); |
@@ -908,27 +990,27 @@ checkEventReminder(api.EventReminder o) { |
buildCounterEventReminder--; |
} |
-buildUnnamed1010() { |
+buildUnnamed1037() { |
var o = new core.List<api.EventReminder>(); |
o.add(buildEventReminder()); |
o.add(buildEventReminder()); |
return o; |
} |
-checkUnnamed1010(core.List<api.EventReminder> o) { |
+checkUnnamed1037(core.List<api.EventReminder> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkEventReminder(o[0]); |
checkEventReminder(o[1]); |
} |
-buildUnnamed1011() { |
+buildUnnamed1038() { |
var o = new core.List<api.Event>(); |
o.add(buildEvent()); |
o.add(buildEvent()); |
return o; |
} |
-checkUnnamed1011(core.List<api.Event> o) { |
+checkUnnamed1038(core.List<api.Event> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkEvent(o[0]); |
checkEvent(o[1]); |
@@ -940,10 +1022,10 @@ buildEvents() { |
buildCounterEvents++; |
if (buildCounterEvents < 3) { |
o.accessRole = "foo"; |
- o.defaultReminders = buildUnnamed1010(); |
+ o.defaultReminders = buildUnnamed1037(); |
o.description = "foo"; |
o.etag = "foo"; |
- o.items = buildUnnamed1011(); |
+ o.items = buildUnnamed1038(); |
o.kind = "foo"; |
o.nextPageToken = "foo"; |
o.nextSyncToken = "foo"; |
@@ -959,10 +1041,10 @@ checkEvents(api.Events o) { |
buildCounterEvents++; |
if (buildCounterEvents < 3) { |
unittest.expect(o.accessRole, unittest.equals('foo')); |
- checkUnnamed1010(o.defaultReminders); |
+ checkUnnamed1037(o.defaultReminders); |
unittest.expect(o.description, unittest.equals('foo')); |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed1011(o.items); |
+ checkUnnamed1038(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
unittest.expect(o.nextSyncToken, unittest.equals('foo')); |
@@ -973,27 +1055,27 @@ checkEvents(api.Events o) { |
buildCounterEvents--; |
} |
-buildUnnamed1012() { |
+buildUnnamed1039() { |
var o = new core.List<api.TimePeriod>(); |
o.add(buildTimePeriod()); |
o.add(buildTimePeriod()); |
return o; |
} |
-checkUnnamed1012(core.List<api.TimePeriod> o) { |
+checkUnnamed1039(core.List<api.TimePeriod> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkTimePeriod(o[0]); |
checkTimePeriod(o[1]); |
} |
-buildUnnamed1013() { |
+buildUnnamed1040() { |
var o = new core.List<api.Error>(); |
o.add(buildError()); |
o.add(buildError()); |
return o; |
} |
-checkUnnamed1013(core.List<api.Error> o) { |
+checkUnnamed1040(core.List<api.Error> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkError(o[0]); |
checkError(o[1]); |
@@ -1004,8 +1086,8 @@ buildFreeBusyCalendar() { |
var o = new api.FreeBusyCalendar(); |
buildCounterFreeBusyCalendar++; |
if (buildCounterFreeBusyCalendar < 3) { |
- o.busy = buildUnnamed1012(); |
- o.errors = buildUnnamed1013(); |
+ o.busy = buildUnnamed1039(); |
+ o.errors = buildUnnamed1040(); |
} |
buildCounterFreeBusyCalendar--; |
return o; |
@@ -1014,33 +1096,33 @@ buildFreeBusyCalendar() { |
checkFreeBusyCalendar(api.FreeBusyCalendar o) { |
buildCounterFreeBusyCalendar++; |
if (buildCounterFreeBusyCalendar < 3) { |
- checkUnnamed1012(o.busy); |
- checkUnnamed1013(o.errors); |
+ checkUnnamed1039(o.busy); |
+ checkUnnamed1040(o.errors); |
} |
buildCounterFreeBusyCalendar--; |
} |
-buildUnnamed1014() { |
+buildUnnamed1041() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1014(core.List<core.String> o) { |
+checkUnnamed1041(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')); |
} |
-buildUnnamed1015() { |
+buildUnnamed1042() { |
var o = new core.List<api.Error>(); |
o.add(buildError()); |
o.add(buildError()); |
return o; |
} |
-checkUnnamed1015(core.List<api.Error> o) { |
+checkUnnamed1042(core.List<api.Error> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkError(o[0]); |
checkError(o[1]); |
@@ -1051,8 +1133,8 @@ buildFreeBusyGroup() { |
var o = new api.FreeBusyGroup(); |
buildCounterFreeBusyGroup++; |
if (buildCounterFreeBusyGroup < 3) { |
- o.calendars = buildUnnamed1014(); |
- o.errors = buildUnnamed1015(); |
+ o.calendars = buildUnnamed1041(); |
+ o.errors = buildUnnamed1042(); |
} |
buildCounterFreeBusyGroup--; |
return o; |
@@ -1061,20 +1143,20 @@ buildFreeBusyGroup() { |
checkFreeBusyGroup(api.FreeBusyGroup o) { |
buildCounterFreeBusyGroup++; |
if (buildCounterFreeBusyGroup < 3) { |
- checkUnnamed1014(o.calendars); |
- checkUnnamed1015(o.errors); |
+ checkUnnamed1041(o.calendars); |
+ checkUnnamed1042(o.errors); |
} |
buildCounterFreeBusyGroup--; |
} |
-buildUnnamed1016() { |
+buildUnnamed1043() { |
var o = new core.List<api.FreeBusyRequestItem>(); |
o.add(buildFreeBusyRequestItem()); |
o.add(buildFreeBusyRequestItem()); |
return o; |
} |
-checkUnnamed1016(core.List<api.FreeBusyRequestItem> o) { |
+checkUnnamed1043(core.List<api.FreeBusyRequestItem> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkFreeBusyRequestItem(o[0]); |
checkFreeBusyRequestItem(o[1]); |
@@ -1087,7 +1169,7 @@ buildFreeBusyRequest() { |
if (buildCounterFreeBusyRequest < 3) { |
o.calendarExpansionMax = 42; |
o.groupExpansionMax = 42; |
- o.items = buildUnnamed1016(); |
+ o.items = buildUnnamed1043(); |
o.timeMax = core.DateTime.parse("2002-02-27T14:01:02"); |
o.timeMin = core.DateTime.parse("2002-02-27T14:01:02"); |
o.timeZone = "foo"; |
@@ -1101,7 +1183,7 @@ checkFreeBusyRequest(api.FreeBusyRequest o) { |
if (buildCounterFreeBusyRequest < 3) { |
unittest.expect(o.calendarExpansionMax, unittest.equals(42)); |
unittest.expect(o.groupExpansionMax, unittest.equals(42)); |
- checkUnnamed1016(o.items); |
+ checkUnnamed1043(o.items); |
unittest.expect(o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
unittest.expect(o.timeMin, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
unittest.expect(o.timeZone, unittest.equals('foo')); |
@@ -1128,27 +1210,27 @@ checkFreeBusyRequestItem(api.FreeBusyRequestItem o) { |
buildCounterFreeBusyRequestItem--; |
} |
-buildUnnamed1017() { |
+buildUnnamed1044() { |
var o = new core.Map<core.String, api.FreeBusyCalendar>(); |
o["x"] = buildFreeBusyCalendar(); |
o["y"] = buildFreeBusyCalendar(); |
return o; |
} |
-checkUnnamed1017(core.Map<core.String, api.FreeBusyCalendar> o) { |
+checkUnnamed1044(core.Map<core.String, api.FreeBusyCalendar> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkFreeBusyCalendar(o["x"]); |
checkFreeBusyCalendar(o["y"]); |
} |
-buildUnnamed1018() { |
+buildUnnamed1045() { |
var o = new core.Map<core.String, api.FreeBusyGroup>(); |
o["x"] = buildFreeBusyGroup(); |
o["y"] = buildFreeBusyGroup(); |
return o; |
} |
-checkUnnamed1018(core.Map<core.String, api.FreeBusyGroup> o) { |
+checkUnnamed1045(core.Map<core.String, api.FreeBusyGroup> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkFreeBusyGroup(o["x"]); |
checkFreeBusyGroup(o["y"]); |
@@ -1159,8 +1241,8 @@ buildFreeBusyResponse() { |
var o = new api.FreeBusyResponse(); |
buildCounterFreeBusyResponse++; |
if (buildCounterFreeBusyResponse < 3) { |
- o.calendars = buildUnnamed1017(); |
- o.groups = buildUnnamed1018(); |
+ o.calendars = buildUnnamed1044(); |
+ o.groups = buildUnnamed1045(); |
o.kind = "foo"; |
o.timeMax = core.DateTime.parse("2002-02-27T14:01:02"); |
o.timeMin = core.DateTime.parse("2002-02-27T14:01:02"); |
@@ -1172,8 +1254,8 @@ buildFreeBusyResponse() { |
checkFreeBusyResponse(api.FreeBusyResponse o) { |
buildCounterFreeBusyResponse++; |
if (buildCounterFreeBusyResponse < 3) { |
- checkUnnamed1017(o.calendars); |
- checkUnnamed1018(o.groups); |
+ checkUnnamed1044(o.calendars); |
+ checkUnnamed1045(o.groups); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
unittest.expect(o.timeMin, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
@@ -1181,6 +1263,81 @@ checkFreeBusyResponse(api.FreeBusyResponse o) { |
buildCounterFreeBusyResponse--; |
} |
+core.int buildCounterHabitInstanceData = 0; |
+buildHabitInstanceData() { |
+ var o = new api.HabitInstanceData(); |
+ buildCounterHabitInstanceData++; |
+ if (buildCounterHabitInstanceData < 3) { |
+ o.status = "foo"; |
+ o.statusInferred = true; |
+ o.type = "foo"; |
+ } |
+ buildCounterHabitInstanceData--; |
+ return o; |
+} |
+ |
+checkHabitInstanceData(api.HabitInstanceData o) { |
+ buildCounterHabitInstanceData++; |
+ if (buildCounterHabitInstanceData < 3) { |
+ unittest.expect(o.status, unittest.equals('foo')); |
+ unittest.expect(o.statusInferred, unittest.isTrue); |
+ unittest.expect(o.type, unittest.equals('foo')); |
+ } |
+ buildCounterHabitInstanceData--; |
+} |
+ |
+core.int buildCounterLaunchInfo = 0; |
+buildLaunchInfo() { |
+ var o = new api.LaunchInfo(); |
+ buildCounterLaunchInfo++; |
+ if (buildCounterLaunchInfo < 3) { |
+ o.appId = "foo"; |
+ o.installUrl = "foo"; |
+ o.intentAction = "foo"; |
+ o.uri = "foo"; |
+ } |
+ buildCounterLaunchInfo--; |
+ return o; |
+} |
+ |
+checkLaunchInfo(api.LaunchInfo o) { |
+ buildCounterLaunchInfo++; |
+ if (buildCounterLaunchInfo < 3) { |
+ unittest.expect(o.appId, unittest.equals('foo')); |
+ unittest.expect(o.installUrl, unittest.equals('foo')); |
+ unittest.expect(o.intentAction, unittest.equals('foo')); |
+ unittest.expect(o.uri, unittest.equals('foo')); |
+ } |
+ buildCounterLaunchInfo--; |
+} |
+ |
+core.int buildCounterLink = 0; |
+buildLink() { |
+ var o = new api.Link(); |
+ buildCounterLink++; |
+ if (buildCounterLink < 3) { |
+ o.applinkingSource = "foo"; |
+ o.displayInfo = buildDisplayInfo(); |
+ o.launchInfo = buildLaunchInfo(); |
+ o.platform = "foo"; |
+ o.url = "foo"; |
+ } |
+ buildCounterLink--; |
+ return o; |
+} |
+ |
+checkLink(api.Link o) { |
+ buildCounterLink++; |
+ if (buildCounterLink < 3) { |
+ unittest.expect(o.applinkingSource, unittest.equals('foo')); |
+ checkDisplayInfo(o.displayInfo); |
+ checkLaunchInfo(o.launchInfo); |
+ unittest.expect(o.platform, unittest.equals('foo')); |
+ unittest.expect(o.url, unittest.equals('foo')); |
+ } |
+ buildCounterLink--; |
+} |
+ |
core.int buildCounterSetting = 0; |
buildSetting() { |
var o = new api.Setting(); |
@@ -1206,14 +1363,14 @@ checkSetting(api.Setting o) { |
buildCounterSetting--; |
} |
-buildUnnamed1019() { |
+buildUnnamed1046() { |
var o = new core.List<api.Setting>(); |
o.add(buildSetting()); |
o.add(buildSetting()); |
return o; |
} |
-checkUnnamed1019(core.List<api.Setting> o) { |
+checkUnnamed1046(core.List<api.Setting> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkSetting(o[0]); |
checkSetting(o[1]); |
@@ -1225,7 +1382,7 @@ buildSettings() { |
buildCounterSettings++; |
if (buildCounterSettings < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed1019(); |
+ o.items = buildUnnamed1046(); |
o.kind = "foo"; |
o.nextPageToken = "foo"; |
o.nextSyncToken = "foo"; |
@@ -1238,7 +1395,7 @@ checkSettings(api.Settings o) { |
buildCounterSettings++; |
if (buildCounterSettings < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed1019(o.items); |
+ checkUnnamed1046(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
unittest.expect(o.nextSyncToken, unittest.equals('foo')); |
@@ -1267,53 +1424,53 @@ checkTimePeriod(api.TimePeriod o) { |
buildCounterTimePeriod--; |
} |
-buildUnnamed1020() { |
+buildUnnamed1047() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1020(core.List<core.String> o) { |
+checkUnnamed1047(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')); |
} |
-buildUnnamed1021() { |
+buildUnnamed1048() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1021(core.List<core.String> o) { |
+checkUnnamed1048(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')); |
} |
-buildUnnamed1022() { |
+buildUnnamed1049() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1022(core.List<core.String> o) { |
+checkUnnamed1049(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')); |
} |
-buildUnnamed1023() { |
+buildUnnamed1050() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1023(core.List<core.String> o) { |
+checkUnnamed1050(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')); |
@@ -1420,6 +1577,24 @@ main() { |
}); |
+ unittest.group("obj-schema-DeepLinkData", () { |
+ unittest.test("to-json--from-json", () { |
+ var o = buildDeepLinkData(); |
+ var od = new api.DeepLinkData.fromJson(o.toJson()); |
+ checkDeepLinkData(od); |
+ }); |
+ }); |
+ |
+ |
+ unittest.group("obj-schema-DisplayInfo", () { |
+ unittest.test("to-json--from-json", () { |
+ var o = buildDisplayInfo(); |
+ var od = new api.DisplayInfo.fromJson(o.toJson()); |
+ checkDisplayInfo(od); |
+ }); |
+ }); |
+ |
+ |
unittest.group("obj-schema-Error", () { |
unittest.test("to-json--from-json", () { |
var o = buildError(); |
@@ -1519,6 +1694,15 @@ main() { |
}); |
+ unittest.group("obj-schema-EventHabitInstance", () { |
+ unittest.test("to-json--from-json", () { |
+ var o = buildEventHabitInstance(); |
+ var od = new api.EventHabitInstance.fromJson(o.toJson()); |
+ checkEventHabitInstance(od); |
+ }); |
+ }); |
+ |
+ |
unittest.group("obj-schema-EventReminder", () { |
unittest.test("to-json--from-json", () { |
var o = buildEventReminder(); |
@@ -1582,6 +1766,33 @@ main() { |
}); |
+ unittest.group("obj-schema-HabitInstanceData", () { |
+ unittest.test("to-json--from-json", () { |
+ var o = buildHabitInstanceData(); |
+ var od = new api.HabitInstanceData.fromJson(o.toJson()); |
+ checkHabitInstanceData(od); |
+ }); |
+ }); |
+ |
+ |
+ unittest.group("obj-schema-LaunchInfo", () { |
+ unittest.test("to-json--from-json", () { |
+ var o = buildLaunchInfo(); |
+ var od = new api.LaunchInfo.fromJson(o.toJson()); |
+ checkLaunchInfo(od); |
+ }); |
+ }); |
+ |
+ |
+ unittest.group("obj-schema-Link", () { |
+ unittest.test("to-json--from-json", () { |
+ var o = buildLink(); |
+ var od = new api.Link.fromJson(o.toJson()); |
+ checkLink(od); |
+ }); |
+ }); |
+ |
+ |
unittest.group("obj-schema-Setting", () { |
unittest.test("to-json--from-json", () { |
var o = buildSetting(); |
@@ -3148,9 +3359,9 @@ main() { |
var arg_maxResults = 42; |
var arg_orderBy = "foo"; |
var arg_pageToken = "foo"; |
- var arg_privateExtendedProperty = buildUnnamed1020(); |
+ var arg_privateExtendedProperty = buildUnnamed1047(); |
var arg_q = "foo"; |
- var arg_sharedExtendedProperty = buildUnnamed1021(); |
+ var arg_sharedExtendedProperty = buildUnnamed1048(); |
var arg_showDeleted = true; |
var arg_showHiddenInvitations = true; |
var arg_singleEvents = true; |
@@ -3496,9 +3707,9 @@ main() { |
var arg_maxResults = 42; |
var arg_orderBy = "foo"; |
var arg_pageToken = "foo"; |
- var arg_privateExtendedProperty = buildUnnamed1022(); |
+ var arg_privateExtendedProperty = buildUnnamed1049(); |
var arg_q = "foo"; |
- var arg_sharedExtendedProperty = buildUnnamed1023(); |
+ var arg_sharedExtendedProperty = buildUnnamed1050(); |
var arg_showDeleted = true; |
var arg_showHiddenInvitations = true; |
var arg_singleEvents = true; |