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

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

Issue 1296863002: Api-roll 22: 2015-08-17 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 5 years, 4 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/classroom/v1_test.dart
diff --git a/generated/googleapis/test/classroom/v1_test.dart b/generated/googleapis/test/classroom/v1_test.dart
index 7c4ce34c7379039fb85ffa32978e7c0c656680ae..8834c0872f900eb60ea172ae44d3451a6c914f1f 100644
--- a/generated/googleapis/test/classroom/v1_test.dart
+++ b/generated/googleapis/test/classroom/v1_test.dart
@@ -172,14 +172,14 @@ checkInvitation(api.Invitation o) {
buildCounterInvitation--;
}
-buildUnnamed491() {
+buildUnnamed738() {
var o = new core.List<api.CourseAlias>();
o.add(buildCourseAlias());
o.add(buildCourseAlias());
return o;
}
-checkUnnamed491(core.List<api.CourseAlias> o) {
+checkUnnamed738(core.List<api.CourseAlias> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourseAlias(o[0]);
checkCourseAlias(o[1]);
@@ -190,7 +190,7 @@ buildListCourseAliasesResponse() {
var o = new api.ListCourseAliasesResponse();
buildCounterListCourseAliasesResponse++;
if (buildCounterListCourseAliasesResponse < 3) {
- o.aliases = buildUnnamed491();
+ o.aliases = buildUnnamed738();
o.nextPageToken = "foo";
}
buildCounterListCourseAliasesResponse--;
@@ -200,20 +200,20 @@ buildListCourseAliasesResponse() {
checkListCourseAliasesResponse(api.ListCourseAliasesResponse o) {
buildCounterListCourseAliasesResponse++;
if (buildCounterListCourseAliasesResponse < 3) {
- checkUnnamed491(o.aliases);
+ checkUnnamed738(o.aliases);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCourseAliasesResponse--;
}
-buildUnnamed492() {
+buildUnnamed739() {
var o = new core.List<api.Course>();
o.add(buildCourse());
o.add(buildCourse());
return o;
}
-checkUnnamed492(core.List<api.Course> o) {
+checkUnnamed739(core.List<api.Course> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourse(o[0]);
checkCourse(o[1]);
@@ -224,7 +224,7 @@ buildListCoursesResponse() {
var o = new api.ListCoursesResponse();
buildCounterListCoursesResponse++;
if (buildCounterListCoursesResponse < 3) {
- o.courses = buildUnnamed492();
+ o.courses = buildUnnamed739();
o.nextPageToken = "foo";
}
buildCounterListCoursesResponse--;
@@ -234,20 +234,20 @@ buildListCoursesResponse() {
checkListCoursesResponse(api.ListCoursesResponse o) {
buildCounterListCoursesResponse++;
if (buildCounterListCoursesResponse < 3) {
- checkUnnamed492(o.courses);
+ checkUnnamed739(o.courses);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCoursesResponse--;
}
-buildUnnamed493() {
+buildUnnamed740() {
var o = new core.List<api.Invitation>();
o.add(buildInvitation());
o.add(buildInvitation());
return o;
}
-checkUnnamed493(core.List<api.Invitation> o) {
+checkUnnamed740(core.List<api.Invitation> o) {
unittest.expect(o, unittest.hasLength(2));
checkInvitation(o[0]);
checkInvitation(o[1]);
@@ -258,7 +258,7 @@ buildListInvitationsResponse() {
var o = new api.ListInvitationsResponse();
buildCounterListInvitationsResponse++;
if (buildCounterListInvitationsResponse < 3) {
- o.invitations = buildUnnamed493();
+ o.invitations = buildUnnamed740();
o.nextPageToken = "foo";
}
buildCounterListInvitationsResponse--;
@@ -268,20 +268,20 @@ buildListInvitationsResponse() {
checkListInvitationsResponse(api.ListInvitationsResponse o) {
buildCounterListInvitationsResponse++;
if (buildCounterListInvitationsResponse < 3) {
- checkUnnamed493(o.invitations);
+ checkUnnamed740(o.invitations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInvitationsResponse--;
}
-buildUnnamed494() {
+buildUnnamed741() {
var o = new core.List<api.Student>();
o.add(buildStudent());
o.add(buildStudent());
return o;
}
-checkUnnamed494(core.List<api.Student> o) {
+checkUnnamed741(core.List<api.Student> o) {
unittest.expect(o, unittest.hasLength(2));
checkStudent(o[0]);
checkStudent(o[1]);
@@ -293,7 +293,7 @@ buildListStudentsResponse() {
buildCounterListStudentsResponse++;
if (buildCounterListStudentsResponse < 3) {
o.nextPageToken = "foo";
- o.students = buildUnnamed494();
+ o.students = buildUnnamed741();
}
buildCounterListStudentsResponse--;
return o;
@@ -303,19 +303,19 @@ checkListStudentsResponse(api.ListStudentsResponse o) {
buildCounterListStudentsResponse++;
if (buildCounterListStudentsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed494(o.students);
+ checkUnnamed741(o.students);
}
buildCounterListStudentsResponse--;
}
-buildUnnamed495() {
+buildUnnamed742() {
var o = new core.List<api.Teacher>();
o.add(buildTeacher());
o.add(buildTeacher());
return o;
}
-checkUnnamed495(core.List<api.Teacher> o) {
+checkUnnamed742(core.List<api.Teacher> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeacher(o[0]);
checkTeacher(o[1]);
@@ -327,7 +327,7 @@ buildListTeachersResponse() {
buildCounterListTeachersResponse++;
if (buildCounterListTeachersResponse < 3) {
o.nextPageToken = "foo";
- o.teachers = buildUnnamed495();
+ o.teachers = buildUnnamed742();
}
buildCounterListTeachersResponse--;
return o;
@@ -337,7 +337,7 @@ checkListTeachersResponse(api.ListTeachersResponse o) {
buildCounterListTeachersResponse++;
if (buildCounterListTeachersResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed495(o.teachers);
+ checkUnnamed742(o.teachers);
}
buildCounterListTeachersResponse--;
}
@@ -411,14 +411,14 @@ checkTeacher(api.Teacher o) {
buildCounterTeacher--;
}
-buildUnnamed496() {
+buildUnnamed743() {
var o = new core.List<api.GlobalPermission>();
o.add(buildGlobalPermission());
o.add(buildGlobalPermission());
return o;
}
-checkUnnamed496(core.List<api.GlobalPermission> o) {
+checkUnnamed743(core.List<api.GlobalPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkGlobalPermission(o[0]);
checkGlobalPermission(o[1]);
@@ -432,7 +432,7 @@ buildUserProfile() {
o.emailAddress = "foo";
o.id = "foo";
o.name = buildName();
- o.permissions = buildUnnamed496();
+ o.permissions = buildUnnamed743();
o.photoUrl = "foo";
}
buildCounterUserProfile--;
@@ -445,7 +445,7 @@ checkUserProfile(api.UserProfile o) {
unittest.expect(o.emailAddress, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkName(o.name);
- checkUnnamed496(o.permissions);
+ checkUnnamed743(o.permissions);
unittest.expect(o.photoUrl, unittest.equals('foo'));
}
buildCounterUserProfile--;
« no previous file with comments | « generated/googleapis/test/civicinfo/v2_test.dart ('k') | generated/googleapis/test/cloudbilling/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698