| Index: generated/googleapis/test/adsensehost/v4_1_test.dart
|
| diff --git a/generated/googleapis/test/adsensehost/v4_1_test.dart b/generated/googleapis/test/adsensehost/v4_1_test.dart
|
| index 0686df140c22fd1164f09cdef0ae99bc0eecc527..c69b3776ae4ee147e4926e3c063204b98e26731c 100644
|
| --- a/generated/googleapis/test/adsensehost/v4_1_test.dart
|
| +++ b/generated/googleapis/test/adsensehost/v4_1_test.dart
|
| @@ -76,14 +76,14 @@ checkAccount(api.Account o) {
|
| buildCounterAccount--;
|
| }
|
|
|
| -buildUnnamed2905() {
|
| +buildUnnamed2904() {
|
| var o = new core.List<api.Account>();
|
| o.add(buildAccount());
|
| o.add(buildAccount());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2905(core.List<api.Account> o) {
|
| +checkUnnamed2904(core.List<api.Account> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccount(o[0]);
|
| checkAccount(o[1]);
|
| @@ -95,7 +95,7 @@ buildAccounts() {
|
| buildCounterAccounts++;
|
| if (buildCounterAccounts < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed2905();
|
| + o.items = buildUnnamed2904();
|
| o.kind = "foo";
|
| }
|
| buildCounterAccounts--;
|
| @@ -106,7 +106,7 @@ checkAccounts(api.Accounts o) {
|
| buildCounterAccounts++;
|
| if (buildCounterAccounts < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed2905(o.items);
|
| + checkUnnamed2904(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterAccounts--;
|
| @@ -139,14 +139,14 @@ checkAdClient(api.AdClient o) {
|
| buildCounterAdClient--;
|
| }
|
|
|
| -buildUnnamed2906() {
|
| +buildUnnamed2905() {
|
| var o = new core.List<api.AdClient>();
|
| o.add(buildAdClient());
|
| o.add(buildAdClient());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2906(core.List<api.AdClient> o) {
|
| +checkUnnamed2905(core.List<api.AdClient> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAdClient(o[0]);
|
| checkAdClient(o[1]);
|
| @@ -158,7 +158,7 @@ buildAdClients() {
|
| buildCounterAdClients++;
|
| if (buildCounterAdClients < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed2906();
|
| + o.items = buildUnnamed2905();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -170,7 +170,7 @@ checkAdClients(api.AdClients o) {
|
| buildCounterAdClients++;
|
| if (buildCounterAdClients < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed2906(o.items);
|
| + checkUnnamed2905(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -375,14 +375,14 @@ checkAdUnit(api.AdUnit o) {
|
| buildCounterAdUnit--;
|
| }
|
|
|
| -buildUnnamed2907() {
|
| +buildUnnamed2906() {
|
| var o = new core.List<api.AdUnit>();
|
| o.add(buildAdUnit());
|
| o.add(buildAdUnit());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2907(core.List<api.AdUnit> o) {
|
| +checkUnnamed2906(core.List<api.AdUnit> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAdUnit(o[0]);
|
| checkAdUnit(o[1]);
|
| @@ -394,7 +394,7 @@ buildAdUnits() {
|
| buildCounterAdUnits++;
|
| if (buildCounterAdUnits < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed2907();
|
| + o.items = buildUnnamed2906();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -406,21 +406,21 @@ checkAdUnits(api.AdUnits o) {
|
| buildCounterAdUnits++;
|
| if (buildCounterAdUnits < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed2907(o.items);
|
| + checkUnnamed2906(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterAdUnits--;
|
| }
|
|
|
| -buildUnnamed2908() {
|
| +buildUnnamed2907() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2908(core.List<core.String> o) {
|
| +checkUnnamed2907(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'));
|
| @@ -434,7 +434,7 @@ buildAssociationSession() {
|
| o.accountId = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.productCodes = buildUnnamed2908();
|
| + o.productCodes = buildUnnamed2907();
|
| o.redirectUrl = "foo";
|
| o.status = "foo";
|
| o.userLocale = "foo";
|
| @@ -451,7 +451,7 @@ checkAssociationSession(api.AssociationSession o) {
|
| unittest.expect(o.accountId, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed2908(o.productCodes);
|
| + checkUnnamed2907(o.productCodes);
|
| unittest.expect(o.redirectUrl, unittest.equals('foo'));
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| unittest.expect(o.userLocale, unittest.equals('foo'));
|
| @@ -486,14 +486,14 @@ checkCustomChannel(api.CustomChannel o) {
|
| buildCounterCustomChannel--;
|
| }
|
|
|
| -buildUnnamed2909() {
|
| +buildUnnamed2908() {
|
| var o = new core.List<api.CustomChannel>();
|
| o.add(buildCustomChannel());
|
| o.add(buildCustomChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2909(core.List<api.CustomChannel> o) {
|
| +checkUnnamed2908(core.List<api.CustomChannel> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCustomChannel(o[0]);
|
| checkCustomChannel(o[1]);
|
| @@ -505,7 +505,7 @@ buildCustomChannels() {
|
| buildCounterCustomChannels++;
|
| if (buildCounterCustomChannels < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed2909();
|
| + o.items = buildUnnamed2908();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -517,21 +517,21 @@ checkCustomChannels(api.CustomChannels o) {
|
| buildCounterCustomChannels++;
|
| if (buildCounterCustomChannels < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed2909(o.items);
|
| + checkUnnamed2908(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterCustomChannels--;
|
| }
|
|
|
| -buildUnnamed2910() {
|
| +buildUnnamed2909() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2910(core.List<core.String> o) {
|
| +checkUnnamed2909(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'));
|
| @@ -560,66 +560,66 @@ checkReportHeaders(api.ReportHeaders o) {
|
| buildCounterReportHeaders--;
|
| }
|
|
|
| -buildUnnamed2911() {
|
| +buildUnnamed2910() {
|
| var o = new core.List<api.ReportHeaders>();
|
| o.add(buildReportHeaders());
|
| o.add(buildReportHeaders());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2911(core.List<api.ReportHeaders> o) {
|
| +checkUnnamed2910(core.List<api.ReportHeaders> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkReportHeaders(o[0]);
|
| checkReportHeaders(o[1]);
|
| }
|
|
|
| -buildUnnamed2912() {
|
| +buildUnnamed2911() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2912(core.List<core.String> o) {
|
| +checkUnnamed2911(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'));
|
| }
|
|
|
| -buildUnnamed2913() {
|
| +buildUnnamed2912() {
|
| var o = new core.List<core.List<core.String>>();
|
| - o.add(buildUnnamed2912());
|
| - o.add(buildUnnamed2912());
|
| + o.add(buildUnnamed2911());
|
| + o.add(buildUnnamed2911());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2913(core.List<core.List<core.String>> o) {
|
| +checkUnnamed2912(core.List<core.List<core.String>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed2912(o[0]);
|
| - checkUnnamed2912(o[1]);
|
| + checkUnnamed2911(o[0]);
|
| + checkUnnamed2911(o[1]);
|
| }
|
|
|
| -buildUnnamed2914() {
|
| +buildUnnamed2913() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2914(core.List<core.String> o) {
|
| +checkUnnamed2913(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'));
|
| }
|
|
|
| -buildUnnamed2915() {
|
| +buildUnnamed2914() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2915(core.List<core.String> o) {
|
| +checkUnnamed2914(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'));
|
| @@ -630,13 +630,13 @@ buildReport() {
|
| var o = new api.Report();
|
| buildCounterReport++;
|
| if (buildCounterReport < 3) {
|
| - o.averages = buildUnnamed2910();
|
| - o.headers = buildUnnamed2911();
|
| + o.averages = buildUnnamed2909();
|
| + o.headers = buildUnnamed2910();
|
| o.kind = "foo";
|
| - o.rows = buildUnnamed2913();
|
| + o.rows = buildUnnamed2912();
|
| o.totalMatchedRows = "foo";
|
| - o.totals = buildUnnamed2914();
|
| - o.warnings = buildUnnamed2915();
|
| + o.totals = buildUnnamed2913();
|
| + o.warnings = buildUnnamed2914();
|
| }
|
| buildCounterReport--;
|
| return o;
|
| @@ -645,13 +645,13 @@ buildReport() {
|
| checkReport(api.Report o) {
|
| buildCounterReport++;
|
| if (buildCounterReport < 3) {
|
| - checkUnnamed2910(o.averages);
|
| - checkUnnamed2911(o.headers);
|
| + checkUnnamed2909(o.averages);
|
| + checkUnnamed2910(o.headers);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed2913(o.rows);
|
| + checkUnnamed2912(o.rows);
|
| unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
|
| - checkUnnamed2914(o.totals);
|
| - checkUnnamed2915(o.warnings);
|
| + checkUnnamed2913(o.totals);
|
| + checkUnnamed2914(o.warnings);
|
| }
|
| buildCounterReport--;
|
| }
|
| @@ -679,14 +679,14 @@ checkUrlChannel(api.UrlChannel o) {
|
| buildCounterUrlChannel--;
|
| }
|
|
|
| -buildUnnamed2916() {
|
| +buildUnnamed2915() {
|
| var o = new core.List<api.UrlChannel>();
|
| o.add(buildUrlChannel());
|
| o.add(buildUrlChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2916(core.List<api.UrlChannel> o) {
|
| +checkUnnamed2915(core.List<api.UrlChannel> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUrlChannel(o[0]);
|
| checkUrlChannel(o[1]);
|
| @@ -698,7 +698,7 @@ buildUrlChannels() {
|
| buildCounterUrlChannels++;
|
| if (buildCounterUrlChannels < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed2916();
|
| + o.items = buildUnnamed2915();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -710,13 +710,26 @@ checkUrlChannels(api.UrlChannels o) {
|
| buildCounterUrlChannels++;
|
| if (buildCounterUrlChannels < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed2916(o.items);
|
| + checkUnnamed2915(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterUrlChannels--;
|
| }
|
|
|
| +buildUnnamed2916() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed2916(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'));
|
| +}
|
| +
|
| buildUnnamed2917() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| @@ -847,19 +860,6 @@ checkUnnamed2926(core.List<core.String> o) {
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed2927() {
|
| - var o = new core.List<core.String>();
|
| - o.add("foo");
|
| - o.add("foo");
|
| - return o;
|
| -}
|
| -
|
| -checkUnnamed2927(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'));
|
| -}
|
| -
|
|
|
| main() {
|
| unittest.group("obj-schema-Account", () {
|
| @@ -1096,7 +1096,7 @@ main() {
|
|
|
| var mock = new HttpServerMock();
|
| api.AccountsResourceApi res = new api.AdsensehostApi(mock).accounts;
|
| - var arg_filterAdClientId = buildUnnamed2917();
|
| + var arg_filterAdClientId = buildUnnamed2916();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -1398,7 +1398,7 @@ main() {
|
| var arg_accountId = "foo";
|
| var arg_adClientId = "foo";
|
| var arg_adUnitId = "foo";
|
| - var arg_hostCustomChannelId = buildUnnamed2918();
|
| + var arg_hostCustomChannelId = buildUnnamed2917();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -1737,12 +1737,12 @@ main() {
|
| var arg_accountId = "foo";
|
| var arg_startDate = "foo";
|
| var arg_endDate = "foo";
|
| - var arg_dimension = buildUnnamed2919();
|
| - var arg_filter = buildUnnamed2920();
|
| + var arg_dimension = buildUnnamed2918();
|
| + var arg_filter = buildUnnamed2919();
|
| var arg_locale = "foo";
|
| var arg_maxResults = 42;
|
| - var arg_metric = buildUnnamed2921();
|
| - var arg_sort = buildUnnamed2922();
|
| + var arg_metric = buildUnnamed2920();
|
| + var arg_sort = buildUnnamed2921();
|
| var arg_startIndex = 42;
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| @@ -1911,7 +1911,7 @@ main() {
|
|
|
| var mock = new HttpServerMock();
|
| api.AssociationsessionsResourceApi res = new api.AdsensehostApi(mock).associationsessions;
|
| - var arg_productCode = buildUnnamed2923();
|
| + var arg_productCode = buildUnnamed2922();
|
| var arg_websiteUrl = "foo";
|
| var arg_userLocale = "foo";
|
| var arg_websiteLocale = "foo";
|
| @@ -2365,12 +2365,12 @@ main() {
|
| api.ReportsResourceApi res = new api.AdsensehostApi(mock).reports;
|
| var arg_startDate = "foo";
|
| var arg_endDate = "foo";
|
| - var arg_dimension = buildUnnamed2924();
|
| - var arg_filter = buildUnnamed2925();
|
| + var arg_dimension = buildUnnamed2923();
|
| + var arg_filter = buildUnnamed2924();
|
| var arg_locale = "foo";
|
| var arg_maxResults = 42;
|
| - var arg_metric = buildUnnamed2926();
|
| - var arg_sort = buildUnnamed2927();
|
| + var arg_metric = buildUnnamed2925();
|
| + var arg_sort = buildUnnamed2926();
|
| var arg_startIndex = 42;
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
|
|