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

Unified Diff: generated/googleapis/test/fusiontables/v1_test.dart

Issue 2734843002: Api-roll 46: 2017-03-06 (Closed)
Patch Set: Created 3 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/fusiontables/v1_test.dart
diff --git a/generated/googleapis/test/fusiontables/v1_test.dart b/generated/googleapis/test/fusiontables/v1_test.dart
index 641bc55894d823cdba53cb7105410925342d152c..e3af581b1b2c6a4e8146be9644f32b12edb85d7b 100644
--- a/generated/googleapis/test/fusiontables/v1_test.dart
+++ b/generated/googleapis/test/fusiontables/v1_test.dart
@@ -132,14 +132,14 @@ checkColumn(api.Column o) {
buildCounterColumn--;
}
-buildUnnamed3018() {
+buildUnnamed2842() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed3018(core.List<api.Column> o) {
+checkUnnamed2842(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -150,7 +150,7 @@ buildColumnList() {
var o = new api.ColumnList();
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- o.items = buildUnnamed3018();
+ o.items = buildUnnamed2842();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -162,7 +162,7 @@ buildColumnList() {
checkColumnList(api.ColumnList o) {
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- checkUnnamed3018(o.items);
+ checkUnnamed2842(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -170,14 +170,14 @@ checkColumnList(api.ColumnList o) {
buildCounterColumnList--;
}
-buildUnnamed3019() {
+buildUnnamed2843() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed3019(core.List<core.Object> o) {
+checkUnnamed2843(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
@@ -188,7 +188,7 @@ buildGeometry() {
var o = new api.Geometry();
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- o.geometries = buildUnnamed3019();
+ o.geometries = buildUnnamed2843();
o.geometry = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.type = "foo";
}
@@ -199,7 +199,7 @@ buildGeometry() {
checkGeometry(api.Geometry o) {
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- checkUnnamed3019(o.geometries);
+ checkUnnamed2843(o.geometries);
var casted3 = (o.geometry) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
@@ -227,30 +227,30 @@ checkImport(api.Import o) {
buildCounterImport--;
}
-buildUnnamed3020() {
+buildUnnamed2844() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed3020(core.List<core.double> o) {
+checkUnnamed2844(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
}
-buildUnnamed3021() {
+buildUnnamed2845() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed3020());
- o.add(buildUnnamed3020());
+ o.add(buildUnnamed2844());
+ o.add(buildUnnamed2844());
return o;
}
-checkUnnamed3021(core.List<core.List<core.double>> o) {
+checkUnnamed2845(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3020(o[0]);
- checkUnnamed3020(o[1]);
+ checkUnnamed2844(o[0]);
+ checkUnnamed2844(o[1]);
}
core.int buildCounterLine = 0;
@@ -258,7 +258,7 @@ buildLine() {
var o = new api.Line();
buildCounterLine++;
if (buildCounterLine < 3) {
- o.coordinates = buildUnnamed3021();
+ o.coordinates = buildUnnamed2845();
o.type = "foo";
}
buildCounterLine--;
@@ -268,7 +268,7 @@ buildLine() {
checkLine(api.Line o) {
buildCounterLine++;
if (buildCounterLine < 3) {
- checkUnnamed3021(o.coordinates);
+ checkUnnamed2845(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterLine--;
@@ -301,14 +301,14 @@ checkLineStyle(api.LineStyle o) {
buildCounterLineStyle--;
}
-buildUnnamed3022() {
+buildUnnamed2846() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed3022(core.List<core.double> o) {
+checkUnnamed2846(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -319,7 +319,7 @@ buildPoint() {
var o = new api.Point();
buildCounterPoint++;
if (buildCounterPoint < 3) {
- o.coordinates = buildUnnamed3022();
+ o.coordinates = buildUnnamed2846();
o.type = "foo";
}
buildCounterPoint--;
@@ -329,7 +329,7 @@ buildPoint() {
checkPoint(api.Point o) {
buildCounterPoint++;
if (buildCounterPoint < 3) {
- checkUnnamed3022(o.coordinates);
+ checkUnnamed2846(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPoint--;
@@ -356,43 +356,43 @@ checkPointStyle(api.PointStyle o) {
buildCounterPointStyle--;
}
-buildUnnamed3023() {
+buildUnnamed2847() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed3023(core.List<core.double> o) {
+checkUnnamed2847(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
}
-buildUnnamed3024() {
+buildUnnamed2848() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed3023());
- o.add(buildUnnamed3023());
+ o.add(buildUnnamed2847());
+ o.add(buildUnnamed2847());
return o;
}
-checkUnnamed3024(core.List<core.List<core.double>> o) {
+checkUnnamed2848(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3023(o[0]);
- checkUnnamed3023(o[1]);
+ checkUnnamed2847(o[0]);
+ checkUnnamed2847(o[1]);
}
-buildUnnamed3025() {
+buildUnnamed2849() {
var o = new core.List<core.List<core.List<core.double>>>();
- o.add(buildUnnamed3024());
- o.add(buildUnnamed3024());
+ o.add(buildUnnamed2848());
+ o.add(buildUnnamed2848());
return o;
}
-checkUnnamed3025(core.List<core.List<core.List<core.double>>> o) {
+checkUnnamed2849(core.List<core.List<core.List<core.double>>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3024(o[0]);
- checkUnnamed3024(o[1]);
+ checkUnnamed2848(o[0]);
+ checkUnnamed2848(o[1]);
}
core.int buildCounterPolygon = 0;
@@ -400,7 +400,7 @@ buildPolygon() {
var o = new api.Polygon();
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- o.coordinates = buildUnnamed3025();
+ o.coordinates = buildUnnamed2849();
o.type = "foo";
}
buildCounterPolygon--;
@@ -410,7 +410,7 @@ buildPolygon() {
checkPolygon(api.Polygon o) {
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- checkUnnamed3025(o.coordinates);
+ checkUnnamed2849(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPolygon--;
@@ -449,43 +449,43 @@ checkPolygonStyle(api.PolygonStyle o) {
buildCounterPolygonStyle--;
}
-buildUnnamed3026() {
+buildUnnamed2850() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3026(core.List<core.String> o) {
+checkUnnamed2850(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'));
}
-buildUnnamed3027() {
+buildUnnamed2851() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed3027(core.List<core.Object> o) {
+checkUnnamed2851(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted4 = (o[0]) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
var casted5 = (o[1]) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo'));
}
-buildUnnamed3028() {
+buildUnnamed2852() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed3027());
- o.add(buildUnnamed3027());
+ o.add(buildUnnamed2851());
+ o.add(buildUnnamed2851());
return o;
}
-checkUnnamed3028(core.List<core.List<core.Object>> o) {
+checkUnnamed2852(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3027(o[0]);
- checkUnnamed3027(o[1]);
+ checkUnnamed2851(o[0]);
+ checkUnnamed2851(o[1]);
}
core.int buildCounterSqlresponse = 0;
@@ -493,9 +493,9 @@ buildSqlresponse() {
var o = new api.Sqlresponse();
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- o.columns = buildUnnamed3026();
+ o.columns = buildUnnamed2850();
o.kind = "foo";
- o.rows = buildUnnamed3028();
+ o.rows = buildUnnamed2852();
}
buildCounterSqlresponse--;
return o;
@@ -504,21 +504,21 @@ buildSqlresponse() {
checkSqlresponse(api.Sqlresponse o) {
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- checkUnnamed3026(o.columns);
+ checkUnnamed2850(o.columns);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3028(o.rows);
+ checkUnnamed2852(o.rows);
}
buildCounterSqlresponse--;
}
-buildUnnamed3029() {
+buildUnnamed2853() {
var o = new core.List<api.Bucket>();
o.add(buildBucket());
o.add(buildBucket());
return o;
}
-checkUnnamed3029(core.List<api.Bucket> o) {
+checkUnnamed2853(core.List<api.Bucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucket(o[0]);
checkBucket(o[1]);
@@ -545,14 +545,14 @@ checkStyleFunctionGradientColors(api.StyleFunctionGradientColors o) {
buildCounterStyleFunctionGradientColors--;
}
-buildUnnamed3030() {
+buildUnnamed2854() {
var o = new core.List<api.StyleFunctionGradientColors>();
o.add(buildStyleFunctionGradientColors());
o.add(buildStyleFunctionGradientColors());
return o;
}
-checkUnnamed3030(core.List<api.StyleFunctionGradientColors> o) {
+checkUnnamed2854(core.List<api.StyleFunctionGradientColors> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleFunctionGradientColors(o[0]);
checkStyleFunctionGradientColors(o[1]);
@@ -563,7 +563,7 @@ buildStyleFunctionGradient() {
var o = new api.StyleFunctionGradient();
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- o.colors = buildUnnamed3030();
+ o.colors = buildUnnamed2854();
o.max = 42.0;
o.min = 42.0;
}
@@ -574,7 +574,7 @@ buildStyleFunctionGradient() {
checkStyleFunctionGradient(api.StyleFunctionGradient o) {
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- checkUnnamed3030(o.colors);
+ checkUnnamed2854(o.colors);
unittest.expect(o.max, unittest.equals(42.0));
unittest.expect(o.min, unittest.equals(42.0));
}
@@ -586,7 +586,7 @@ buildStyleFunction() {
var o = new api.StyleFunction();
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- o.buckets = buildUnnamed3029();
+ o.buckets = buildUnnamed2853();
o.columnName = "foo";
o.gradient = buildStyleFunctionGradient();
o.kind = "foo";
@@ -598,7 +598,7 @@ buildStyleFunction() {
checkStyleFunction(api.StyleFunction o) {
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- checkUnnamed3029(o.buckets);
+ checkUnnamed2853(o.buckets);
unittest.expect(o.columnName, unittest.equals('foo'));
checkStyleFunctionGradient(o.gradient);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -637,14 +637,14 @@ checkStyleSetting(api.StyleSetting o) {
buildCounterStyleSetting--;
}
-buildUnnamed3031() {
+buildUnnamed2855() {
var o = new core.List<api.StyleSetting>();
o.add(buildStyleSetting());
o.add(buildStyleSetting());
return o;
}
-checkUnnamed3031(core.List<api.StyleSetting> o) {
+checkUnnamed2855(core.List<api.StyleSetting> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleSetting(o[0]);
checkStyleSetting(o[1]);
@@ -655,7 +655,7 @@ buildStyleSettingList() {
var o = new api.StyleSettingList();
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- o.items = buildUnnamed3031();
+ o.items = buildUnnamed2855();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -667,7 +667,7 @@ buildStyleSettingList() {
checkStyleSettingList(api.StyleSettingList o) {
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- checkUnnamed3031(o.items);
+ checkUnnamed2855(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -675,27 +675,27 @@ checkStyleSettingList(api.StyleSettingList o) {
buildCounterStyleSettingList--;
}
-buildUnnamed3032() {
+buildUnnamed2856() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3032(core.List<core.String> o) {
+checkUnnamed2856(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'));
}
-buildUnnamed3033() {
+buildUnnamed2857() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed3033(core.List<api.Column> o) {
+checkUnnamed2857(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -708,8 +708,8 @@ buildTable() {
if (buildCounterTable < 3) {
o.attribution = "foo";
o.attributionLink = "foo";
- o.baseTableIds = buildUnnamed3032();
- o.columns = buildUnnamed3033();
+ o.baseTableIds = buildUnnamed2856();
+ o.columns = buildUnnamed2857();
o.description = "foo";
o.isExportable = true;
o.kind = "foo";
@@ -726,8 +726,8 @@ checkTable(api.Table o) {
if (buildCounterTable < 3) {
unittest.expect(o.attribution, unittest.equals('foo'));
unittest.expect(o.attributionLink, unittest.equals('foo'));
- checkUnnamed3032(o.baseTableIds);
- checkUnnamed3033(o.columns);
+ checkUnnamed2856(o.baseTableIds);
+ checkUnnamed2857(o.columns);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.isExportable, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -738,14 +738,14 @@ checkTable(api.Table o) {
buildCounterTable--;
}
-buildUnnamed3034() {
+buildUnnamed2858() {
var o = new core.List<api.Table>();
o.add(buildTable());
o.add(buildTable());
return o;
}
-checkUnnamed3034(core.List<api.Table> o) {
+checkUnnamed2858(core.List<api.Table> o) {
unittest.expect(o, unittest.hasLength(2));
checkTable(o[0]);
checkTable(o[1]);
@@ -756,7 +756,7 @@ buildTableList() {
var o = new api.TableList();
buildCounterTableList++;
if (buildCounterTableList < 3) {
- o.items = buildUnnamed3034();
+ o.items = buildUnnamed2858();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -767,7 +767,7 @@ buildTableList() {
checkTableList(api.TableList o) {
buildCounterTableList++;
if (buildCounterTableList < 3) {
- checkUnnamed3034(o.items);
+ checkUnnamed2858(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -801,14 +801,14 @@ checkTask(api.Task o) {
buildCounterTask--;
}
-buildUnnamed3035() {
+buildUnnamed2859() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed3035(core.List<api.Task> o) {
+checkUnnamed2859(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -819,7 +819,7 @@ buildTaskList() {
var o = new api.TaskList();
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- o.items = buildUnnamed3035();
+ o.items = buildUnnamed2859();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -831,7 +831,7 @@ buildTaskList() {
checkTaskList(api.TaskList o) {
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- checkUnnamed3035(o.items);
+ checkUnnamed2859(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -839,14 +839,14 @@ checkTaskList(api.TaskList o) {
buildCounterTaskList--;
}
-buildUnnamed3036() {
+buildUnnamed2860() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3036(core.List<core.String> o) {
+checkUnnamed2860(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'));
@@ -857,7 +857,7 @@ buildTemplate() {
var o = new api.Template();
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- o.automaticColumnNames = buildUnnamed3036();
+ o.automaticColumnNames = buildUnnamed2860();
o.body = "foo";
o.kind = "foo";
o.name = "foo";
@@ -871,7 +871,7 @@ buildTemplate() {
checkTemplate(api.Template o) {
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- checkUnnamed3036(o.automaticColumnNames);
+ checkUnnamed2860(o.automaticColumnNames);
unittest.expect(o.body, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -881,14 +881,14 @@ checkTemplate(api.Template o) {
buildCounterTemplate--;
}
-buildUnnamed3037() {
+buildUnnamed2861() {
var o = new core.List<api.Template>();
o.add(buildTemplate());
o.add(buildTemplate());
return o;
}
-checkUnnamed3037(core.List<api.Template> o) {
+checkUnnamed2861(core.List<api.Template> o) {
unittest.expect(o, unittest.hasLength(2));
checkTemplate(o[0]);
checkTemplate(o[1]);
@@ -899,7 +899,7 @@ buildTemplateList() {
var o = new api.TemplateList();
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- o.items = buildUnnamed3037();
+ o.items = buildUnnamed2861();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -911,7 +911,7 @@ buildTemplateList() {
checkTemplateList(api.TemplateList o) {
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- checkUnnamed3037(o.items);
+ checkUnnamed2861(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
« no previous file with comments | « generated/googleapis/test/fitness/v1_test.dart ('k') | generated/googleapis/test/gamesconfiguration/v1configuration_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698