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

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

Issue 2226653002: Api-roll 40: 2016-08-08 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Addressed review comments Created 4 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/partners/v2_test.dart
diff --git a/generated/googleapis/test/partners/v2_test.dart b/generated/googleapis/test/partners/v2_test.dart
index b2dfadda5f18df93d65628ddd734c94fa6ea40ee..264d096928b43039e7619e479e4c2b4aa8e0906e 100644
--- a/generated/googleapis/test/partners/v2_test.dart
+++ b/generated/googleapis/test/partners/v2_test.dart
@@ -72,14 +72,14 @@ checkCertificationExamStatus(api.CertificationExamStatus o) {
buildCounterCertificationExamStatus--;
}
-buildUnnamed2112() {
+buildUnnamed2869() {
var o = new core.List<api.CertificationExamStatus>();
o.add(buildCertificationExamStatus());
o.add(buildCertificationExamStatus());
return o;
}
-checkUnnamed2112(core.List<api.CertificationExamStatus> o) {
+checkUnnamed2869(core.List<api.CertificationExamStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkCertificationExamStatus(o[0]);
checkCertificationExamStatus(o[1]);
@@ -90,7 +90,7 @@ buildCertificationStatus() {
var o = new api.CertificationStatus();
buildCounterCertificationStatus++;
if (buildCounterCertificationStatus < 3) {
- o.examStatuses = buildUnnamed2112();
+ o.examStatuses = buildUnnamed2869();
o.isCertified = true;
o.type = "foo";
}
@@ -101,86 +101,86 @@ buildCertificationStatus() {
checkCertificationStatus(api.CertificationStatus o) {
buildCounterCertificationStatus++;
if (buildCounterCertificationStatus < 3) {
- checkUnnamed2112(o.examStatuses);
+ checkUnnamed2869(o.examStatuses);
unittest.expect(o.isCertified, unittest.isTrue);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterCertificationStatus--;
}
-buildUnnamed2113() {
+buildUnnamed2870() {
var o = new core.List<api.CertificationStatus>();
o.add(buildCertificationStatus());
o.add(buildCertificationStatus());
return o;
}
-checkUnnamed2113(core.List<api.CertificationStatus> o) {
+checkUnnamed2870(core.List<api.CertificationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkCertificationStatus(o[0]);
checkCertificationStatus(o[1]);
}
-buildUnnamed2114() {
+buildUnnamed2871() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2114(core.List<core.String> o) {
+checkUnnamed2871(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'));
}
-buildUnnamed2115() {
+buildUnnamed2872() {
var o = new core.List<api.LocalizedCompanyInfo>();
o.add(buildLocalizedCompanyInfo());
o.add(buildLocalizedCompanyInfo());
return o;
}
-checkUnnamed2115(core.List<api.LocalizedCompanyInfo> o) {
+checkUnnamed2872(core.List<api.LocalizedCompanyInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedCompanyInfo(o[0]);
checkLocalizedCompanyInfo(o[1]);
}
-buildUnnamed2116() {
+buildUnnamed2873() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed2116(core.List<api.Location> o) {
+checkUnnamed2873(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
}
-buildUnnamed2117() {
+buildUnnamed2874() {
var o = new core.List<api.Rank>();
o.add(buildRank());
o.add(buildRank());
return o;
}
-checkUnnamed2117(core.List<api.Rank> o) {
+checkUnnamed2874(core.List<api.Rank> o) {
unittest.expect(o, unittest.hasLength(2));
checkRank(o[0]);
checkRank(o[1]);
}
-buildUnnamed2118() {
+buildUnnamed2875() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2118(core.List<core.String> o) {
+checkUnnamed2875(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'));
@@ -191,17 +191,17 @@ buildCompany() {
var o = new api.Company();
buildCounterCompany++;
if (buildCounterCompany < 3) {
- o.certificationStatuses = buildUnnamed2113();
+ o.certificationStatuses = buildUnnamed2870();
o.convertedMinMonthlyBudget = buildMoney();
o.id = "foo";
- o.industries = buildUnnamed2114();
- o.localizedInfos = buildUnnamed2115();
- o.locations = buildUnnamed2116();
+ o.industries = buildUnnamed2871();
+ o.localizedInfos = buildUnnamed2872();
+ o.locations = buildUnnamed2873();
o.name = "foo";
o.originalMinMonthlyBudget = buildMoney();
o.publicProfile = buildPublicProfile();
- o.ranks = buildUnnamed2117();
- o.services = buildUnnamed2118();
+ o.ranks = buildUnnamed2874();
+ o.services = buildUnnamed2875();
o.websiteUrl = "foo";
}
buildCounterCompany--;
@@ -211,17 +211,17 @@ buildCompany() {
checkCompany(api.Company o) {
buildCounterCompany++;
if (buildCounterCompany < 3) {
- checkUnnamed2113(o.certificationStatuses);
+ checkUnnamed2870(o.certificationStatuses);
checkMoney(o.convertedMinMonthlyBudget);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2114(o.industries);
- checkUnnamed2115(o.localizedInfos);
- checkUnnamed2116(o.locations);
+ checkUnnamed2871(o.industries);
+ checkUnnamed2872(o.localizedInfos);
+ checkUnnamed2873(o.locations);
unittest.expect(o.name, unittest.equals('foo'));
checkMoney(o.originalMinMonthlyBudget);
checkPublicProfile(o.publicProfile);
- checkUnnamed2117(o.ranks);
- checkUnnamed2118(o.services);
+ checkUnnamed2874(o.ranks);
+ checkUnnamed2875(o.services);
unittest.expect(o.websiteUrl, unittest.equals('foo'));
}
buildCounterCompany--;
@@ -296,14 +296,14 @@ checkDebugInfo(api.DebugInfo o) {
buildCounterDebugInfo--;
}
-buildUnnamed2119() {
+buildUnnamed2876() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2119(core.List<core.String> o) {
+checkUnnamed2876(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'));
@@ -315,7 +315,7 @@ buildEventData() {
buildCounterEventData++;
if (buildCounterEventData < 3) {
o.key = "foo";
- o.values = buildUnnamed2119();
+ o.values = buildUnnamed2876();
}
buildCounterEventData--;
return o;
@@ -325,7 +325,7 @@ checkEventData(api.EventData o) {
buildCounterEventData++;
if (buildCounterEventData < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed2119(o.values);
+ checkUnnamed2876(o.values);
}
buildCounterEventData--;
}
@@ -372,14 +372,14 @@ checkLatLng(api.LatLng o) {
buildCounterLatLng--;
}
-buildUnnamed2120() {
+buildUnnamed2877() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2120(core.List<core.String> o) {
+checkUnnamed2877(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'));
@@ -394,7 +394,7 @@ buildLead() {
o.email = "foo";
o.familyName = "foo";
o.givenName = "foo";
- o.gpsMotivations = buildUnnamed2120();
+ o.gpsMotivations = buildUnnamed2877();
o.id = "foo";
o.minMonthlyBudget = buildMoney();
o.phoneNumber = "foo";
@@ -412,7 +412,7 @@ checkLead(api.Lead o) {
unittest.expect(o.email, unittest.equals('foo'));
unittest.expect(o.familyName, unittest.equals('foo'));
unittest.expect(o.givenName, unittest.equals('foo'));
- checkUnnamed2120(o.gpsMotivations);
+ checkUnnamed2877(o.gpsMotivations);
unittest.expect(o.id, unittest.equals('foo'));
checkMoney(o.minMonthlyBudget);
unittest.expect(o.phoneNumber, unittest.equals('foo'));
@@ -422,14 +422,14 @@ checkLead(api.Lead o) {
buildCounterLead--;
}
-buildUnnamed2121() {
+buildUnnamed2878() {
var o = new core.List<api.Company>();
o.add(buildCompany());
o.add(buildCompany());
return o;
}
-checkUnnamed2121(core.List<api.Company> o) {
+checkUnnamed2878(core.List<api.Company> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompany(o[0]);
checkCompany(o[1]);
@@ -440,7 +440,7 @@ buildListCompaniesResponse() {
var o = new api.ListCompaniesResponse();
buildCounterListCompaniesResponse++;
if (buildCounterListCompaniesResponse < 3) {
- o.companies = buildUnnamed2121();
+ o.companies = buildUnnamed2878();
o.nextPageToken = "foo";
o.responseMetadata = buildResponseMetadata();
}
@@ -451,21 +451,21 @@ buildListCompaniesResponse() {
checkListCompaniesResponse(api.ListCompaniesResponse o) {
buildCounterListCompaniesResponse++;
if (buildCounterListCompaniesResponse < 3) {
- checkUnnamed2121(o.companies);
+ checkUnnamed2878(o.companies);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkResponseMetadata(o.responseMetadata);
}
buildCounterListCompaniesResponse--;
}
-buildUnnamed2122() {
+buildUnnamed2879() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2122(core.List<core.String> o) {
+checkUnnamed2879(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'));
@@ -477,7 +477,7 @@ buildListUserStatesResponse() {
buildCounterListUserStatesResponse++;
if (buildCounterListUserStatesResponse < 3) {
o.responseMetadata = buildResponseMetadata();
- o.userStates = buildUnnamed2122();
+ o.userStates = buildUnnamed2879();
}
buildCounterListUserStatesResponse--;
return o;
@@ -487,19 +487,19 @@ checkListUserStatesResponse(api.ListUserStatesResponse o) {
buildCounterListUserStatesResponse++;
if (buildCounterListUserStatesResponse < 3) {
checkResponseMetadata(o.responseMetadata);
- checkUnnamed2122(o.userStates);
+ checkUnnamed2879(o.userStates);
}
buildCounterListUserStatesResponse--;
}
-buildUnnamed2123() {
+buildUnnamed2880() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2123(core.List<core.String> o) {
+checkUnnamed2880(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'));
@@ -510,7 +510,7 @@ buildLocalizedCompanyInfo() {
var o = new api.LocalizedCompanyInfo();
buildCounterLocalizedCompanyInfo++;
if (buildCounterLocalizedCompanyInfo < 3) {
- o.countryCodes = buildUnnamed2123();
+ o.countryCodes = buildUnnamed2880();
o.displayName = "foo";
o.languageCode = "foo";
o.overview = "foo";
@@ -522,7 +522,7 @@ buildLocalizedCompanyInfo() {
checkLocalizedCompanyInfo(api.LocalizedCompanyInfo o) {
buildCounterLocalizedCompanyInfo++;
if (buildCounterLocalizedCompanyInfo < 3) {
- checkUnnamed2123(o.countryCodes);
+ checkUnnamed2880(o.countryCodes);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.languageCode, unittest.equals('foo'));
unittest.expect(o.overview, unittest.equals('foo'));
@@ -551,14 +551,14 @@ checkLocation(api.Location o) {
buildCounterLocation--;
}
-buildUnnamed2124() {
+buildUnnamed2881() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2124(core.Map<core.String, core.String> o) {
+checkUnnamed2881(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -569,7 +569,7 @@ buildLogMessageRequest() {
var o = new api.LogMessageRequest();
buildCounterLogMessageRequest++;
if (buildCounterLogMessageRequest < 3) {
- o.clientInfo = buildUnnamed2124();
+ o.clientInfo = buildUnnamed2881();
o.details = "foo";
o.level = "foo";
o.requestMetadata = buildRequestMetadata();
@@ -581,7 +581,7 @@ buildLogMessageRequest() {
checkLogMessageRequest(api.LogMessageRequest o) {
buildCounterLogMessageRequest++;
if (buildCounterLogMessageRequest < 3) {
- checkUnnamed2124(o.clientInfo);
+ checkUnnamed2881(o.clientInfo);
unittest.expect(o.details, unittest.equals('foo'));
unittest.expect(o.level, unittest.equals('foo'));
checkRequestMetadata(o.requestMetadata);
@@ -608,14 +608,14 @@ checkLogMessageResponse(api.LogMessageResponse o) {
buildCounterLogMessageResponse--;
}
-buildUnnamed2125() {
+buildUnnamed2882() {
var o = new core.List<api.EventData>();
o.add(buildEventData());
o.add(buildEventData());
return o;
}
-checkUnnamed2125(core.List<api.EventData> o) {
+checkUnnamed2882(core.List<api.EventData> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventData(o[0]);
checkEventData(o[1]);
@@ -628,7 +628,7 @@ buildLogUserEventRequest() {
if (buildCounterLogUserEventRequest < 3) {
o.eventAction = "foo";
o.eventCategory = "foo";
- o.eventDatas = buildUnnamed2125();
+ o.eventDatas = buildUnnamed2882();
o.eventScope = "foo";
o.lead = buildLead();
o.requestMetadata = buildRequestMetadata();
@@ -643,7 +643,7 @@ checkLogUserEventRequest(api.LogUserEventRequest o) {
if (buildCounterLogUserEventRequest < 3) {
unittest.expect(o.eventAction, unittest.equals('foo'));
unittest.expect(o.eventCategory, unittest.equals('foo'));
- checkUnnamed2125(o.eventDatas);
+ checkUnnamed2882(o.eventDatas);
unittest.expect(o.eventScope, unittest.equals('foo'));
checkLead(o.lead);
checkRequestMetadata(o.requestMetadata);
@@ -761,14 +761,14 @@ checkRecaptchaChallenge(api.RecaptchaChallenge o) {
buildCounterRecaptchaChallenge--;
}
-buildUnnamed2126() {
+buildUnnamed2883() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2126(core.List<core.String> o) {
+checkUnnamed2883(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'));
@@ -779,7 +779,7 @@ buildRequestMetadata() {
var o = new api.RequestMetadata();
buildCounterRequestMetadata++;
if (buildCounterRequestMetadata < 3) {
- o.experimentIds = buildUnnamed2126();
+ o.experimentIds = buildUnnamed2883();
o.locale = "foo";
o.partnersSessionId = "foo";
o.trafficSource = buildTrafficSource();
@@ -792,7 +792,7 @@ buildRequestMetadata() {
checkRequestMetadata(api.RequestMetadata o) {
buildCounterRequestMetadata++;
if (buildCounterRequestMetadata < 3) {
- checkUnnamed2126(o.experimentIds);
+ checkUnnamed2883(o.experimentIds);
unittest.expect(o.locale, unittest.equals('foo'));
unittest.expect(o.partnersSessionId, unittest.equals('foo'));
checkTrafficSource(o.trafficSource);
@@ -862,92 +862,92 @@ checkUserOverrides(api.UserOverrides o) {
buildCounterUserOverrides--;
}
-buildUnnamed2127() {
+buildUnnamed2884() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2127(core.List<core.String> o) {
+checkUnnamed2884(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'));
}
-buildUnnamed2128() {
+buildUnnamed2885() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2128(core.List<core.String> o) {
+checkUnnamed2885(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'));
}
-buildUnnamed2129() {
+buildUnnamed2886() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2129(core.List<core.String> o) {
+checkUnnamed2886(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'));
}
-buildUnnamed2130() {
+buildUnnamed2887() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2130(core.List<core.String> o) {
+checkUnnamed2887(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'));
}
-buildUnnamed2131() {
+buildUnnamed2888() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2131(core.List<core.String> o) {
+checkUnnamed2888(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'));
}
-buildUnnamed2132() {
+buildUnnamed2889() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2132(core.List<core.String> o) {
+checkUnnamed2889(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'));
}
-buildUnnamed2133() {
+buildUnnamed2890() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2133(core.List<core.String> o) {
+checkUnnamed2890(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'));
@@ -1250,7 +1250,7 @@ main() {
var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2127();
+ var arg_requestMetadata_experimentIds = buildUnnamed2884();
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_view = "foo";
@@ -1318,7 +1318,7 @@ main() {
var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2128();
+ var arg_requestMetadata_experimentIds = buildUnnamed2885();
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_pageSize = 42;
@@ -1331,12 +1331,12 @@ main() {
var arg_maxMonthlyBudget_currencyCode = "foo";
var arg_maxMonthlyBudget_units = "foo";
var arg_maxMonthlyBudget_nanos = 42;
- var arg_industries = buildUnnamed2129();
- var arg_services = buildUnnamed2130();
- var arg_languageCodes = buildUnnamed2131();
+ var arg_industries = buildUnnamed2886();
+ var arg_services = buildUnnamed2887();
+ var arg_languageCodes = buildUnnamed2888();
var arg_address = "foo";
var arg_orderBy = "foo";
- var arg_gpsMotivations = buildUnnamed2132();
+ var arg_gpsMotivations = buildUnnamed2889();
var arg_websiteUrl = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1523,7 +1523,7 @@ main() {
var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2133();
+ var arg_requestMetadata_experimentIds = buildUnnamed2890();
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
« no previous file with comments | « generated/googleapis/test/pagespeedonline/v2_test.dart ('k') | generated/googleapis/test/people/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698