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

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

Issue 2281923002: Api-roll 41: 2016-08-26 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: 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/fusiontables/v1_test.dart
diff --git a/generated/googleapis/test/fusiontables/v1_test.dart b/generated/googleapis/test/fusiontables/v1_test.dart
index 96dde3859463ff889b5ed9eb6368ed300f6cbb81..10c86c3fd8de752b1b57268b69a1f7be55517aac 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--;
}
-buildUnnamed2552() {
+buildUnnamed3327() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed2552(core.List<api.Column> o) {
+checkUnnamed3327(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 = buildUnnamed2552();
+ o.items = buildUnnamed3327();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -162,7 +162,7 @@ buildColumnList() {
checkColumnList(api.ColumnList o) {
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- checkUnnamed2552(o.items);
+ checkUnnamed3327(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--;
}
-buildUnnamed2553() {
+buildUnnamed3328() {
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;
}
-checkUnnamed2553(core.List<core.Object> o) {
+checkUnnamed3328(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 = buildUnnamed2553();
+ o.geometries = buildUnnamed3328();
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) {
- checkUnnamed2553(o.geometries);
+ checkUnnamed3328(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--;
}
-buildUnnamed2554() {
+buildUnnamed3329() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2554(core.List<core.double> o) {
+checkUnnamed3329(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));
}
-buildUnnamed2555() {
+buildUnnamed3330() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed2554());
- o.add(buildUnnamed2554());
+ o.add(buildUnnamed3329());
+ o.add(buildUnnamed3329());
return o;
}
-checkUnnamed2555(core.List<core.List<core.double>> o) {
+checkUnnamed3330(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2554(o[0]);
- checkUnnamed2554(o[1]);
+ checkUnnamed3329(o[0]);
+ checkUnnamed3329(o[1]);
}
core.int buildCounterLine = 0;
@@ -258,7 +258,7 @@ buildLine() {
var o = new api.Line();
buildCounterLine++;
if (buildCounterLine < 3) {
- o.coordinates = buildUnnamed2555();
+ o.coordinates = buildUnnamed3330();
o.type = "foo";
}
buildCounterLine--;
@@ -268,7 +268,7 @@ buildLine() {
checkLine(api.Line o) {
buildCounterLine++;
if (buildCounterLine < 3) {
- checkUnnamed2555(o.coordinates);
+ checkUnnamed3330(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterLine--;
@@ -301,14 +301,14 @@ checkLineStyle(api.LineStyle o) {
buildCounterLineStyle--;
}
-buildUnnamed2556() {
+buildUnnamed3331() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2556(core.List<core.double> o) {
+checkUnnamed3331(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 = buildUnnamed2556();
+ o.coordinates = buildUnnamed3331();
o.type = "foo";
}
buildCounterPoint--;
@@ -329,7 +329,7 @@ buildPoint() {
checkPoint(api.Point o) {
buildCounterPoint++;
if (buildCounterPoint < 3) {
- checkUnnamed2556(o.coordinates);
+ checkUnnamed3331(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPoint--;
@@ -356,43 +356,43 @@ checkPointStyle(api.PointStyle o) {
buildCounterPointStyle--;
}
-buildUnnamed2557() {
+buildUnnamed3332() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2557(core.List<core.double> o) {
+checkUnnamed3332(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));
}
-buildUnnamed2558() {
+buildUnnamed3333() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed2557());
- o.add(buildUnnamed2557());
+ o.add(buildUnnamed3332());
+ o.add(buildUnnamed3332());
return o;
}
-checkUnnamed2558(core.List<core.List<core.double>> o) {
+checkUnnamed3333(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2557(o[0]);
- checkUnnamed2557(o[1]);
+ checkUnnamed3332(o[0]);
+ checkUnnamed3332(o[1]);
}
-buildUnnamed2559() {
+buildUnnamed3334() {
var o = new core.List<core.List<core.List<core.double>>>();
- o.add(buildUnnamed2558());
- o.add(buildUnnamed2558());
+ o.add(buildUnnamed3333());
+ o.add(buildUnnamed3333());
return o;
}
-checkUnnamed2559(core.List<core.List<core.List<core.double>>> o) {
+checkUnnamed3334(core.List<core.List<core.List<core.double>>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2558(o[0]);
- checkUnnamed2558(o[1]);
+ checkUnnamed3333(o[0]);
+ checkUnnamed3333(o[1]);
}
core.int buildCounterPolygon = 0;
@@ -400,7 +400,7 @@ buildPolygon() {
var o = new api.Polygon();
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- o.coordinates = buildUnnamed2559();
+ o.coordinates = buildUnnamed3334();
o.type = "foo";
}
buildCounterPolygon--;
@@ -410,7 +410,7 @@ buildPolygon() {
checkPolygon(api.Polygon o) {
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- checkUnnamed2559(o.coordinates);
+ checkUnnamed3334(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPolygon--;
@@ -449,43 +449,43 @@ checkPolygonStyle(api.PolygonStyle o) {
buildCounterPolygonStyle--;
}
-buildUnnamed2560() {
+buildUnnamed3335() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2560(core.List<core.String> o) {
+checkUnnamed3335(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'));
}
-buildUnnamed2561() {
+buildUnnamed3336() {
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;
}
-checkUnnamed2561(core.List<core.Object> o) {
+checkUnnamed3336(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'));
}
-buildUnnamed2562() {
+buildUnnamed3337() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed2561());
- o.add(buildUnnamed2561());
+ o.add(buildUnnamed3336());
+ o.add(buildUnnamed3336());
return o;
}
-checkUnnamed2562(core.List<core.List<core.Object>> o) {
+checkUnnamed3337(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2561(o[0]);
- checkUnnamed2561(o[1]);
+ checkUnnamed3336(o[0]);
+ checkUnnamed3336(o[1]);
}
core.int buildCounterSqlresponse = 0;
@@ -493,9 +493,9 @@ buildSqlresponse() {
var o = new api.Sqlresponse();
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- o.columns = buildUnnamed2560();
+ o.columns = buildUnnamed3335();
o.kind = "foo";
- o.rows = buildUnnamed2562();
+ o.rows = buildUnnamed3337();
}
buildCounterSqlresponse--;
return o;
@@ -504,21 +504,21 @@ buildSqlresponse() {
checkSqlresponse(api.Sqlresponse o) {
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- checkUnnamed2560(o.columns);
+ checkUnnamed3335(o.columns);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2562(o.rows);
+ checkUnnamed3337(o.rows);
}
buildCounterSqlresponse--;
}
-buildUnnamed2563() {
+buildUnnamed3338() {
var o = new core.List<api.Bucket>();
o.add(buildBucket());
o.add(buildBucket());
return o;
}
-checkUnnamed2563(core.List<api.Bucket> o) {
+checkUnnamed3338(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--;
}
-buildUnnamed2564() {
+buildUnnamed3339() {
var o = new core.List<api.StyleFunctionGradientColors>();
o.add(buildStyleFunctionGradientColors());
o.add(buildStyleFunctionGradientColors());
return o;
}
-checkUnnamed2564(core.List<api.StyleFunctionGradientColors> o) {
+checkUnnamed3339(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 = buildUnnamed2564();
+ o.colors = buildUnnamed3339();
o.max = 42.0;
o.min = 42.0;
}
@@ -574,7 +574,7 @@ buildStyleFunctionGradient() {
checkStyleFunctionGradient(api.StyleFunctionGradient o) {
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- checkUnnamed2564(o.colors);
+ checkUnnamed3339(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 = buildUnnamed2563();
+ o.buckets = buildUnnamed3338();
o.columnName = "foo";
o.gradient = buildStyleFunctionGradient();
o.kind = "foo";
@@ -598,7 +598,7 @@ buildStyleFunction() {
checkStyleFunction(api.StyleFunction o) {
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- checkUnnamed2563(o.buckets);
+ checkUnnamed3338(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--;
}
-buildUnnamed2565() {
+buildUnnamed3340() {
var o = new core.List<api.StyleSetting>();
o.add(buildStyleSetting());
o.add(buildStyleSetting());
return o;
}
-checkUnnamed2565(core.List<api.StyleSetting> o) {
+checkUnnamed3340(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 = buildUnnamed2565();
+ o.items = buildUnnamed3340();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -667,7 +667,7 @@ buildStyleSettingList() {
checkStyleSettingList(api.StyleSettingList o) {
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- checkUnnamed2565(o.items);
+ checkUnnamed3340(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--;
}
-buildUnnamed2566() {
+buildUnnamed3341() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2566(core.List<core.String> o) {
+checkUnnamed3341(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'));
}
-buildUnnamed2567() {
+buildUnnamed3342() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed2567(core.List<api.Column> o) {
+checkUnnamed3342(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 = buildUnnamed2566();
- o.columns = buildUnnamed2567();
+ o.baseTableIds = buildUnnamed3341();
+ o.columns = buildUnnamed3342();
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'));
- checkUnnamed2566(o.baseTableIds);
- checkUnnamed2567(o.columns);
+ checkUnnamed3341(o.baseTableIds);
+ checkUnnamed3342(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--;
}
-buildUnnamed2568() {
+buildUnnamed3343() {
var o = new core.List<api.Table>();
o.add(buildTable());
o.add(buildTable());
return o;
}
-checkUnnamed2568(core.List<api.Table> o) {
+checkUnnamed3343(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 = buildUnnamed2568();
+ o.items = buildUnnamed3343();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -767,7 +767,7 @@ buildTableList() {
checkTableList(api.TableList o) {
buildCounterTableList++;
if (buildCounterTableList < 3) {
- checkUnnamed2568(o.items);
+ checkUnnamed3343(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--;
}
-buildUnnamed2569() {
+buildUnnamed3344() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed2569(core.List<api.Task> o) {
+checkUnnamed3344(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 = buildUnnamed2569();
+ o.items = buildUnnamed3344();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -831,7 +831,7 @@ buildTaskList() {
checkTaskList(api.TaskList o) {
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- checkUnnamed2569(o.items);
+ checkUnnamed3344(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--;
}
-buildUnnamed2570() {
+buildUnnamed3345() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2570(core.List<core.String> o) {
+checkUnnamed3345(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 = buildUnnamed2570();
+ o.automaticColumnNames = buildUnnamed3345();
o.body = "foo";
o.kind = "foo";
o.name = "foo";
@@ -871,7 +871,7 @@ buildTemplate() {
checkTemplate(api.Template o) {
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- checkUnnamed2570(o.automaticColumnNames);
+ checkUnnamed3345(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--;
}
-buildUnnamed2571() {
+buildUnnamed3346() {
var o = new core.List<api.Template>();
o.add(buildTemplate());
o.add(buildTemplate());
return o;
}
-checkUnnamed2571(core.List<api.Template> o) {
+checkUnnamed3346(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 = buildUnnamed2571();
+ o.items = buildUnnamed3346();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -911,7 +911,7 @@ buildTemplateList() {
checkTemplateList(api.TemplateList o) {
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- checkUnnamed2571(o.items);
+ checkUnnamed3346(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/freebase/v1_test.dart ('k') | generated/googleapis/test/fusiontables/v2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698