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

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

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 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/surveys/v2_test.dart
diff --git a/generated/googleapis/test/surveys/v2_test.dart b/generated/googleapis/test/surveys/v2_test.dart
index 5ace7b2461c5ed853bd54f246687eb11eae59582..7fabbf61f2bb3c0121203648070765829ff6a838 100644
--- a/generated/googleapis/test/surveys/v2_test.dart
+++ b/generated/googleapis/test/surveys/v2_test.dart
@@ -51,14 +51,14 @@ http.StreamedResponse stringResponse(
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1972() {
+buildUnnamed2066() {
var o = new core.List<api.FieldMask>();
o.add(buildFieldMask());
o.add(buildFieldMask());
return o;
}
-checkUnnamed1972(core.List<api.FieldMask> o) {
+checkUnnamed2066(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 = buildUnnamed1972();
+ o.fields = buildUnnamed2066();
o.id = 42;
}
buildCounterFieldMask--;
@@ -79,20 +79,20 @@ buildFieldMask() {
checkFieldMask(api.FieldMask o) {
buildCounterFieldMask++;
if (buildCounterFieldMask < 3) {
- checkUnnamed1972(o.fields);
+ checkUnnamed2066(o.fields);
unittest.expect(o.id, unittest.equals(42));
}
buildCounterFieldMask--;
}
-buildUnnamed1973() {
+buildUnnamed2067() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1973(core.List<core.String> o) {
+checkUnnamed2067(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 = buildUnnamed1973();
+ o.owners = buildUnnamed2067();
}
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'));
- checkUnnamed1973(o.owners);
+ checkUnnamed2067(o.owners);
}
buildCounterMobileAppPanel--;
}
-buildUnnamed1974() {
+buildUnnamed2068() {
var o = new core.List<api.MobileAppPanel>();
o.add(buildMobileAppPanel());
o.add(buildMobileAppPanel());
return o;
}
-checkUnnamed1974(core.List<api.MobileAppPanel> o) {
+checkUnnamed2068(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 = buildUnnamed1974();
+ o.resources = buildUnnamed2068();
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'));
- checkUnnamed1974(o.resources);
+ checkUnnamed2068(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterMobileAppPanelsListResponse--;
@@ -207,14 +207,14 @@ checkResultsGetRequest(api.ResultsGetRequest o) {
buildCounterResultsGetRequest--;
}
-buildUnnamed1975() {
+buildUnnamed2069() {
var o = new core.List<api.FieldMask>();
o.add(buildFieldMask());
o.add(buildFieldMask());
return o;
}
-checkUnnamed1975(core.List<api.FieldMask> o) {
+checkUnnamed2069(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 = buildUnnamed1975();
+ o.fields = buildUnnamed2069();
o.projection = "foo";
}
buildCounterResultsMask--;
@@ -235,33 +235,33 @@ buildResultsMask() {
checkResultsMask(api.ResultsMask o) {
buildCounterResultsMask++;
if (buildCounterResultsMask < 3) {
- checkUnnamed1975(o.fields);
+ checkUnnamed2069(o.fields);
unittest.expect(o.projection, unittest.equals('foo'));
}
buildCounterResultsMask--;
}
-buildUnnamed1976() {
+buildUnnamed2070() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1976(core.List<core.String> o) {
+checkUnnamed2070(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'));
}
-buildUnnamed1977() {
+buildUnnamed2071() {
var o = new core.List<api.SurveyQuestion>();
o.add(buildSurveyQuestion());
o.add(buildSurveyQuestion());
return o;
}
-checkUnnamed1977(core.List<api.SurveyQuestion> o) {
+checkUnnamed2071(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 = buildUnnamed1976();
- o.questions = buildUnnamed1977();
+ o.owners = buildUnnamed2070();
+ o.questions = buildUnnamed2071();
o.rejectionReason = buildSurveyRejection();
o.state = "foo";
o.surveyUrlId = "foo";
@@ -295,8 +295,8 @@ checkSurvey(api.Survey o) {
checkSurveyCost(o.cost);
unittest.expect(o.customerData, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1976(o.owners);
- checkUnnamed1977(o.questions);
+ checkUnnamed2070(o.owners);
+ checkUnnamed2071(o.questions);
checkSurveyRejection(o.rejectionReason);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.surveyUrlId, unittest.equals('foo'));
@@ -306,27 +306,27 @@ checkSurvey(api.Survey o) {
buildCounterSurvey--;
}
-buildUnnamed1978() {
+buildUnnamed2072() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1978(core.List<core.String> o) {
+checkUnnamed2072(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'));
}
-buildUnnamed1979() {
+buildUnnamed2073() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1979(core.List<core.String> o) {
+checkUnnamed2073(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'));
@@ -337,11 +337,11 @@ buildSurveyAudience() {
var o = new api.SurveyAudience();
buildCounterSurveyAudience++;
if (buildCounterSurveyAudience < 3) {
- o.ages = buildUnnamed1978();
+ o.ages = buildUnnamed2072();
o.country = "foo";
o.countrySubdivision = "foo";
o.gender = "foo";
- o.languages = buildUnnamed1979();
+ o.languages = buildUnnamed2073();
o.mobileAppPanelId = "foo";
o.populationSource = "foo";
}
@@ -352,11 +352,11 @@ buildSurveyAudience() {
checkSurveyAudience(api.SurveyAudience o) {
buildCounterSurveyAudience++;
if (buildCounterSurveyAudience < 3) {
- checkUnnamed1978(o.ages);
+ checkUnnamed2072(o.ages);
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.countrySubdivision, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
- checkUnnamed1979(o.languages);
+ checkUnnamed2073(o.languages);
unittest.expect(o.mobileAppPanelId, unittest.equals('foo'));
unittest.expect(o.populationSource, unittest.equals('foo'));
}
@@ -388,53 +388,53 @@ checkSurveyCost(api.SurveyCost o) {
buildCounterSurveyCost--;
}
-buildUnnamed1980() {
+buildUnnamed2074() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1980(core.List<core.String> o) {
+checkUnnamed2074(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'));
}
-buildUnnamed1981() {
+buildUnnamed2075() {
var o = new core.List<api.SurveyQuestionImage>();
o.add(buildSurveyQuestionImage());
o.add(buildSurveyQuestionImage());
return o;
}
-checkUnnamed1981(core.List<api.SurveyQuestionImage> o) {
+checkUnnamed2075(core.List<api.SurveyQuestionImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurveyQuestionImage(o[0]);
checkSurveyQuestionImage(o[1]);
}
-buildUnnamed1982() {
+buildUnnamed2076() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1982(core.List<core.String> o) {
+checkUnnamed2076(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'));
}
-buildUnnamed1983() {
+buildUnnamed2077() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1983(core.List<core.String> o) {
+checkUnnamed2077(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'));
@@ -446,20 +446,20 @@ buildSurveyQuestion() {
buildCounterSurveyQuestion++;
if (buildCounterSurveyQuestion < 3) {
o.answerOrder = "foo";
- o.answers = buildUnnamed1980();
+ o.answers = buildUnnamed2074();
o.hasOther = true;
o.highValueLabel = "foo";
- o.images = buildUnnamed1981();
+ o.images = buildUnnamed2075();
o.lastAnswerPositionPinned = true;
o.lowValueLabel = "foo";
o.mustPickSuggestion = true;
o.numStars = "foo";
o.openTextPlaceholder = "foo";
- o.openTextSuggestions = buildUnnamed1982();
+ o.openTextSuggestions = buildUnnamed2076();
o.question = "foo";
o.sentimentText = "foo";
o.singleLineResponse = true;
- o.thresholdAnswers = buildUnnamed1983();
+ o.thresholdAnswers = buildUnnamed2077();
o.type = "foo";
o.unitOfMeasurementLabel = "foo";
o.videoId = "foo";
@@ -472,20 +472,20 @@ checkSurveyQuestion(api.SurveyQuestion o) {
buildCounterSurveyQuestion++;
if (buildCounterSurveyQuestion < 3) {
unittest.expect(o.answerOrder, unittest.equals('foo'));
- checkUnnamed1980(o.answers);
+ checkUnnamed2074(o.answers);
unittest.expect(o.hasOther, unittest.isTrue);
unittest.expect(o.highValueLabel, unittest.equals('foo'));
- checkUnnamed1981(o.images);
+ checkUnnamed2075(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'));
- checkUnnamed1982(o.openTextSuggestions);
+ checkUnnamed2076(o.openTextSuggestions);
unittest.expect(o.question, unittest.equals('foo'));
unittest.expect(o.sentimentText, unittest.equals('foo'));
unittest.expect(o.singleLineResponse, unittest.isTrue);
- checkUnnamed1983(o.thresholdAnswers);
+ checkUnnamed2077(o.thresholdAnswers);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.unitOfMeasurementLabel, unittest.equals('foo'));
unittest.expect(o.videoId, unittest.equals('foo'));
@@ -577,14 +577,14 @@ checkSurveysDeleteResponse(api.SurveysDeleteResponse o) {
buildCounterSurveysDeleteResponse--;
}
-buildUnnamed1984() {
+buildUnnamed2078() {
var o = new core.List<api.Survey>();
o.add(buildSurvey());
o.add(buildSurvey());
return o;
}
-checkUnnamed1984(core.List<api.Survey> o) {
+checkUnnamed2078(core.List<api.Survey> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurvey(o[0]);
checkSurvey(o[1]);
@@ -597,7 +597,7 @@ buildSurveysListResponse() {
if (buildCounterSurveysListResponse < 3) {
o.pageInfo = buildPageInfo();
o.requestId = "foo";
- o.resources = buildUnnamed1984();
+ o.resources = buildUnnamed2078();
o.tokenPagination = buildTokenPagination();
}
buildCounterSurveysListResponse--;
@@ -609,7 +609,7 @@ checkSurveysListResponse(api.SurveysListResponse o) {
if (buildCounterSurveysListResponse < 3) {
checkPageInfo(o.pageInfo);
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed1984(o.resources);
+ checkUnnamed2078(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterSurveysListResponse--;
« no previous file with comments | « generated/googleapis/test/storagetransfer/v1_test.dart ('k') | generated/googleapis/test/tagmanager/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698