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

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

Issue 1797933002: Api-roll 33: 2016-03-14 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Added resources/*/CHANGELOG.md, addresssed comments Created 4 years, 9 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 bc18298966307732fc4cf61ee500003637ff52c0..461201e02c77b7d6d1f57086b416f21470207eed 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--;
}
-buildUnnamed1897() {
+buildUnnamed2209() {
var o = new core.List<api.CertificationExamStatus>();
o.add(buildCertificationExamStatus());
o.add(buildCertificationExamStatus());
return o;
}
-checkUnnamed1897(core.List<api.CertificationExamStatus> o) {
+checkUnnamed2209(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 = buildUnnamed1897();
+ o.examStatuses = buildUnnamed2209();
o.isCertified = true;
o.type = "foo";
}
@@ -101,86 +101,86 @@ buildCertificationStatus() {
checkCertificationStatus(api.CertificationStatus o) {
buildCounterCertificationStatus++;
if (buildCounterCertificationStatus < 3) {
- checkUnnamed1897(o.examStatuses);
+ checkUnnamed2209(o.examStatuses);
unittest.expect(o.isCertified, unittest.isTrue);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterCertificationStatus--;
}
-buildUnnamed1898() {
+buildUnnamed2210() {
var o = new core.List<api.CertificationStatus>();
o.add(buildCertificationStatus());
o.add(buildCertificationStatus());
return o;
}
-checkUnnamed1898(core.List<api.CertificationStatus> o) {
+checkUnnamed2210(core.List<api.CertificationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkCertificationStatus(o[0]);
checkCertificationStatus(o[1]);
}
-buildUnnamed1899() {
+buildUnnamed2211() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1899(core.List<core.String> o) {
+checkUnnamed2211(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'));
}
-buildUnnamed1900() {
+buildUnnamed2212() {
var o = new core.List<api.LocalizedCompanyInfo>();
o.add(buildLocalizedCompanyInfo());
o.add(buildLocalizedCompanyInfo());
return o;
}
-checkUnnamed1900(core.List<api.LocalizedCompanyInfo> o) {
+checkUnnamed2212(core.List<api.LocalizedCompanyInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedCompanyInfo(o[0]);
checkLocalizedCompanyInfo(o[1]);
}
-buildUnnamed1901() {
+buildUnnamed2213() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed1901(core.List<api.Location> o) {
+checkUnnamed2213(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
}
-buildUnnamed1902() {
+buildUnnamed2214() {
var o = new core.List<api.Rank>();
o.add(buildRank());
o.add(buildRank());
return o;
}
-checkUnnamed1902(core.List<api.Rank> o) {
+checkUnnamed2214(core.List<api.Rank> o) {
unittest.expect(o, unittest.hasLength(2));
checkRank(o[0]);
checkRank(o[1]);
}
-buildUnnamed1903() {
+buildUnnamed2215() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1903(core.List<core.String> o) {
+checkUnnamed2215(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 = buildUnnamed1898();
+ o.certificationStatuses = buildUnnamed2210();
o.convertedMinMonthlyBudget = buildMoney();
o.id = "foo";
- o.industries = buildUnnamed1899();
- o.localizedInfos = buildUnnamed1900();
- o.locations = buildUnnamed1901();
+ o.industries = buildUnnamed2211();
+ o.localizedInfos = buildUnnamed2212();
+ o.locations = buildUnnamed2213();
o.name = "foo";
o.originalMinMonthlyBudget = buildMoney();
o.publicProfile = buildPublicProfile();
- o.ranks = buildUnnamed1902();
- o.services = buildUnnamed1903();
+ o.ranks = buildUnnamed2214();
+ o.services = buildUnnamed2215();
o.websiteUrl = "foo";
}
buildCounterCompany--;
@@ -211,17 +211,17 @@ buildCompany() {
checkCompany(api.Company o) {
buildCounterCompany++;
if (buildCounterCompany < 3) {
- checkUnnamed1898(o.certificationStatuses);
+ checkUnnamed2210(o.certificationStatuses);
checkMoney(o.convertedMinMonthlyBudget);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1899(o.industries);
- checkUnnamed1900(o.localizedInfos);
- checkUnnamed1901(o.locations);
+ checkUnnamed2211(o.industries);
+ checkUnnamed2212(o.localizedInfos);
+ checkUnnamed2213(o.locations);
unittest.expect(o.name, unittest.equals('foo'));
checkMoney(o.originalMinMonthlyBudget);
checkPublicProfile(o.publicProfile);
- checkUnnamed1902(o.ranks);
- checkUnnamed1903(o.services);
+ checkUnnamed2214(o.ranks);
+ checkUnnamed2215(o.services);
unittest.expect(o.websiteUrl, unittest.equals('foo'));
}
buildCounterCompany--;
@@ -296,14 +296,14 @@ checkDebugInfo(api.DebugInfo o) {
buildCounterDebugInfo--;
}
-buildUnnamed1904() {
+buildUnnamed2216() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1904(core.List<core.String> o) {
+checkUnnamed2216(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 = buildUnnamed1904();
+ o.values = buildUnnamed2216();
}
buildCounterEventData--;
return o;
@@ -325,7 +325,7 @@ checkEventData(api.EventData o) {
buildCounterEventData++;
if (buildCounterEventData < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed1904(o.values);
+ checkUnnamed2216(o.values);
}
buildCounterEventData--;
}
@@ -372,14 +372,14 @@ checkLatLng(api.LatLng o) {
buildCounterLatLng--;
}
-buildUnnamed1905() {
+buildUnnamed2217() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1905(core.List<core.String> o) {
+checkUnnamed2217(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 = buildUnnamed1905();
+ o.gpsMotivations = buildUnnamed2217();
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'));
- checkUnnamed1905(o.gpsMotivations);
+ checkUnnamed2217(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--;
}
-buildUnnamed1906() {
+buildUnnamed2218() {
var o = new core.List<api.Company>();
o.add(buildCompany());
o.add(buildCompany());
return o;
}
-checkUnnamed1906(core.List<api.Company> o) {
+checkUnnamed2218(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 = buildUnnamed1906();
+ o.companies = buildUnnamed2218();
o.nextPageToken = "foo";
o.responseMetadata = buildResponseMetadata();
}
@@ -451,21 +451,21 @@ buildListCompaniesResponse() {
checkListCompaniesResponse(api.ListCompaniesResponse o) {
buildCounterListCompaniesResponse++;
if (buildCounterListCompaniesResponse < 3) {
- checkUnnamed1906(o.companies);
+ checkUnnamed2218(o.companies);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkResponseMetadata(o.responseMetadata);
}
buildCounterListCompaniesResponse--;
}
-buildUnnamed1907() {
+buildUnnamed2219() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1907(core.List<core.String> o) {
+checkUnnamed2219(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 = buildUnnamed1907();
+ o.userStates = buildUnnamed2219();
}
buildCounterListUserStatesResponse--;
return o;
@@ -487,19 +487,19 @@ checkListUserStatesResponse(api.ListUserStatesResponse o) {
buildCounterListUserStatesResponse++;
if (buildCounterListUserStatesResponse < 3) {
checkResponseMetadata(o.responseMetadata);
- checkUnnamed1907(o.userStates);
+ checkUnnamed2219(o.userStates);
}
buildCounterListUserStatesResponse--;
}
-buildUnnamed1908() {
+buildUnnamed2220() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1908(core.List<core.String> o) {
+checkUnnamed2220(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 = buildUnnamed1908();
+ o.countryCodes = buildUnnamed2220();
o.displayName = "foo";
o.languageCode = "foo";
o.overview = "foo";
@@ -522,7 +522,7 @@ buildLocalizedCompanyInfo() {
checkLocalizedCompanyInfo(api.LocalizedCompanyInfo o) {
buildCounterLocalizedCompanyInfo++;
if (buildCounterLocalizedCompanyInfo < 3) {
- checkUnnamed1908(o.countryCodes);
+ checkUnnamed2220(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--;
}
-buildUnnamed1909() {
+buildUnnamed2221() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1909(core.Map<core.String, core.String> o) {
+checkUnnamed2221(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 = buildUnnamed1909();
+ o.clientInfo = buildUnnamed2221();
o.details = "foo";
o.level = "foo";
o.requestMetadata = buildRequestMetadata();
@@ -581,7 +581,7 @@ buildLogMessageRequest() {
checkLogMessageRequest(api.LogMessageRequest o) {
buildCounterLogMessageRequest++;
if (buildCounterLogMessageRequest < 3) {
- checkUnnamed1909(o.clientInfo);
+ checkUnnamed2221(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--;
}
-buildUnnamed1910() {
+buildUnnamed2222() {
var o = new core.List<api.EventData>();
o.add(buildEventData());
o.add(buildEventData());
return o;
}
-checkUnnamed1910(core.List<api.EventData> o) {
+checkUnnamed2222(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 = buildUnnamed1910();
+ o.eventDatas = buildUnnamed2222();
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'));
- checkUnnamed1910(o.eventDatas);
+ checkUnnamed2222(o.eventDatas);
unittest.expect(o.eventScope, unittest.equals('foo'));
checkLead(o.lead);
checkRequestMetadata(o.requestMetadata);
@@ -761,14 +761,14 @@ checkRecaptchaChallenge(api.RecaptchaChallenge o) {
buildCounterRecaptchaChallenge--;
}
-buildUnnamed1911() {
+buildUnnamed2223() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1911(core.List<core.String> o) {
+checkUnnamed2223(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 = buildUnnamed1911();
+ o.experimentIds = buildUnnamed2223();
o.locale = "foo";
o.partnersSessionId = "foo";
o.trafficSource = buildTrafficSource();
@@ -792,7 +792,7 @@ buildRequestMetadata() {
checkRequestMetadata(api.RequestMetadata o) {
buildCounterRequestMetadata++;
if (buildCounterRequestMetadata < 3) {
- checkUnnamed1911(o.experimentIds);
+ checkUnnamed2223(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--;
}
-buildUnnamed1912() {
+buildUnnamed2224() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1912(core.List<core.String> o) {
+checkUnnamed2224(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'));
}
-buildUnnamed1913() {
+buildUnnamed2225() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1913(core.List<core.String> o) {
+checkUnnamed2225(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'));
}
-buildUnnamed1914() {
+buildUnnamed2226() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1914(core.List<core.String> o) {
+checkUnnamed2226(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'));
}
-buildUnnamed1915() {
+buildUnnamed2227() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1915(core.List<core.String> o) {
+checkUnnamed2227(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'));
}
-buildUnnamed1916() {
+buildUnnamed2228() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1916(core.List<core.String> o) {
+checkUnnamed2228(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'));
}
-buildUnnamed1917() {
+buildUnnamed2229() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1917(core.List<core.String> o) {
+checkUnnamed2229(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'));
}
-buildUnnamed1918() {
+buildUnnamed2230() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1918(core.List<core.String> o) {
+checkUnnamed2230(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 = buildUnnamed1912();
+ var arg_requestMetadata_experimentIds = buildUnnamed2224();
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 = buildUnnamed1913();
+ var arg_requestMetadata_experimentIds = buildUnnamed2225();
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 = buildUnnamed1914();
- var arg_services = buildUnnamed1915();
- var arg_languageCodes = buildUnnamed1916();
+ var arg_industries = buildUnnamed2226();
+ var arg_services = buildUnnamed2227();
+ var arg_languageCodes = buildUnnamed2228();
var arg_address = "foo";
var arg_orderBy = "foo";
- var arg_gpsMotivations = buildUnnamed1917();
+ var arg_gpsMotivations = buildUnnamed2229();
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 = buildUnnamed1918();
+ var arg_requestMetadata_experimentIds = buildUnnamed2230();
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