Chromium Code Reviews

Unified Diff: generated/googleapis/test/fusiontables/v1_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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « generated/googleapis/test/fitness/v1_test.dart ('k') | generated/googleapis/test/fusiontables/v2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2568af7815a84b9065689847d3b6685ed9dc8d70..641bc55894d823cdba53cb7105410925342d152c 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--;
}
-buildUnnamed2927() {
+buildUnnamed3018() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed2927(core.List<api.Column> o) {
+checkUnnamed3018(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 = buildUnnamed2927();
+ o.items = buildUnnamed3018();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -162,7 +162,7 @@ buildColumnList() {
checkColumnList(api.ColumnList o) {
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- checkUnnamed2927(o.items);
+ checkUnnamed3018(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--;
}
-buildUnnamed2928() {
+buildUnnamed3019() {
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;
}
-checkUnnamed2928(core.List<core.Object> o) {
+checkUnnamed3019(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 = buildUnnamed2928();
+ o.geometries = buildUnnamed3019();
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) {
- checkUnnamed2928(o.geometries);
+ checkUnnamed3019(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--;
}
-buildUnnamed2929() {
+buildUnnamed3020() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2929(core.List<core.double> o) {
+checkUnnamed3020(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));
}
-buildUnnamed2930() {
+buildUnnamed3021() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed2929());
- o.add(buildUnnamed2929());
+ o.add(buildUnnamed3020());
+ o.add(buildUnnamed3020());
return o;
}
-checkUnnamed2930(core.List<core.List<core.double>> o) {
+checkUnnamed3021(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2929(o[0]);
- checkUnnamed2929(o[1]);
+ checkUnnamed3020(o[0]);
+ checkUnnamed3020(o[1]);
}
core.int buildCounterLine = 0;
@@ -258,7 +258,7 @@ buildLine() {
var o = new api.Line();
buildCounterLine++;
if (buildCounterLine < 3) {
- o.coordinates = buildUnnamed2930();
+ o.coordinates = buildUnnamed3021();
o.type = "foo";
}
buildCounterLine--;
@@ -268,7 +268,7 @@ buildLine() {
checkLine(api.Line o) {
buildCounterLine++;
if (buildCounterLine < 3) {
- checkUnnamed2930(o.coordinates);
+ checkUnnamed3021(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterLine--;
@@ -301,14 +301,14 @@ checkLineStyle(api.LineStyle o) {
buildCounterLineStyle--;
}
-buildUnnamed2931() {
+buildUnnamed3022() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2931(core.List<core.double> o) {
+checkUnnamed3022(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 = buildUnnamed2931();
+ o.coordinates = buildUnnamed3022();
o.type = "foo";
}
buildCounterPoint--;
@@ -329,7 +329,7 @@ buildPoint() {
checkPoint(api.Point o) {
buildCounterPoint++;
if (buildCounterPoint < 3) {
- checkUnnamed2931(o.coordinates);
+ checkUnnamed3022(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPoint--;
@@ -356,43 +356,43 @@ checkPointStyle(api.PointStyle o) {
buildCounterPointStyle--;
}
-buildUnnamed2932() {
+buildUnnamed3023() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2932(core.List<core.double> o) {
+checkUnnamed3023(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));
}
-buildUnnamed2933() {
+buildUnnamed3024() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed2932());
- o.add(buildUnnamed2932());
+ o.add(buildUnnamed3023());
+ o.add(buildUnnamed3023());
return o;
}
-checkUnnamed2933(core.List<core.List<core.double>> o) {
+checkUnnamed3024(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2932(o[0]);
- checkUnnamed2932(o[1]);
+ checkUnnamed3023(o[0]);
+ checkUnnamed3023(o[1]);
}
-buildUnnamed2934() {
+buildUnnamed3025() {
var o = new core.List<core.List<core.List<core.double>>>();
- o.add(buildUnnamed2933());
- o.add(buildUnnamed2933());
+ o.add(buildUnnamed3024());
+ o.add(buildUnnamed3024());
return o;
}
-checkUnnamed2934(core.List<core.List<core.List<core.double>>> o) {
+checkUnnamed3025(core.List<core.List<core.List<core.double>>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2933(o[0]);
- checkUnnamed2933(o[1]);
+ checkUnnamed3024(o[0]);
+ checkUnnamed3024(o[1]);
}
core.int buildCounterPolygon = 0;
@@ -400,7 +400,7 @@ buildPolygon() {
var o = new api.Polygon();
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- o.coordinates = buildUnnamed2934();
+ o.coordinates = buildUnnamed3025();
o.type = "foo";
}
buildCounterPolygon--;
@@ -410,7 +410,7 @@ buildPolygon() {
checkPolygon(api.Polygon o) {
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- checkUnnamed2934(o.coordinates);
+ checkUnnamed3025(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPolygon--;
@@ -449,43 +449,43 @@ checkPolygonStyle(api.PolygonStyle o) {
buildCounterPolygonStyle--;
}
-buildUnnamed2935() {
+buildUnnamed3026() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2935(core.List<core.String> o) {
+checkUnnamed3026(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'));
}
-buildUnnamed2936() {
+buildUnnamed3027() {
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;
}
-checkUnnamed2936(core.List<core.Object> o) {
+checkUnnamed3027(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'));
}
-buildUnnamed2937() {
+buildUnnamed3028() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed2936());
- o.add(buildUnnamed2936());
+ o.add(buildUnnamed3027());
+ o.add(buildUnnamed3027());
return o;
}
-checkUnnamed2937(core.List<core.List<core.Object>> o) {
+checkUnnamed3028(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2936(o[0]);
- checkUnnamed2936(o[1]);
+ checkUnnamed3027(o[0]);
+ checkUnnamed3027(o[1]);
}
core.int buildCounterSqlresponse = 0;
@@ -493,9 +493,9 @@ buildSqlresponse() {
var o = new api.Sqlresponse();
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- o.columns = buildUnnamed2935();
+ o.columns = buildUnnamed3026();
o.kind = "foo";
- o.rows = buildUnnamed2937();
+ o.rows = buildUnnamed3028();
}
buildCounterSqlresponse--;
return o;
@@ -504,21 +504,21 @@ buildSqlresponse() {
checkSqlresponse(api.Sqlresponse o) {
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- checkUnnamed2935(o.columns);
+ checkUnnamed3026(o.columns);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2937(o.rows);
+ checkUnnamed3028(o.rows);
}
buildCounterSqlresponse--;
}
-buildUnnamed2938() {
+buildUnnamed3029() {
var o = new core.List<api.Bucket>();
o.add(buildBucket());
o.add(buildBucket());
return o;
}
-checkUnnamed2938(core.List<api.Bucket> o) {
+checkUnnamed3029(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--;
}
-buildUnnamed2939() {
+buildUnnamed3030() {
var o = new core.List<api.StyleFunctionGradientColors>();
o.add(buildStyleFunctionGradientColors());
o.add(buildStyleFunctionGradientColors());
return o;
}
-checkUnnamed2939(core.List<api.StyleFunctionGradientColors> o) {
+checkUnnamed3030(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 = buildUnnamed2939();
+ o.colors = buildUnnamed3030();
o.max = 42.0;
o.min = 42.0;
}
@@ -574,7 +574,7 @@ buildStyleFunctionGradient() {
checkStyleFunctionGradient(api.StyleFunctionGradient o) {
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- checkUnnamed2939(o.colors);
+ checkUnnamed3030(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 = buildUnnamed2938();
+ o.buckets = buildUnnamed3029();
o.columnName = "foo";
o.gradient = buildStyleFunctionGradient();
o.kind = "foo";
@@ -598,7 +598,7 @@ buildStyleFunction() {
checkStyleFunction(api.StyleFunction o) {
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- checkUnnamed2938(o.buckets);
+ checkUnnamed3029(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--;
}
-buildUnnamed2940() {
+buildUnnamed3031() {
var o = new core.List<api.StyleSetting>();
o.add(buildStyleSetting());
o.add(buildStyleSetting());
return o;
}
-checkUnnamed2940(core.List<api.StyleSetting> o) {
+checkUnnamed3031(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 = buildUnnamed2940();
+ o.items = buildUnnamed3031();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -667,7 +667,7 @@ buildStyleSettingList() {
checkStyleSettingList(api.StyleSettingList o) {
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- checkUnnamed2940(o.items);
+ checkUnnamed3031(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--;
}
-buildUnnamed2941() {
+buildUnnamed3032() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2941(core.List<core.String> o) {
+checkUnnamed3032(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'));
}
-buildUnnamed2942() {
+buildUnnamed3033() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed2942(core.List<api.Column> o) {
+checkUnnamed3033(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 = buildUnnamed2941();
- o.columns = buildUnnamed2942();
+ o.baseTableIds = buildUnnamed3032();
+ o.columns = buildUnnamed3033();
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'));
- checkUnnamed2941(o.baseTableIds);
- checkUnnamed2942(o.columns);
+ checkUnnamed3032(o.baseTableIds);
+ checkUnnamed3033(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--;
}
-buildUnnamed2943() {
+buildUnnamed3034() {
var o = new core.List<api.Table>();
o.add(buildTable());
o.add(buildTable());
return o;
}
-checkUnnamed2943(core.List<api.Table> o) {
+checkUnnamed3034(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 = buildUnnamed2943();
+ o.items = buildUnnamed3034();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -767,7 +767,7 @@ buildTableList() {
checkTableList(api.TableList o) {
buildCounterTableList++;
if (buildCounterTableList < 3) {
- checkUnnamed2943(o.items);
+ checkUnnamed3034(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--;
}
-buildUnnamed2944() {
+buildUnnamed3035() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed2944(core.List<api.Task> o) {
+checkUnnamed3035(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 = buildUnnamed2944();
+ o.items = buildUnnamed3035();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -831,7 +831,7 @@ buildTaskList() {
checkTaskList(api.TaskList o) {
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- checkUnnamed2944(o.items);
+ checkUnnamed3035(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--;
}
-buildUnnamed2945() {
+buildUnnamed3036() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2945(core.List<core.String> o) {
+checkUnnamed3036(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 = buildUnnamed2945();
+ o.automaticColumnNames = buildUnnamed3036();
o.body = "foo";
o.kind = "foo";
o.name = "foo";
@@ -871,7 +871,7 @@ buildTemplate() {
checkTemplate(api.Template o) {
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- checkUnnamed2945(o.automaticColumnNames);
+ checkUnnamed3036(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--;
}
-buildUnnamed2946() {
+buildUnnamed3037() {
var o = new core.List<api.Template>();
o.add(buildTemplate());
o.add(buildTemplate());
return o;
}
-checkUnnamed2946(core.List<api.Template> o) {
+checkUnnamed3037(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 = buildUnnamed2946();
+ o.items = buildUnnamed3037();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -911,7 +911,7 @@ buildTemplateList() {
checkTemplateList(api.TemplateList o) {
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- checkUnnamed2946(o.items);
+ checkUnnamed3037(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/fusiontables/v2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine