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

Unified Diff: generated/googleapis_beta/test/ml/v1beta1_test.dart

Issue 2649893002: Api-roll 44: 2017-01-23 (Closed)
Patch Set: Created 3 years, 11 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_beta/test/ml/v1beta1_test.dart
diff --git a/generated/googleapis_beta/test/ml/v1beta1_test.dart b/generated/googleapis_beta/test/ml/v1beta1_test.dart
index 3f285dbb4e1a7b4934a1b3070f1b94d677c19c1b..ad47ba3b1a6dd9716d6924fb808b982812965ece 100644
--- a/generated/googleapis_beta/test/ml/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/ml/v1beta1_test.dart
@@ -131,27 +131,27 @@ checkGoogleCloudMlV1beta1GetConfigResponse(api.GoogleCloudMlV1beta1GetConfigResp
buildCounterGoogleCloudMlV1beta1GetConfigResponse--;
}
-buildUnnamed3145() {
+buildUnnamed3132() {
var o = new core.List<api.GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric>();
o.add(buildGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric());
o.add(buildGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric());
return o;
}
-checkUnnamed3145(core.List<api.GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric> o) {
+checkUnnamed3132(core.List<api.GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric(o[0]);
checkGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric(o[1]);
}
-buildUnnamed3146() {
+buildUnnamed3133() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3146(core.Map<core.String, core.String> o) {
+checkUnnamed3133(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'));
@@ -162,9 +162,9 @@ buildGoogleCloudMlV1beta1HyperparameterOutput() {
var o = new api.GoogleCloudMlV1beta1HyperparameterOutput();
buildCounterGoogleCloudMlV1beta1HyperparameterOutput++;
if (buildCounterGoogleCloudMlV1beta1HyperparameterOutput < 3) {
- o.allMetrics = buildUnnamed3145();
+ o.allMetrics = buildUnnamed3132();
o.finalMetric = buildGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric();
- o.hyperparameters = buildUnnamed3146();
+ o.hyperparameters = buildUnnamed3133();
o.trialId = "foo";
}
buildCounterGoogleCloudMlV1beta1HyperparameterOutput--;
@@ -174,22 +174,22 @@ buildGoogleCloudMlV1beta1HyperparameterOutput() {
checkGoogleCloudMlV1beta1HyperparameterOutput(api.GoogleCloudMlV1beta1HyperparameterOutput o) {
buildCounterGoogleCloudMlV1beta1HyperparameterOutput++;
if (buildCounterGoogleCloudMlV1beta1HyperparameterOutput < 3) {
- checkUnnamed3145(o.allMetrics);
+ checkUnnamed3132(o.allMetrics);
checkGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric(o.finalMetric);
- checkUnnamed3146(o.hyperparameters);
+ checkUnnamed3133(o.hyperparameters);
unittest.expect(o.trialId, unittest.equals('foo'));
}
buildCounterGoogleCloudMlV1beta1HyperparameterOutput--;
}
-buildUnnamed3147() {
+buildUnnamed3134() {
var o = new core.List<api.GoogleCloudMlV1beta1ParameterSpec>();
o.add(buildGoogleCloudMlV1beta1ParameterSpec());
o.add(buildGoogleCloudMlV1beta1ParameterSpec());
return o;
}
-checkUnnamed3147(core.List<api.GoogleCloudMlV1beta1ParameterSpec> o) {
+checkUnnamed3134(core.List<api.GoogleCloudMlV1beta1ParameterSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1beta1ParameterSpec(o[0]);
checkGoogleCloudMlV1beta1ParameterSpec(o[1]);
@@ -203,7 +203,7 @@ buildGoogleCloudMlV1beta1HyperparameterSpec() {
o.goal = "foo";
o.maxParallelTrials = 42;
o.maxTrials = 42;
- o.params = buildUnnamed3147();
+ o.params = buildUnnamed3134();
}
buildCounterGoogleCloudMlV1beta1HyperparameterSpec--;
return o;
@@ -215,7 +215,7 @@ checkGoogleCloudMlV1beta1HyperparameterSpec(api.GoogleCloudMlV1beta1Hyperparamet
unittest.expect(o.goal, unittest.equals('foo'));
unittest.expect(o.maxParallelTrials, unittest.equals(42));
unittest.expect(o.maxTrials, unittest.equals(42));
- checkUnnamed3147(o.params);
+ checkUnnamed3134(o.params);
}
buildCounterGoogleCloudMlV1beta1HyperparameterSpec--;
}
@@ -257,14 +257,14 @@ checkGoogleCloudMlV1beta1Job(api.GoogleCloudMlV1beta1Job o) {
buildCounterGoogleCloudMlV1beta1Job--;
}
-buildUnnamed3148() {
+buildUnnamed3135() {
var o = new core.List<api.GoogleCloudMlV1beta1Job>();
o.add(buildGoogleCloudMlV1beta1Job());
o.add(buildGoogleCloudMlV1beta1Job());
return o;
}
-checkUnnamed3148(core.List<api.GoogleCloudMlV1beta1Job> o) {
+checkUnnamed3135(core.List<api.GoogleCloudMlV1beta1Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1beta1Job(o[0]);
checkGoogleCloudMlV1beta1Job(o[1]);
@@ -275,7 +275,7 @@ buildGoogleCloudMlV1beta1ListJobsResponse() {
var o = new api.GoogleCloudMlV1beta1ListJobsResponse();
buildCounterGoogleCloudMlV1beta1ListJobsResponse++;
if (buildCounterGoogleCloudMlV1beta1ListJobsResponse < 3) {
- o.jobs = buildUnnamed3148();
+ o.jobs = buildUnnamed3135();
o.nextPageToken = "foo";
}
buildCounterGoogleCloudMlV1beta1ListJobsResponse--;
@@ -285,20 +285,20 @@ buildGoogleCloudMlV1beta1ListJobsResponse() {
checkGoogleCloudMlV1beta1ListJobsResponse(api.GoogleCloudMlV1beta1ListJobsResponse o) {
buildCounterGoogleCloudMlV1beta1ListJobsResponse++;
if (buildCounterGoogleCloudMlV1beta1ListJobsResponse < 3) {
- checkUnnamed3148(o.jobs);
+ checkUnnamed3135(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleCloudMlV1beta1ListJobsResponse--;
}
-buildUnnamed3149() {
+buildUnnamed3136() {
var o = new core.List<api.GoogleCloudMlV1beta1Model>();
o.add(buildGoogleCloudMlV1beta1Model());
o.add(buildGoogleCloudMlV1beta1Model());
return o;
}
-checkUnnamed3149(core.List<api.GoogleCloudMlV1beta1Model> o) {
+checkUnnamed3136(core.List<api.GoogleCloudMlV1beta1Model> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1beta1Model(o[0]);
checkGoogleCloudMlV1beta1Model(o[1]);
@@ -309,7 +309,7 @@ buildGoogleCloudMlV1beta1ListModelsResponse() {
var o = new api.GoogleCloudMlV1beta1ListModelsResponse();
buildCounterGoogleCloudMlV1beta1ListModelsResponse++;
if (buildCounterGoogleCloudMlV1beta1ListModelsResponse < 3) {
- o.models = buildUnnamed3149();
+ o.models = buildUnnamed3136();
o.nextPageToken = "foo";
}
buildCounterGoogleCloudMlV1beta1ListModelsResponse--;
@@ -319,20 +319,20 @@ buildGoogleCloudMlV1beta1ListModelsResponse() {
checkGoogleCloudMlV1beta1ListModelsResponse(api.GoogleCloudMlV1beta1ListModelsResponse o) {
buildCounterGoogleCloudMlV1beta1ListModelsResponse++;
if (buildCounterGoogleCloudMlV1beta1ListModelsResponse < 3) {
- checkUnnamed3149(o.models);
+ checkUnnamed3136(o.models);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleCloudMlV1beta1ListModelsResponse--;
}
-buildUnnamed3150() {
+buildUnnamed3137() {
var o = new core.List<api.GoogleCloudMlV1beta1Version>();
o.add(buildGoogleCloudMlV1beta1Version());
o.add(buildGoogleCloudMlV1beta1Version());
return o;
}
-checkUnnamed3150(core.List<api.GoogleCloudMlV1beta1Version> o) {
+checkUnnamed3137(core.List<api.GoogleCloudMlV1beta1Version> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1beta1Version(o[0]);
checkGoogleCloudMlV1beta1Version(o[1]);
@@ -344,7 +344,7 @@ buildGoogleCloudMlV1beta1ListVersionsResponse() {
buildCounterGoogleCloudMlV1beta1ListVersionsResponse++;
if (buildCounterGoogleCloudMlV1beta1ListVersionsResponse < 3) {
o.nextPageToken = "foo";
- o.versions = buildUnnamed3150();
+ o.versions = buildUnnamed3137();
}
buildCounterGoogleCloudMlV1beta1ListVersionsResponse--;
return o;
@@ -354,11 +354,24 @@ checkGoogleCloudMlV1beta1ListVersionsResponse(api.GoogleCloudMlV1beta1ListVersio
buildCounterGoogleCloudMlV1beta1ListVersionsResponse++;
if (buildCounterGoogleCloudMlV1beta1ListVersionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3150(o.versions);
+ checkUnnamed3137(o.versions);
}
buildCounterGoogleCloudMlV1beta1ListVersionsResponse--;
}
+buildUnnamed3138() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3138(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'));
+}
+
core.int buildCounterGoogleCloudMlV1beta1Model = 0;
buildGoogleCloudMlV1beta1Model() {
var o = new api.GoogleCloudMlV1beta1Model();
@@ -367,6 +380,7 @@ buildGoogleCloudMlV1beta1Model() {
o.defaultVersion = buildGoogleCloudMlV1beta1Version();
o.description = "foo";
o.name = "foo";
+ o.regions = buildUnnamed3138();
}
buildCounterGoogleCloudMlV1beta1Model--;
return o;
@@ -378,6 +392,7 @@ checkGoogleCloudMlV1beta1Model(api.GoogleCloudMlV1beta1Model o) {
checkGoogleCloudMlV1beta1Version(o.defaultVersion);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed3138(o.regions);
}
buildCounterGoogleCloudMlV1beta1Model--;
}
@@ -413,27 +428,27 @@ checkGoogleCloudMlV1beta1OperationMetadata(api.GoogleCloudMlV1beta1OperationMeta
buildCounterGoogleCloudMlV1beta1OperationMetadata--;
}
-buildUnnamed3151() {
+buildUnnamed3139() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3151(core.List<core.String> o) {
+checkUnnamed3139(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'));
}
-buildUnnamed3152() {
+buildUnnamed3140() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed3152(core.List<core.double> o) {
+checkUnnamed3140(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));
@@ -444,8 +459,8 @@ buildGoogleCloudMlV1beta1ParameterSpec() {
var o = new api.GoogleCloudMlV1beta1ParameterSpec();
buildCounterGoogleCloudMlV1beta1ParameterSpec++;
if (buildCounterGoogleCloudMlV1beta1ParameterSpec < 3) {
- o.categoricalValues = buildUnnamed3151();
- o.discreteValues = buildUnnamed3152();
+ o.categoricalValues = buildUnnamed3139();
+ o.discreteValues = buildUnnamed3140();
o.maxValue = 42.0;
o.minValue = 42.0;
o.parameterName = "foo";
@@ -459,8 +474,8 @@ buildGoogleCloudMlV1beta1ParameterSpec() {
checkGoogleCloudMlV1beta1ParameterSpec(api.GoogleCloudMlV1beta1ParameterSpec o) {
buildCounterGoogleCloudMlV1beta1ParameterSpec++;
if (buildCounterGoogleCloudMlV1beta1ParameterSpec < 3) {
- checkUnnamed3151(o.categoricalValues);
- checkUnnamed3152(o.discreteValues);
+ checkUnnamed3139(o.categoricalValues);
+ checkUnnamed3140(o.discreteValues);
unittest.expect(o.maxValue, unittest.equals(42.0));
unittest.expect(o.minValue, unittest.equals(42.0));
unittest.expect(o.parameterName, unittest.equals('foo'));
@@ -489,14 +504,14 @@ checkGoogleCloudMlV1beta1PredictRequest(api.GoogleCloudMlV1beta1PredictRequest o
buildCounterGoogleCloudMlV1beta1PredictRequest--;
}
-buildUnnamed3153() {
+buildUnnamed3141() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3153(core.List<core.String> o) {
+checkUnnamed3141(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'));
@@ -508,11 +523,12 @@ buildGoogleCloudMlV1beta1PredictionInput() {
buildCounterGoogleCloudMlV1beta1PredictionInput++;
if (buildCounterGoogleCloudMlV1beta1PredictionInput < 3) {
o.dataFormat = "foo";
- o.inputPaths = buildUnnamed3153();
+ o.inputPaths = buildUnnamed3141();
o.maxWorkerCount = "foo";
o.modelName = "foo";
o.outputPath = "foo";
o.region = "foo";
+ o.runtimeVersion = "foo";
o.versionName = "foo";
}
buildCounterGoogleCloudMlV1beta1PredictionInput--;
@@ -523,11 +539,12 @@ checkGoogleCloudMlV1beta1PredictionInput(api.GoogleCloudMlV1beta1PredictionInput
buildCounterGoogleCloudMlV1beta1PredictionInput++;
if (buildCounterGoogleCloudMlV1beta1PredictionInput < 3) {
unittest.expect(o.dataFormat, unittest.equals('foo'));
- checkUnnamed3153(o.inputPaths);
+ checkUnnamed3141(o.inputPaths);
unittest.expect(o.maxWorkerCount, unittest.equals('foo'));
unittest.expect(o.modelName, unittest.equals('foo'));
unittest.expect(o.outputPath, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
+ unittest.expect(o.runtimeVersion, unittest.equals('foo'));
unittest.expect(o.versionName, unittest.equals('foo'));
}
buildCounterGoogleCloudMlV1beta1PredictionInput--;
@@ -539,6 +556,7 @@ buildGoogleCloudMlV1beta1PredictionOutput() {
buildCounterGoogleCloudMlV1beta1PredictionOutput++;
if (buildCounterGoogleCloudMlV1beta1PredictionOutput < 3) {
o.errorCount = "foo";
+ o.nodeHours = 42.0;
o.outputPath = "foo";
o.predictionCount = "foo";
}
@@ -550,6 +568,7 @@ checkGoogleCloudMlV1beta1PredictionOutput(api.GoogleCloudMlV1beta1PredictionOutp
buildCounterGoogleCloudMlV1beta1PredictionOutput++;
if (buildCounterGoogleCloudMlV1beta1PredictionOutput < 3) {
unittest.expect(o.errorCount, unittest.equals('foo'));
+ unittest.expect(o.nodeHours, unittest.equals(42.0));
unittest.expect(o.outputPath, unittest.equals('foo'));
unittest.expect(o.predictionCount, unittest.equals('foo'));
}
@@ -573,27 +592,27 @@ checkGoogleCloudMlV1beta1SetDefaultVersionRequest(api.GoogleCloudMlV1beta1SetDef
buildCounterGoogleCloudMlV1beta1SetDefaultVersionRequest--;
}
-buildUnnamed3154() {
+buildUnnamed3142() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3154(core.List<core.String> o) {
+checkUnnamed3142(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'));
}
-buildUnnamed3155() {
+buildUnnamed3143() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3155(core.List<core.String> o) {
+checkUnnamed3143(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'));
@@ -604,14 +623,15 @@ buildGoogleCloudMlV1beta1TrainingInput() {
var o = new api.GoogleCloudMlV1beta1TrainingInput();
buildCounterGoogleCloudMlV1beta1TrainingInput++;
if (buildCounterGoogleCloudMlV1beta1TrainingInput < 3) {
- o.args = buildUnnamed3154();
+ o.args = buildUnnamed3142();
o.hyperparameters = buildGoogleCloudMlV1beta1HyperparameterSpec();
o.masterType = "foo";
- o.packageUris = buildUnnamed3155();
+ o.packageUris = buildUnnamed3143();
o.parameterServerCount = "foo";
o.parameterServerType = "foo";
o.pythonModule = "foo";
o.region = "foo";
+ o.runtimeVersion = "foo";
o.scaleTier = "foo";
o.workerCount = "foo";
o.workerType = "foo";
@@ -623,14 +643,15 @@ buildGoogleCloudMlV1beta1TrainingInput() {
checkGoogleCloudMlV1beta1TrainingInput(api.GoogleCloudMlV1beta1TrainingInput o) {
buildCounterGoogleCloudMlV1beta1TrainingInput++;
if (buildCounterGoogleCloudMlV1beta1TrainingInput < 3) {
- checkUnnamed3154(o.args);
+ checkUnnamed3142(o.args);
checkGoogleCloudMlV1beta1HyperparameterSpec(o.hyperparameters);
unittest.expect(o.masterType, unittest.equals('foo'));
- checkUnnamed3155(o.packageUris);
+ checkUnnamed3143(o.packageUris);
unittest.expect(o.parameterServerCount, unittest.equals('foo'));
unittest.expect(o.parameterServerType, unittest.equals('foo'));
unittest.expect(o.pythonModule, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
+ unittest.expect(o.runtimeVersion, unittest.equals('foo'));
unittest.expect(o.scaleTier, unittest.equals('foo'));
unittest.expect(o.workerCount, unittest.equals('foo'));
unittest.expect(o.workerType, unittest.equals('foo'));
@@ -638,14 +659,14 @@ checkGoogleCloudMlV1beta1TrainingInput(api.GoogleCloudMlV1beta1TrainingInput o)
buildCounterGoogleCloudMlV1beta1TrainingInput--;
}
-buildUnnamed3156() {
+buildUnnamed3144() {
var o = new core.List<api.GoogleCloudMlV1beta1HyperparameterOutput>();
o.add(buildGoogleCloudMlV1beta1HyperparameterOutput());
o.add(buildGoogleCloudMlV1beta1HyperparameterOutput());
return o;
}
-checkUnnamed3156(core.List<api.GoogleCloudMlV1beta1HyperparameterOutput> o) {
+checkUnnamed3144(core.List<api.GoogleCloudMlV1beta1HyperparameterOutput> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1beta1HyperparameterOutput(o[0]);
checkGoogleCloudMlV1beta1HyperparameterOutput(o[1]);
@@ -657,8 +678,9 @@ buildGoogleCloudMlV1beta1TrainingOutput() {
buildCounterGoogleCloudMlV1beta1TrainingOutput++;
if (buildCounterGoogleCloudMlV1beta1TrainingOutput < 3) {
o.completedTrialCount = "foo";
- o.consumedMlUnits = 42.0;
- o.trials = buildUnnamed3156();
+ o.consumedMLUnits = 42.0;
+ o.isHyperparameterTuningJob = true;
+ o.trials = buildUnnamed3144();
}
buildCounterGoogleCloudMlV1beta1TrainingOutput--;
return o;
@@ -668,8 +690,9 @@ checkGoogleCloudMlV1beta1TrainingOutput(api.GoogleCloudMlV1beta1TrainingOutput o
buildCounterGoogleCloudMlV1beta1TrainingOutput++;
if (buildCounterGoogleCloudMlV1beta1TrainingOutput < 3) {
unittest.expect(o.completedTrialCount, unittest.equals('foo'));
- unittest.expect(o.consumedMlUnits, unittest.equals(42.0));
- checkUnnamed3156(o.trials);
+ unittest.expect(o.consumedMLUnits, unittest.equals(42.0));
+ unittest.expect(o.isHyperparameterTuningJob, unittest.isTrue);
+ checkUnnamed3144(o.trials);
}
buildCounterGoogleCloudMlV1beta1TrainingOutput--;
}
@@ -685,6 +708,8 @@ buildGoogleCloudMlV1beta1Version() {
o.isDefault = true;
o.lastUseTime = "foo";
o.name = "foo";
+ o.onlinePredictionLogging = true;
+ o.runtimeVersion = "foo";
}
buildCounterGoogleCloudMlV1beta1Version--;
return o;
@@ -699,18 +724,20 @@ checkGoogleCloudMlV1beta1Version(api.GoogleCloudMlV1beta1Version o) {
unittest.expect(o.isDefault, unittest.isTrue);
unittest.expect(o.lastUseTime, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.onlinePredictionLogging, unittest.isTrue);
+ unittest.expect(o.runtimeVersion, unittest.equals('foo'));
}
buildCounterGoogleCloudMlV1beta1Version--;
}
-buildUnnamed3157() {
+buildUnnamed3145() {
var o = new core.List<api.GoogleLongrunningOperation>();
o.add(buildGoogleLongrunningOperation());
o.add(buildGoogleLongrunningOperation());
return o;
}
-checkUnnamed3157(core.List<api.GoogleLongrunningOperation> o) {
+checkUnnamed3145(core.List<api.GoogleLongrunningOperation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleLongrunningOperation(o[0]);
checkGoogleLongrunningOperation(o[1]);
@@ -722,7 +749,7 @@ buildGoogleLongrunningListOperationsResponse() {
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3157();
+ o.operations = buildUnnamed3145();
}
buildCounterGoogleLongrunningListOperationsResponse--;
return o;
@@ -732,32 +759,32 @@ checkGoogleLongrunningListOperationsResponse(api.GoogleLongrunningListOperations
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3157(o.operations);
+ checkUnnamed3145(o.operations);
}
buildCounterGoogleLongrunningListOperationsResponse--;
}
-buildUnnamed3158() {
+buildUnnamed3146() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3158(core.Map<core.String, core.Object> o) {
+checkUnnamed3146(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) 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["y"]) 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'));
}
-buildUnnamed3159() {
+buildUnnamed3147() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3159(core.Map<core.String, core.Object> o) {
+checkUnnamed3147(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) 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'));
var casted4 = (o["y"]) 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'));
@@ -770,9 +797,9 @@ buildGoogleLongrunningOperation() {
if (buildCounterGoogleLongrunningOperation < 3) {
o.done = true;
o.error = buildGoogleRpcStatus();
- o.metadata = buildUnnamed3158();
+ o.metadata = buildUnnamed3146();
o.name = "foo";
- o.response = buildUnnamed3159();
+ o.response = buildUnnamed3147();
}
buildCounterGoogleLongrunningOperation--;
return o;
@@ -783,9 +810,9 @@ checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) {
if (buildCounterGoogleLongrunningOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkGoogleRpcStatus(o.error);
- checkUnnamed3158(o.metadata);
+ checkUnnamed3146(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3159(o.response);
+ checkUnnamed3147(o.response);
}
buildCounterGoogleLongrunningOperation--;
}
@@ -807,30 +834,30 @@ checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) {
buildCounterGoogleProtobufEmpty--;
}
-buildUnnamed3160() {
+buildUnnamed3148() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3160(core.Map<core.String, core.Object> o) {
+checkUnnamed3148(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) 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'));
var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLength(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed3161() {
+buildUnnamed3149() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3160());
- o.add(buildUnnamed3160());
+ o.add(buildUnnamed3148());
+ o.add(buildUnnamed3148());
return o;
}
-checkUnnamed3161(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3149(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3160(o[0]);
- checkUnnamed3160(o[1]);
+ checkUnnamed3148(o[0]);
+ checkUnnamed3148(o[1]);
}
core.int buildCounterGoogleRpcStatus = 0;
@@ -839,7 +866,7 @@ buildGoogleRpcStatus() {
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3161();
+ o.details = buildUnnamed3149();
o.message = "foo";
}
buildCounterGoogleRpcStatus--;
@@ -850,7 +877,7 @@ checkGoogleRpcStatus(api.GoogleRpcStatus o) {
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3161(o.details);
+ checkUnnamed3149(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterGoogleRpcStatus--;

Powered by Google App Engine
This is Rietveld 408576698