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

Unified Diff: generated/googleapis/test/consumersurveys/v2_test.dart

Issue 2159673002: Api-roll 39: 2016-07-18 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « generated/googleapis/test/compute/v1_test.dart ('k') | generated/googleapis/test/container/v1_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/test/consumersurveys/v2_test.dart
diff --git a/generated/googleapis/test/consumersurveys/v2_test.dart b/generated/googleapis/test/consumersurveys/v2_test.dart
index 5413c999418262ccc8f54307124aa960913828e7..16df37f38ae1df53de26d506492f6bda9f932120 100644
--- a/generated/googleapis/test/consumersurveys/v2_test.dart
+++ b/generated/googleapis/test/consumersurveys/v2_test.dart
@@ -51,14 +51,14 @@ http.StreamedResponse stringResponse(
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed844() {
+buildUnnamed21() {
var o = new core.List<api.FieldMask>();
o.add(buildFieldMask());
o.add(buildFieldMask());
return o;
}
-checkUnnamed844(core.List<api.FieldMask> o) {
+checkUnnamed21(core.List<api.FieldMask> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldMask(o[0]);
checkFieldMask(o[1]);
@@ -69,7 +69,7 @@ buildFieldMask() {
var o = new api.FieldMask();
buildCounterFieldMask++;
if (buildCounterFieldMask < 3) {
- o.fields = buildUnnamed844();
+ o.fields = buildUnnamed21();
o.id = 42;
}
buildCounterFieldMask--;
@@ -79,20 +79,20 @@ buildFieldMask() {
checkFieldMask(api.FieldMask o) {
buildCounterFieldMask++;
if (buildCounterFieldMask < 3) {
- checkUnnamed844(o.fields);
+ checkUnnamed21(o.fields);
unittest.expect(o.id, unittest.equals(42));
}
buildCounterFieldMask--;
}
-buildUnnamed845() {
+buildUnnamed22() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed845(core.List<core.String> o) {
+checkUnnamed22(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'));
@@ -108,7 +108,7 @@ buildMobileAppPanel() {
o.language = "foo";
o.mobileAppPanelId = "foo";
o.name = "foo";
- o.owners = buildUnnamed845();
+ o.owners = buildUnnamed22();
}
buildCounterMobileAppPanel--;
return o;
@@ -122,19 +122,19 @@ checkMobileAppPanel(api.MobileAppPanel o) {
unittest.expect(o.language, unittest.equals('foo'));
unittest.expect(o.mobileAppPanelId, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed845(o.owners);
+ checkUnnamed22(o.owners);
}
buildCounterMobileAppPanel--;
}
-buildUnnamed846() {
+buildUnnamed23() {
var o = new core.List<api.MobileAppPanel>();
o.add(buildMobileAppPanel());
o.add(buildMobileAppPanel());
return o;
}
-checkUnnamed846(core.List<api.MobileAppPanel> o) {
+checkUnnamed23(core.List<api.MobileAppPanel> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileAppPanel(o[0]);
checkMobileAppPanel(o[1]);
@@ -147,7 +147,7 @@ buildMobileAppPanelsListResponse() {
if (buildCounterMobileAppPanelsListResponse < 3) {
o.pageInfo = buildPageInfo();
o.requestId = "foo";
- o.resources = buildUnnamed846();
+ o.resources = buildUnnamed23();
o.tokenPagination = buildTokenPagination();
}
buildCounterMobileAppPanelsListResponse--;
@@ -159,7 +159,7 @@ checkMobileAppPanelsListResponse(api.MobileAppPanelsListResponse o) {
if (buildCounterMobileAppPanelsListResponse < 3) {
checkPageInfo(o.pageInfo);
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed846(o.resources);
+ checkUnnamed23(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterMobileAppPanelsListResponse--;
@@ -207,14 +207,14 @@ checkResultsGetRequest(api.ResultsGetRequest o) {
buildCounterResultsGetRequest--;
}
-buildUnnamed847() {
+buildUnnamed24() {
var o = new core.List<api.FieldMask>();
o.add(buildFieldMask());
o.add(buildFieldMask());
return o;
}
-checkUnnamed847(core.List<api.FieldMask> o) {
+checkUnnamed24(core.List<api.FieldMask> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldMask(o[0]);
checkFieldMask(o[1]);
@@ -225,7 +225,7 @@ buildResultsMask() {
var o = new api.ResultsMask();
buildCounterResultsMask++;
if (buildCounterResultsMask < 3) {
- o.fields = buildUnnamed847();
+ o.fields = buildUnnamed24();
o.projection = "foo";
}
buildCounterResultsMask--;
@@ -235,33 +235,33 @@ buildResultsMask() {
checkResultsMask(api.ResultsMask o) {
buildCounterResultsMask++;
if (buildCounterResultsMask < 3) {
- checkUnnamed847(o.fields);
+ checkUnnamed24(o.fields);
unittest.expect(o.projection, unittest.equals('foo'));
}
buildCounterResultsMask--;
}
-buildUnnamed848() {
+buildUnnamed25() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed848(core.List<core.String> o) {
+checkUnnamed25(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'));
}
-buildUnnamed849() {
+buildUnnamed26() {
var o = new core.List<api.SurveyQuestion>();
o.add(buildSurveyQuestion());
o.add(buildSurveyQuestion());
return o;
}
-checkUnnamed849(core.List<api.SurveyQuestion> o) {
+checkUnnamed26(core.List<api.SurveyQuestion> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurveyQuestion(o[0]);
checkSurveyQuestion(o[1]);
@@ -276,8 +276,8 @@ buildSurvey() {
o.cost = buildSurveyCost();
o.customerData = "foo";
o.description = "foo";
- o.owners = buildUnnamed848();
- o.questions = buildUnnamed849();
+ o.owners = buildUnnamed25();
+ o.questions = buildUnnamed26();
o.state = "foo";
o.surveyUrlId = "foo";
o.title = "foo";
@@ -294,8 +294,8 @@ checkSurvey(api.Survey o) {
checkSurveyCost(o.cost);
unittest.expect(o.customerData, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed848(o.owners);
- checkUnnamed849(o.questions);
+ checkUnnamed25(o.owners);
+ checkUnnamed26(o.questions);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.surveyUrlId, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
@@ -304,27 +304,27 @@ checkSurvey(api.Survey o) {
buildCounterSurvey--;
}
-buildUnnamed850() {
+buildUnnamed27() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed850(core.List<core.String> o) {
+checkUnnamed27(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'));
}
-buildUnnamed851() {
+buildUnnamed28() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed851(core.List<core.String> o) {
+checkUnnamed28(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'));
@@ -335,11 +335,11 @@ buildSurveyAudience() {
var o = new api.SurveyAudience();
buildCounterSurveyAudience++;
if (buildCounterSurveyAudience < 3) {
- o.ages = buildUnnamed850();
+ o.ages = buildUnnamed27();
o.country = "foo";
o.countrySubdivision = "foo";
o.gender = "foo";
- o.languages = buildUnnamed851();
+ o.languages = buildUnnamed28();
o.mobileAppPanelId = "foo";
o.populationSource = "foo";
}
@@ -350,11 +350,11 @@ buildSurveyAudience() {
checkSurveyAudience(api.SurveyAudience o) {
buildCounterSurveyAudience++;
if (buildCounterSurveyAudience < 3) {
- checkUnnamed850(o.ages);
+ checkUnnamed27(o.ages);
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.countrySubdivision, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
- checkUnnamed851(o.languages);
+ checkUnnamed28(o.languages);
unittest.expect(o.mobileAppPanelId, unittest.equals('foo'));
unittest.expect(o.populationSource, unittest.equals('foo'));
}
@@ -386,53 +386,53 @@ checkSurveyCost(api.SurveyCost o) {
buildCounterSurveyCost--;
}
-buildUnnamed852() {
+buildUnnamed29() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed852(core.List<core.String> o) {
+checkUnnamed29(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'));
}
-buildUnnamed853() {
+buildUnnamed30() {
var o = new core.List<api.SurveyQuestionImage>();
o.add(buildSurveyQuestionImage());
o.add(buildSurveyQuestionImage());
return o;
}
-checkUnnamed853(core.List<api.SurveyQuestionImage> o) {
+checkUnnamed30(core.List<api.SurveyQuestionImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurveyQuestionImage(o[0]);
checkSurveyQuestionImage(o[1]);
}
-buildUnnamed854() {
+buildUnnamed31() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed854(core.List<core.String> o) {
+checkUnnamed31(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() {
+buildUnnamed32() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed855(core.List<core.String> o) {
+checkUnnamed32(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'));
@@ -444,20 +444,20 @@ buildSurveyQuestion() {
buildCounterSurveyQuestion++;
if (buildCounterSurveyQuestion < 3) {
o.answerOrder = "foo";
- o.answers = buildUnnamed852();
+ o.answers = buildUnnamed29();
o.hasOther = true;
o.highValueLabel = "foo";
- o.images = buildUnnamed853();
+ o.images = buildUnnamed30();
o.lastAnswerPositionPinned = true;
o.lowValueLabel = "foo";
o.mustPickSuggestion = true;
o.numStars = "foo";
o.openTextPlaceholder = "foo";
- o.openTextSuggestions = buildUnnamed854();
+ o.openTextSuggestions = buildUnnamed31();
o.question = "foo";
o.sentimentText = "foo";
o.singleLineResponse = true;
- o.thresholdAnswers = buildUnnamed855();
+ o.thresholdAnswers = buildUnnamed32();
o.type = "foo";
o.unitOfMeasurementLabel = "foo";
o.videoId = "foo";
@@ -470,20 +470,20 @@ checkSurveyQuestion(api.SurveyQuestion o) {
buildCounterSurveyQuestion++;
if (buildCounterSurveyQuestion < 3) {
unittest.expect(o.answerOrder, unittest.equals('foo'));
- checkUnnamed852(o.answers);
+ checkUnnamed29(o.answers);
unittest.expect(o.hasOther, unittest.isTrue);
unittest.expect(o.highValueLabel, unittest.equals('foo'));
- checkUnnamed853(o.images);
+ checkUnnamed30(o.images);
unittest.expect(o.lastAnswerPositionPinned, unittest.isTrue);
unittest.expect(o.lowValueLabel, unittest.equals('foo'));
unittest.expect(o.mustPickSuggestion, unittest.isTrue);
unittest.expect(o.numStars, unittest.equals('foo'));
unittest.expect(o.openTextPlaceholder, unittest.equals('foo'));
- checkUnnamed854(o.openTextSuggestions);
+ checkUnnamed31(o.openTextSuggestions);
unittest.expect(o.question, unittest.equals('foo'));
unittest.expect(o.sentimentText, unittest.equals('foo'));
unittest.expect(o.singleLineResponse, unittest.isTrue);
- checkUnnamed855(o.thresholdAnswers);
+ checkUnnamed32(o.thresholdAnswers);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.unitOfMeasurementLabel, unittest.equals('foo'));
unittest.expect(o.videoId, unittest.equals('foo'));
@@ -535,14 +535,14 @@ checkSurveyResults(api.SurveyResults o) {
buildCounterSurveyResults--;
}
-buildUnnamed856() {
+buildUnnamed33() {
var o = new core.List<api.Survey>();
o.add(buildSurvey());
o.add(buildSurvey());
return o;
}
-checkUnnamed856(core.List<api.Survey> o) {
+checkUnnamed33(core.List<api.Survey> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurvey(o[0]);
checkSurvey(o[1]);
@@ -555,7 +555,7 @@ buildSurveysListResponse() {
if (buildCounterSurveysListResponse < 3) {
o.pageInfo = buildPageInfo();
o.requestId = "foo";
- o.resources = buildUnnamed856();
+ o.resources = buildUnnamed33();
o.tokenPagination = buildTokenPagination();
}
buildCounterSurveysListResponse--;
@@ -567,7 +567,7 @@ checkSurveysListResponse(api.SurveysListResponse o) {
if (buildCounterSurveysListResponse < 3) {
checkPageInfo(o.pageInfo);
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed856(o.resources);
+ checkUnnamed33(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterSurveysListResponse--;
« no previous file with comments | « generated/googleapis/test/compute/v1_test.dart ('k') | generated/googleapis/test/container/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698