| 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 d10e379c118e3e69fbf483c0eb71dbfa92b05a41..e023a7d94d4b84168b6f61d3b8268254e49f036f 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--;
|
| }
|
|
|
| -buildUnnamed840() {
|
| +buildUnnamed658() {
|
| var o = new core.List<api.Attachment>();
|
| o.add(buildAttachment());
|
| o.add(buildAttachment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed840(core.List<api.Attachment> o) {
|
| +checkUnnamed658(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 = buildUnnamed840();
|
| + o.attachments = buildUnnamed658();
|
| }
|
| buildCounterAssignmentSubmission--;
|
| return o;
|
| @@ -97,7 +97,7 @@ buildAssignmentSubmission() {
|
| checkAssignmentSubmission(api.AssignmentSubmission o) {
|
| buildCounterAssignmentSubmission++;
|
| if (buildCounterAssignmentSubmission < 3) {
|
| - checkUnnamed840(o.attachments);
|
| + checkUnnamed658(o.attachments);
|
| }
|
| buildCounterAssignmentSubmission--;
|
| }
|
| @@ -127,14 +127,14 @@ checkAttachment(api.Attachment o) {
|
| buildCounterAttachment--;
|
| }
|
|
|
| -buildUnnamed841() {
|
| +buildUnnamed659() {
|
| var o = new core.List<api.CourseMaterialSet>();
|
| o.add(buildCourseMaterialSet());
|
| o.add(buildCourseMaterialSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed841(core.List<api.CourseMaterialSet> o) {
|
| +checkUnnamed659(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 = buildUnnamed841();
|
| + o.courseMaterialSets = buildUnnamed659();
|
| 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'));
|
| - checkUnnamed841(o.courseMaterialSets);
|
| + checkUnnamed659(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--;
|
| }
|
|
|
| -buildUnnamed842() {
|
| +buildUnnamed660() {
|
| var o = new core.List<api.CourseMaterial>();
|
| o.add(buildCourseMaterial());
|
| o.add(buildCourseMaterial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed842(core.List<api.CourseMaterial> o) {
|
| +checkUnnamed660(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 = buildUnnamed842();
|
| + o.materials = buildUnnamed660();
|
| o.title = "foo";
|
| }
|
| buildCounterCourseMaterialSet--;
|
| @@ -261,20 +261,20 @@ buildCourseMaterialSet() {
|
| checkCourseMaterialSet(api.CourseMaterialSet o) {
|
| buildCounterCourseMaterialSet++;
|
| if (buildCounterCourseMaterialSet < 3) {
|
| - checkUnnamed842(o.materials);
|
| + checkUnnamed660(o.materials);
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| }
|
| buildCounterCourseMaterialSet--;
|
| }
|
|
|
| -buildUnnamed843() {
|
| +buildUnnamed661() {
|
| var o = new core.List<api.Material>();
|
| o.add(buildMaterial());
|
| o.add(buildMaterial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed843(core.List<api.Material> o) {
|
| +checkUnnamed661(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 = buildUnnamed843();
|
| + o.materials = buildUnnamed661();
|
| 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'));
|
| - checkUnnamed843(o.materials);
|
| + checkUnnamed661(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--;
|
| }
|
|
|
| -buildUnnamed844() {
|
| +buildUnnamed662() {
|
| var o = new core.List<api.CourseAlias>();
|
| o.add(buildCourseAlias());
|
| o.add(buildCourseAlias());
|
| return o;
|
| }
|
|
|
| -checkUnnamed844(core.List<api.CourseAlias> o) {
|
| +checkUnnamed662(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 = buildUnnamed844();
|
| + o.aliases = buildUnnamed662();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListCourseAliasesResponse--;
|
| @@ -539,20 +539,20 @@ buildListCourseAliasesResponse() {
|
| checkListCourseAliasesResponse(api.ListCourseAliasesResponse o) {
|
| buildCounterListCourseAliasesResponse++;
|
| if (buildCounterListCourseAliasesResponse < 3) {
|
| - checkUnnamed844(o.aliases);
|
| + checkUnnamed662(o.aliases);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListCourseAliasesResponse--;
|
| }
|
|
|
| -buildUnnamed845() {
|
| +buildUnnamed663() {
|
| var o = new core.List<api.CourseWork>();
|
| o.add(buildCourseWork());
|
| o.add(buildCourseWork());
|
| return o;
|
| }
|
|
|
| -checkUnnamed845(core.List<api.CourseWork> o) {
|
| +checkUnnamed663(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 = buildUnnamed845();
|
| + o.courseWork = buildUnnamed663();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListCourseWorkResponse--;
|
| @@ -573,20 +573,20 @@ buildListCourseWorkResponse() {
|
| checkListCourseWorkResponse(api.ListCourseWorkResponse o) {
|
| buildCounterListCourseWorkResponse++;
|
| if (buildCounterListCourseWorkResponse < 3) {
|
| - checkUnnamed845(o.courseWork);
|
| + checkUnnamed663(o.courseWork);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListCourseWorkResponse--;
|
| }
|
|
|
| -buildUnnamed846() {
|
| +buildUnnamed664() {
|
| var o = new core.List<api.Course>();
|
| o.add(buildCourse());
|
| o.add(buildCourse());
|
| return o;
|
| }
|
|
|
| -checkUnnamed846(core.List<api.Course> o) {
|
| +checkUnnamed664(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 = buildUnnamed846();
|
| + o.courses = buildUnnamed664();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListCoursesResponse--;
|
| @@ -607,20 +607,20 @@ buildListCoursesResponse() {
|
| checkListCoursesResponse(api.ListCoursesResponse o) {
|
| buildCounterListCoursesResponse++;
|
| if (buildCounterListCoursesResponse < 3) {
|
| - checkUnnamed846(o.courses);
|
| + checkUnnamed664(o.courses);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListCoursesResponse--;
|
| }
|
|
|
| -buildUnnamed847() {
|
| +buildUnnamed665() {
|
| var o = new core.List<api.Invitation>();
|
| o.add(buildInvitation());
|
| o.add(buildInvitation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed847(core.List<api.Invitation> o) {
|
| +checkUnnamed665(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 = buildUnnamed847();
|
| + o.invitations = buildUnnamed665();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListInvitationsResponse--;
|
| @@ -641,20 +641,20 @@ buildListInvitationsResponse() {
|
| checkListInvitationsResponse(api.ListInvitationsResponse o) {
|
| buildCounterListInvitationsResponse++;
|
| if (buildCounterListInvitationsResponse < 3) {
|
| - checkUnnamed847(o.invitations);
|
| + checkUnnamed665(o.invitations);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListInvitationsResponse--;
|
| }
|
|
|
| -buildUnnamed848() {
|
| +buildUnnamed666() {
|
| var o = new core.List<api.StudentSubmission>();
|
| o.add(buildStudentSubmission());
|
| o.add(buildStudentSubmission());
|
| return o;
|
| }
|
|
|
| -checkUnnamed848(core.List<api.StudentSubmission> o) {
|
| +checkUnnamed666(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 = buildUnnamed848();
|
| + o.studentSubmissions = buildUnnamed666();
|
| }
|
| buildCounterListStudentSubmissionsResponse--;
|
| return o;
|
| @@ -676,19 +676,19 @@ checkListStudentSubmissionsResponse(api.ListStudentSubmissionsResponse o) {
|
| buildCounterListStudentSubmissionsResponse++;
|
| if (buildCounterListStudentSubmissionsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed848(o.studentSubmissions);
|
| + checkUnnamed666(o.studentSubmissions);
|
| }
|
| buildCounterListStudentSubmissionsResponse--;
|
| }
|
|
|
| -buildUnnamed849() {
|
| +buildUnnamed667() {
|
| var o = new core.List<api.Student>();
|
| o.add(buildStudent());
|
| o.add(buildStudent());
|
| return o;
|
| }
|
|
|
| -checkUnnamed849(core.List<api.Student> o) {
|
| +checkUnnamed667(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 = buildUnnamed849();
|
| + o.students = buildUnnamed667();
|
| }
|
| buildCounterListStudentsResponse--;
|
| return o;
|
| @@ -710,19 +710,19 @@ checkListStudentsResponse(api.ListStudentsResponse o) {
|
| buildCounterListStudentsResponse++;
|
| if (buildCounterListStudentsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed849(o.students);
|
| + checkUnnamed667(o.students);
|
| }
|
| buildCounterListStudentsResponse--;
|
| }
|
|
|
| -buildUnnamed850() {
|
| +buildUnnamed668() {
|
| var o = new core.List<api.Teacher>();
|
| o.add(buildTeacher());
|
| o.add(buildTeacher());
|
| return o;
|
| }
|
|
|
| -checkUnnamed850(core.List<api.Teacher> o) {
|
| +checkUnnamed668(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 = buildUnnamed850();
|
| + o.teachers = buildUnnamed668();
|
| }
|
| buildCounterListTeachersResponse--;
|
| return o;
|
| @@ -744,7 +744,7 @@ checkListTeachersResponse(api.ListTeachersResponse o) {
|
| buildCounterListTeachersResponse++;
|
| if (buildCounterListTeachersResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed850(o.teachers);
|
| + checkUnnamed668(o.teachers);
|
| }
|
| buildCounterListTeachersResponse--;
|
| }
|
| @@ -774,14 +774,14 @@ checkMaterial(api.Material o) {
|
| buildCounterMaterial--;
|
| }
|
|
|
| -buildUnnamed851() {
|
| +buildUnnamed669() {
|
| var o = new core.List<api.Attachment>();
|
| o.add(buildAttachment());
|
| o.add(buildAttachment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed851(core.List<api.Attachment> o) {
|
| +checkUnnamed669(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 = buildUnnamed851();
|
| + o.addAttachments = buildUnnamed669();
|
| }
|
| buildCounterModifyAttachmentsRequest--;
|
| return o;
|
| @@ -801,19 +801,19 @@ buildModifyAttachmentsRequest() {
|
| checkModifyAttachmentsRequest(api.ModifyAttachmentsRequest o) {
|
| buildCounterModifyAttachmentsRequest++;
|
| if (buildCounterModifyAttachmentsRequest < 3) {
|
| - checkUnnamed851(o.addAttachments);
|
| + checkUnnamed669(o.addAttachments);
|
| }
|
| buildCounterModifyAttachmentsRequest--;
|
| }
|
|
|
| -buildUnnamed852() {
|
| +buildUnnamed670() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed852(core.List<core.String> o) {
|
| +checkUnnamed670(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 = buildUnnamed852();
|
| + o.choices = buildUnnamed670();
|
| }
|
| buildCounterMultipleChoiceQuestion--;
|
| return o;
|
| @@ -833,7 +833,7 @@ buildMultipleChoiceQuestion() {
|
| checkMultipleChoiceQuestion(api.MultipleChoiceQuestion o) {
|
| buildCounterMultipleChoiceQuestion++;
|
| if (buildCounterMultipleChoiceQuestion < 3) {
|
| - checkUnnamed852(o.choices);
|
| + checkUnnamed670(o.choices);
|
| }
|
| buildCounterMultipleChoiceQuestion--;
|
| }
|
| @@ -1093,14 +1093,14 @@ checkTurnInStudentSubmissionRequest(api.TurnInStudentSubmissionRequest o) {
|
| buildCounterTurnInStudentSubmissionRequest--;
|
| }
|
|
|
| -buildUnnamed853() {
|
| +buildUnnamed671() {
|
| var o = new core.List<api.GlobalPermission>();
|
| o.add(buildGlobalPermission());
|
| o.add(buildGlobalPermission());
|
| return o;
|
| }
|
|
|
| -checkUnnamed853(core.List<api.GlobalPermission> o) {
|
| +checkUnnamed671(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 = buildUnnamed853();
|
| + o.permissions = buildUnnamed671();
|
| 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);
|
| - checkUnnamed853(o.permissions);
|
| + checkUnnamed671(o.permissions);
|
| unittest.expect(o.photoUrl, unittest.equals('foo'));
|
| }
|
| buildCounterUserProfile--;
|
| @@ -1158,27 +1158,27 @@ checkYouTubeVideo(api.YouTubeVideo o) {
|
| buildCounterYouTubeVideo--;
|
| }
|
|
|
| -buildUnnamed854() {
|
| +buildUnnamed672() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed854(core.List<core.String> o) {
|
| +checkUnnamed672(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'));
|
| }
|
|
|
| -buildUnnamed855() {
|
| +buildUnnamed673() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed855(core.List<core.String> o) {
|
| +checkUnnamed673(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 = buildUnnamed854();
|
| + var arg_courseWorkStates = buildUnnamed672();
|
| 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 = buildUnnamed855();
|
| + var arg_states = buildUnnamed673();
|
| var arg_late = "foo";
|
| var arg_pageSize = 42;
|
| var arg_pageToken = "foo";
|
|
|