Index: generated/googleapis/test/classroom/v1_test.dart |
diff --git a/generated/googleapis/test/classroom/v1_test.dart b/generated/googleapis/test/classroom/v1_test.dart |
index 75f2bec73cab2029e85792583bba65e87bdab100..9a28abbb463801c5b071c5908e942f440c67b39f 100644 |
--- a/generated/googleapis/test/classroom/v1_test.dart |
+++ b/generated/googleapis/test/classroom/v1_test.dart |
@@ -70,14 +70,14 @@ checkAssignment(api.Assignment o) { |
buildCounterAssignment--; |
} |
-buildUnnamed612() { |
+buildUnnamed834() { |
var o = new core.List<api.Attachment>(); |
o.add(buildAttachment()); |
o.add(buildAttachment()); |
return o; |
} |
-checkUnnamed612(core.List<api.Attachment> o) { |
+checkUnnamed834(core.List<api.Attachment> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAttachment(o[0]); |
checkAttachment(o[1]); |
@@ -88,7 +88,7 @@ buildAssignmentSubmission() { |
var o = new api.AssignmentSubmission(); |
buildCounterAssignmentSubmission++; |
if (buildCounterAssignmentSubmission < 3) { |
- o.attachments = buildUnnamed612(); |
+ o.attachments = buildUnnamed834(); |
} |
buildCounterAssignmentSubmission--; |
return o; |
@@ -97,7 +97,7 @@ buildAssignmentSubmission() { |
checkAssignmentSubmission(api.AssignmentSubmission o) { |
buildCounterAssignmentSubmission++; |
if (buildCounterAssignmentSubmission < 3) { |
- checkUnnamed612(o.attachments); |
+ checkUnnamed834(o.attachments); |
} |
buildCounterAssignmentSubmission--; |
} |
@@ -127,14 +127,14 @@ checkAttachment(api.Attachment o) { |
buildCounterAttachment--; |
} |
-buildUnnamed613() { |
+buildUnnamed835() { |
var o = new core.List<api.CourseMaterialSet>(); |
o.add(buildCourseMaterialSet()); |
o.add(buildCourseMaterialSet()); |
return o; |
} |
-checkUnnamed613(core.List<api.CourseMaterialSet> o) { |
+checkUnnamed835(core.List<api.CourseMaterialSet> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkCourseMaterialSet(o[0]); |
checkCourseMaterialSet(o[1]); |
@@ -147,7 +147,7 @@ buildCourse() { |
if (buildCounterCourse < 3) { |
o.alternateLink = "foo"; |
o.courseGroupEmail = "foo"; |
- o.courseMaterialSets = buildUnnamed613(); |
+ o.courseMaterialSets = buildUnnamed835(); |
o.courseState = "foo"; |
o.creationTime = "foo"; |
o.description = "foo"; |
@@ -171,7 +171,7 @@ checkCourse(api.Course o) { |
if (buildCounterCourse < 3) { |
unittest.expect(o.alternateLink, unittest.equals('foo')); |
unittest.expect(o.courseGroupEmail, unittest.equals('foo')); |
- checkUnnamed613(o.courseMaterialSets); |
+ checkUnnamed835(o.courseMaterialSets); |
unittest.expect(o.courseState, unittest.equals('foo')); |
unittest.expect(o.creationTime, unittest.equals('foo')); |
unittest.expect(o.description, unittest.equals('foo')); |
@@ -233,14 +233,14 @@ checkCourseMaterial(api.CourseMaterial o) { |
buildCounterCourseMaterial--; |
} |
-buildUnnamed614() { |
+buildUnnamed836() { |
var o = new core.List<api.CourseMaterial>(); |
o.add(buildCourseMaterial()); |
o.add(buildCourseMaterial()); |
return o; |
} |
-checkUnnamed614(core.List<api.CourseMaterial> o) { |
+checkUnnamed836(core.List<api.CourseMaterial> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkCourseMaterial(o[0]); |
checkCourseMaterial(o[1]); |
@@ -251,7 +251,7 @@ buildCourseMaterialSet() { |
var o = new api.CourseMaterialSet(); |
buildCounterCourseMaterialSet++; |
if (buildCounterCourseMaterialSet < 3) { |
- o.materials = buildUnnamed614(); |
+ o.materials = buildUnnamed836(); |
o.title = "foo"; |
} |
buildCounterCourseMaterialSet--; |
@@ -261,20 +261,20 @@ buildCourseMaterialSet() { |
checkCourseMaterialSet(api.CourseMaterialSet o) { |
buildCounterCourseMaterialSet++; |
if (buildCounterCourseMaterialSet < 3) { |
- checkUnnamed614(o.materials); |
+ checkUnnamed836(o.materials); |
unittest.expect(o.title, unittest.equals('foo')); |
} |
buildCounterCourseMaterialSet--; |
} |
-buildUnnamed615() { |
+buildUnnamed837() { |
var o = new core.List<api.Material>(); |
o.add(buildMaterial()); |
o.add(buildMaterial()); |
return o; |
} |
-checkUnnamed615(core.List<api.Material> o) { |
+checkUnnamed837(core.List<api.Material> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkMaterial(o[0]); |
checkMaterial(o[1]); |
@@ -294,7 +294,7 @@ buildCourseWork() { |
o.dueDate = buildDate(); |
o.dueTime = buildTimeOfDay(); |
o.id = "foo"; |
- o.materials = buildUnnamed615(); |
+ o.materials = buildUnnamed837(); |
o.maxPoints = 42.0; |
o.multipleChoiceQuestion = buildMultipleChoiceQuestion(); |
o.state = "foo"; |
@@ -319,7 +319,7 @@ checkCourseWork(api.CourseWork o) { |
checkDate(o.dueDate); |
checkTimeOfDay(o.dueTime); |
unittest.expect(o.id, unittest.equals('foo')); |
- checkUnnamed615(o.materials); |
+ checkUnnamed837(o.materials); |
unittest.expect(o.maxPoints, unittest.equals(42.0)); |
checkMultipleChoiceQuestion(o.multipleChoiceQuestion); |
unittest.expect(o.state, unittest.equals('foo')); |
@@ -511,14 +511,14 @@ checkLink(api.Link o) { |
buildCounterLink--; |
} |
-buildUnnamed616() { |
+buildUnnamed838() { |
var o = new core.List<api.CourseAlias>(); |
o.add(buildCourseAlias()); |
o.add(buildCourseAlias()); |
return o; |
} |
-checkUnnamed616(core.List<api.CourseAlias> o) { |
+checkUnnamed838(core.List<api.CourseAlias> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkCourseAlias(o[0]); |
checkCourseAlias(o[1]); |
@@ -529,7 +529,7 @@ buildListCourseAliasesResponse() { |
var o = new api.ListCourseAliasesResponse(); |
buildCounterListCourseAliasesResponse++; |
if (buildCounterListCourseAliasesResponse < 3) { |
- o.aliases = buildUnnamed616(); |
+ o.aliases = buildUnnamed838(); |
o.nextPageToken = "foo"; |
} |
buildCounterListCourseAliasesResponse--; |
@@ -539,20 +539,20 @@ buildListCourseAliasesResponse() { |
checkListCourseAliasesResponse(api.ListCourseAliasesResponse o) { |
buildCounterListCourseAliasesResponse++; |
if (buildCounterListCourseAliasesResponse < 3) { |
- checkUnnamed616(o.aliases); |
+ checkUnnamed838(o.aliases); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterListCourseAliasesResponse--; |
} |
-buildUnnamed617() { |
+buildUnnamed839() { |
var o = new core.List<api.CourseWork>(); |
o.add(buildCourseWork()); |
o.add(buildCourseWork()); |
return o; |
} |
-checkUnnamed617(core.List<api.CourseWork> o) { |
+checkUnnamed839(core.List<api.CourseWork> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkCourseWork(o[0]); |
checkCourseWork(o[1]); |
@@ -563,7 +563,7 @@ buildListCourseWorkResponse() { |
var o = new api.ListCourseWorkResponse(); |
buildCounterListCourseWorkResponse++; |
if (buildCounterListCourseWorkResponse < 3) { |
- o.courseWork = buildUnnamed617(); |
+ o.courseWork = buildUnnamed839(); |
o.nextPageToken = "foo"; |
} |
buildCounterListCourseWorkResponse--; |
@@ -573,20 +573,20 @@ buildListCourseWorkResponse() { |
checkListCourseWorkResponse(api.ListCourseWorkResponse o) { |
buildCounterListCourseWorkResponse++; |
if (buildCounterListCourseWorkResponse < 3) { |
- checkUnnamed617(o.courseWork); |
+ checkUnnamed839(o.courseWork); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterListCourseWorkResponse--; |
} |
-buildUnnamed618() { |
+buildUnnamed840() { |
var o = new core.List<api.Course>(); |
o.add(buildCourse()); |
o.add(buildCourse()); |
return o; |
} |
-checkUnnamed618(core.List<api.Course> o) { |
+checkUnnamed840(core.List<api.Course> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkCourse(o[0]); |
checkCourse(o[1]); |
@@ -597,7 +597,7 @@ buildListCoursesResponse() { |
var o = new api.ListCoursesResponse(); |
buildCounterListCoursesResponse++; |
if (buildCounterListCoursesResponse < 3) { |
- o.courses = buildUnnamed618(); |
+ o.courses = buildUnnamed840(); |
o.nextPageToken = "foo"; |
} |
buildCounterListCoursesResponse--; |
@@ -607,20 +607,20 @@ buildListCoursesResponse() { |
checkListCoursesResponse(api.ListCoursesResponse o) { |
buildCounterListCoursesResponse++; |
if (buildCounterListCoursesResponse < 3) { |
- checkUnnamed618(o.courses); |
+ checkUnnamed840(o.courses); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterListCoursesResponse--; |
} |
-buildUnnamed619() { |
+buildUnnamed841() { |
var o = new core.List<api.Invitation>(); |
o.add(buildInvitation()); |
o.add(buildInvitation()); |
return o; |
} |
-checkUnnamed619(core.List<api.Invitation> o) { |
+checkUnnamed841(core.List<api.Invitation> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkInvitation(o[0]); |
checkInvitation(o[1]); |
@@ -631,7 +631,7 @@ buildListInvitationsResponse() { |
var o = new api.ListInvitationsResponse(); |
buildCounterListInvitationsResponse++; |
if (buildCounterListInvitationsResponse < 3) { |
- o.invitations = buildUnnamed619(); |
+ o.invitations = buildUnnamed841(); |
o.nextPageToken = "foo"; |
} |
buildCounterListInvitationsResponse--; |
@@ -641,20 +641,20 @@ buildListInvitationsResponse() { |
checkListInvitationsResponse(api.ListInvitationsResponse o) { |
buildCounterListInvitationsResponse++; |
if (buildCounterListInvitationsResponse < 3) { |
- checkUnnamed619(o.invitations); |
+ checkUnnamed841(o.invitations); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterListInvitationsResponse--; |
} |
-buildUnnamed620() { |
+buildUnnamed842() { |
var o = new core.List<api.StudentSubmission>(); |
o.add(buildStudentSubmission()); |
o.add(buildStudentSubmission()); |
return o; |
} |
-checkUnnamed620(core.List<api.StudentSubmission> o) { |
+checkUnnamed842(core.List<api.StudentSubmission> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkStudentSubmission(o[0]); |
checkStudentSubmission(o[1]); |
@@ -666,7 +666,7 @@ buildListStudentSubmissionsResponse() { |
buildCounterListStudentSubmissionsResponse++; |
if (buildCounterListStudentSubmissionsResponse < 3) { |
o.nextPageToken = "foo"; |
- o.studentSubmissions = buildUnnamed620(); |
+ o.studentSubmissions = buildUnnamed842(); |
} |
buildCounterListStudentSubmissionsResponse--; |
return o; |
@@ -676,19 +676,19 @@ checkListStudentSubmissionsResponse(api.ListStudentSubmissionsResponse o) { |
buildCounterListStudentSubmissionsResponse++; |
if (buildCounterListStudentSubmissionsResponse < 3) { |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
- checkUnnamed620(o.studentSubmissions); |
+ checkUnnamed842(o.studentSubmissions); |
} |
buildCounterListStudentSubmissionsResponse--; |
} |
-buildUnnamed621() { |
+buildUnnamed843() { |
var o = new core.List<api.Student>(); |
o.add(buildStudent()); |
o.add(buildStudent()); |
return o; |
} |
-checkUnnamed621(core.List<api.Student> o) { |
+checkUnnamed843(core.List<api.Student> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkStudent(o[0]); |
checkStudent(o[1]); |
@@ -700,7 +700,7 @@ buildListStudentsResponse() { |
buildCounterListStudentsResponse++; |
if (buildCounterListStudentsResponse < 3) { |
o.nextPageToken = "foo"; |
- o.students = buildUnnamed621(); |
+ o.students = buildUnnamed843(); |
} |
buildCounterListStudentsResponse--; |
return o; |
@@ -710,19 +710,19 @@ checkListStudentsResponse(api.ListStudentsResponse o) { |
buildCounterListStudentsResponse++; |
if (buildCounterListStudentsResponse < 3) { |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
- checkUnnamed621(o.students); |
+ checkUnnamed843(o.students); |
} |
buildCounterListStudentsResponse--; |
} |
-buildUnnamed622() { |
+buildUnnamed844() { |
var o = new core.List<api.Teacher>(); |
o.add(buildTeacher()); |
o.add(buildTeacher()); |
return o; |
} |
-checkUnnamed622(core.List<api.Teacher> o) { |
+checkUnnamed844(core.List<api.Teacher> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkTeacher(o[0]); |
checkTeacher(o[1]); |
@@ -734,7 +734,7 @@ buildListTeachersResponse() { |
buildCounterListTeachersResponse++; |
if (buildCounterListTeachersResponse < 3) { |
o.nextPageToken = "foo"; |
- o.teachers = buildUnnamed622(); |
+ o.teachers = buildUnnamed844(); |
} |
buildCounterListTeachersResponse--; |
return o; |
@@ -744,7 +744,7 @@ checkListTeachersResponse(api.ListTeachersResponse o) { |
buildCounterListTeachersResponse++; |
if (buildCounterListTeachersResponse < 3) { |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
- checkUnnamed622(o.teachers); |
+ checkUnnamed844(o.teachers); |
} |
buildCounterListTeachersResponse--; |
} |
@@ -774,14 +774,14 @@ checkMaterial(api.Material o) { |
buildCounterMaterial--; |
} |
-buildUnnamed623() { |
+buildUnnamed845() { |
var o = new core.List<api.Attachment>(); |
o.add(buildAttachment()); |
o.add(buildAttachment()); |
return o; |
} |
-checkUnnamed623(core.List<api.Attachment> o) { |
+checkUnnamed845(core.List<api.Attachment> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAttachment(o[0]); |
checkAttachment(o[1]); |
@@ -792,7 +792,7 @@ buildModifyAttachmentsRequest() { |
var o = new api.ModifyAttachmentsRequest(); |
buildCounterModifyAttachmentsRequest++; |
if (buildCounterModifyAttachmentsRequest < 3) { |
- o.addAttachments = buildUnnamed623(); |
+ o.addAttachments = buildUnnamed845(); |
} |
buildCounterModifyAttachmentsRequest--; |
return o; |
@@ -801,19 +801,19 @@ buildModifyAttachmentsRequest() { |
checkModifyAttachmentsRequest(api.ModifyAttachmentsRequest o) { |
buildCounterModifyAttachmentsRequest++; |
if (buildCounterModifyAttachmentsRequest < 3) { |
- checkUnnamed623(o.addAttachments); |
+ checkUnnamed845(o.addAttachments); |
} |
buildCounterModifyAttachmentsRequest--; |
} |
-buildUnnamed624() { |
+buildUnnamed846() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed624(core.List<core.String> o) { |
+checkUnnamed846(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')); |
@@ -824,7 +824,7 @@ buildMultipleChoiceQuestion() { |
var o = new api.MultipleChoiceQuestion(); |
buildCounterMultipleChoiceQuestion++; |
if (buildCounterMultipleChoiceQuestion < 3) { |
- o.choices = buildUnnamed624(); |
+ o.choices = buildUnnamed846(); |
} |
buildCounterMultipleChoiceQuestion--; |
return o; |
@@ -833,7 +833,7 @@ buildMultipleChoiceQuestion() { |
checkMultipleChoiceQuestion(api.MultipleChoiceQuestion o) { |
buildCounterMultipleChoiceQuestion++; |
if (buildCounterMultipleChoiceQuestion < 3) { |
- checkUnnamed624(o.choices); |
+ checkUnnamed846(o.choices); |
} |
buildCounterMultipleChoiceQuestion--; |
} |
@@ -1093,14 +1093,14 @@ checkTurnInStudentSubmissionRequest(api.TurnInStudentSubmissionRequest o) { |
buildCounterTurnInStudentSubmissionRequest--; |
} |
-buildUnnamed625() { |
+buildUnnamed847() { |
var o = new core.List<api.GlobalPermission>(); |
o.add(buildGlobalPermission()); |
o.add(buildGlobalPermission()); |
return o; |
} |
-checkUnnamed625(core.List<api.GlobalPermission> o) { |
+checkUnnamed847(core.List<api.GlobalPermission> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGlobalPermission(o[0]); |
checkGlobalPermission(o[1]); |
@@ -1114,7 +1114,7 @@ buildUserProfile() { |
o.emailAddress = "foo"; |
o.id = "foo"; |
o.name = buildName(); |
- o.permissions = buildUnnamed625(); |
+ o.permissions = buildUnnamed847(); |
o.photoUrl = "foo"; |
} |
buildCounterUserProfile--; |
@@ -1127,7 +1127,7 @@ checkUserProfile(api.UserProfile o) { |
unittest.expect(o.emailAddress, unittest.equals('foo')); |
unittest.expect(o.id, unittest.equals('foo')); |
checkName(o.name); |
- checkUnnamed625(o.permissions); |
+ checkUnnamed847(o.permissions); |
unittest.expect(o.photoUrl, unittest.equals('foo')); |
} |
buildCounterUserProfile--; |
@@ -1158,27 +1158,27 @@ checkYouTubeVideo(api.YouTubeVideo o) { |
buildCounterYouTubeVideo--; |
} |
-buildUnnamed626() { |
+buildUnnamed848() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed626(core.List<core.String> o) { |
+checkUnnamed848(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')); |
} |
-buildUnnamed627() { |
+buildUnnamed849() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed627(core.List<core.String> o) { |
+checkUnnamed849(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')); |
@@ -2122,7 +2122,7 @@ main() { |
var mock = new HttpServerMock(); |
api.CoursesCourseWorkResourceApi res = new api.ClassroomApi(mock).courses.courseWork; |
var arg_courseId = "foo"; |
- var arg_courseWorkStates = buildUnnamed626(); |
+ var arg_courseWorkStates = buildUnnamed848(); |
var arg_orderBy = "foo"; |
var arg_pageSize = 42; |
var arg_pageToken = "foo"; |
@@ -2250,7 +2250,7 @@ main() { |
var arg_courseId = "foo"; |
var arg_courseWorkId = "foo"; |
var arg_userId = "foo"; |
- var arg_states = buildUnnamed627(); |
+ var arg_states = buildUnnamed849(); |
var arg_late = "foo"; |
var arg_pageSize = 42; |
var arg_pageToken = "foo"; |