| Index: generated/googleapis/test/dataproc/v1_test.dart
|
| diff --git a/generated/googleapis/test/dataproc/v1_test.dart b/generated/googleapis/test/dataproc/v1_test.dart
|
| index 4afa31880ec4c18cc4f6cd1bc5b9a3361c7b2e34..2d78fe54eafc659e3195b28c4fa9dee381387116 100644
|
| --- a/generated/googleapis/test/dataproc/v1_test.dart
|
| +++ b/generated/googleapis/test/dataproc/v1_test.dart
|
| @@ -89,27 +89,27 @@ checkCancelJobRequest(api.CancelJobRequest o) {
|
| buildCounterCancelJobRequest--;
|
| }
|
|
|
| -buildUnnamed506() {
|
| +buildUnnamed512() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed506(core.Map<core.String, core.String> o) {
|
| +checkUnnamed512(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'));
|
| }
|
|
|
| -buildUnnamed507() {
|
| +buildUnnamed513() {
|
| var o = new core.List<api.ClusterStatus>();
|
| o.add(buildClusterStatus());
|
| o.add(buildClusterStatus());
|
| return o;
|
| }
|
|
|
| -checkUnnamed507(core.List<api.ClusterStatus> o) {
|
| +checkUnnamed513(core.List<api.ClusterStatus> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkClusterStatus(o[0]);
|
| checkClusterStatus(o[1]);
|
| @@ -123,11 +123,11 @@ buildCluster() {
|
| o.clusterName = "foo";
|
| o.clusterUuid = "foo";
|
| o.config = buildClusterConfig();
|
| - o.labels = buildUnnamed506();
|
| + o.labels = buildUnnamed512();
|
| o.metrics = buildClusterMetrics();
|
| o.projectId = "foo";
|
| o.status = buildClusterStatus();
|
| - o.statusHistory = buildUnnamed507();
|
| + o.statusHistory = buildUnnamed513();
|
| }
|
| buildCounterCluster--;
|
| return o;
|
| @@ -139,23 +139,23 @@ checkCluster(api.Cluster o) {
|
| unittest.expect(o.clusterName, unittest.equals('foo'));
|
| unittest.expect(o.clusterUuid, unittest.equals('foo'));
|
| checkClusterConfig(o.config);
|
| - checkUnnamed506(o.labels);
|
| + checkUnnamed512(o.labels);
|
| checkClusterMetrics(o.metrics);
|
| unittest.expect(o.projectId, unittest.equals('foo'));
|
| checkClusterStatus(o.status);
|
| - checkUnnamed507(o.statusHistory);
|
| + checkUnnamed513(o.statusHistory);
|
| }
|
| buildCounterCluster--;
|
| }
|
|
|
| -buildUnnamed508() {
|
| +buildUnnamed514() {
|
| var o = new core.List<api.NodeInitializationAction>();
|
| o.add(buildNodeInitializationAction());
|
| o.add(buildNodeInitializationAction());
|
| return o;
|
| }
|
|
|
| -checkUnnamed508(core.List<api.NodeInitializationAction> o) {
|
| +checkUnnamed514(core.List<api.NodeInitializationAction> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkNodeInitializationAction(o[0]);
|
| checkNodeInitializationAction(o[1]);
|
| @@ -168,7 +168,7 @@ buildClusterConfig() {
|
| if (buildCounterClusterConfig < 3) {
|
| o.configBucket = "foo";
|
| o.gceClusterConfig = buildGceClusterConfig();
|
| - o.initializationActions = buildUnnamed508();
|
| + o.initializationActions = buildUnnamed514();
|
| o.masterConfig = buildInstanceGroupConfig();
|
| o.secondaryWorkerConfig = buildInstanceGroupConfig();
|
| o.softwareConfig = buildSoftwareConfig();
|
| @@ -183,7 +183,7 @@ checkClusterConfig(api.ClusterConfig o) {
|
| if (buildCounterClusterConfig < 3) {
|
| unittest.expect(o.configBucket, unittest.equals('foo'));
|
| checkGceClusterConfig(o.gceClusterConfig);
|
| - checkUnnamed508(o.initializationActions);
|
| + checkUnnamed514(o.initializationActions);
|
| checkInstanceGroupConfig(o.masterConfig);
|
| checkInstanceGroupConfig(o.secondaryWorkerConfig);
|
| checkSoftwareConfig(o.softwareConfig);
|
| @@ -192,27 +192,27 @@ checkClusterConfig(api.ClusterConfig o) {
|
| buildCounterClusterConfig--;
|
| }
|
|
|
| -buildUnnamed509() {
|
| +buildUnnamed515() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed509(core.Map<core.String, core.String> o) {
|
| +checkUnnamed515(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'));
|
| }
|
|
|
| -buildUnnamed510() {
|
| +buildUnnamed516() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed510(core.Map<core.String, core.String> o) {
|
| +checkUnnamed516(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'));
|
| @@ -223,8 +223,8 @@ buildClusterMetrics() {
|
| var o = new api.ClusterMetrics();
|
| buildCounterClusterMetrics++;
|
| if (buildCounterClusterMetrics < 3) {
|
| - o.hdfsMetrics = buildUnnamed509();
|
| - o.yarnMetrics = buildUnnamed510();
|
| + o.hdfsMetrics = buildUnnamed515();
|
| + o.yarnMetrics = buildUnnamed516();
|
| }
|
| buildCounterClusterMetrics--;
|
| return o;
|
| @@ -233,46 +233,46 @@ buildClusterMetrics() {
|
| checkClusterMetrics(api.ClusterMetrics o) {
|
| buildCounterClusterMetrics++;
|
| if (buildCounterClusterMetrics < 3) {
|
| - checkUnnamed509(o.hdfsMetrics);
|
| - checkUnnamed510(o.yarnMetrics);
|
| + checkUnnamed515(o.hdfsMetrics);
|
| + checkUnnamed516(o.yarnMetrics);
|
| }
|
| buildCounterClusterMetrics--;
|
| }
|
|
|
| -buildUnnamed511() {
|
| +buildUnnamed517() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed511(core.Map<core.String, core.String> o) {
|
| +checkUnnamed517(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'));
|
| }
|
|
|
| -buildUnnamed512() {
|
| +buildUnnamed518() {
|
| var o = new core.List<api.ClusterOperationStatus>();
|
| o.add(buildClusterOperationStatus());
|
| o.add(buildClusterOperationStatus());
|
| return o;
|
| }
|
|
|
| -checkUnnamed512(core.List<api.ClusterOperationStatus> o) {
|
| +checkUnnamed518(core.List<api.ClusterOperationStatus> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkClusterOperationStatus(o[0]);
|
| checkClusterOperationStatus(o[1]);
|
| }
|
|
|
| -buildUnnamed513() {
|
| +buildUnnamed519() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed513(core.List<core.String> o) {
|
| +checkUnnamed519(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'));
|
| @@ -286,11 +286,11 @@ buildClusterOperationMetadata() {
|
| o.clusterName = "foo";
|
| o.clusterUuid = "foo";
|
| o.description = "foo";
|
| - o.labels = buildUnnamed511();
|
| + o.labels = buildUnnamed517();
|
| o.operationType = "foo";
|
| o.status = buildClusterOperationStatus();
|
| - o.statusHistory = buildUnnamed512();
|
| - o.warnings = buildUnnamed513();
|
| + o.statusHistory = buildUnnamed518();
|
| + o.warnings = buildUnnamed519();
|
| }
|
| buildCounterClusterOperationMetadata--;
|
| return o;
|
| @@ -302,11 +302,11 @@ checkClusterOperationMetadata(api.ClusterOperationMetadata o) {
|
| unittest.expect(o.clusterName, unittest.equals('foo'));
|
| unittest.expect(o.clusterUuid, unittest.equals('foo'));
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| - checkUnnamed511(o.labels);
|
| + checkUnnamed517(o.labels);
|
| unittest.expect(o.operationType, unittest.equals('foo'));
|
| checkClusterOperationStatus(o.status);
|
| - checkUnnamed512(o.statusHistory);
|
| - checkUnnamed513(o.warnings);
|
| + checkUnnamed518(o.statusHistory);
|
| + checkUnnamed519(o.warnings);
|
| }
|
| buildCounterClusterOperationMetadata--;
|
| }
|
| @@ -435,40 +435,40 @@ checkEmpty(api.Empty o) {
|
| buildCounterEmpty--;
|
| }
|
|
|
| -buildUnnamed514() {
|
| +buildUnnamed520() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed514(core.Map<core.String, core.String> o) {
|
| +checkUnnamed520(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'));
|
| }
|
|
|
| -buildUnnamed515() {
|
| +buildUnnamed521() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed515(core.List<core.String> o) {
|
| +checkUnnamed521(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'));
|
| }
|
|
|
| -buildUnnamed516() {
|
| +buildUnnamed522() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed516(core.List<core.String> o) {
|
| +checkUnnamed522(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'));
|
| @@ -480,12 +480,12 @@ buildGceClusterConfig() {
|
| buildCounterGceClusterConfig++;
|
| if (buildCounterGceClusterConfig < 3) {
|
| o.internalIpOnly = true;
|
| - o.metadata = buildUnnamed514();
|
| + o.metadata = buildUnnamed520();
|
| o.networkUri = "foo";
|
| o.serviceAccount = "foo";
|
| - o.serviceAccountScopes = buildUnnamed515();
|
| + o.serviceAccountScopes = buildUnnamed521();
|
| o.subnetworkUri = "foo";
|
| - o.tags = buildUnnamed516();
|
| + o.tags = buildUnnamed522();
|
| o.zoneUri = "foo";
|
| }
|
| buildCounterGceClusterConfig--;
|
| @@ -496,77 +496,77 @@ checkGceClusterConfig(api.GceClusterConfig o) {
|
| buildCounterGceClusterConfig++;
|
| if (buildCounterGceClusterConfig < 3) {
|
| unittest.expect(o.internalIpOnly, unittest.isTrue);
|
| - checkUnnamed514(o.metadata);
|
| + checkUnnamed520(o.metadata);
|
| unittest.expect(o.networkUri, unittest.equals('foo'));
|
| unittest.expect(o.serviceAccount, unittest.equals('foo'));
|
| - checkUnnamed515(o.serviceAccountScopes);
|
| + checkUnnamed521(o.serviceAccountScopes);
|
| unittest.expect(o.subnetworkUri, unittest.equals('foo'));
|
| - checkUnnamed516(o.tags);
|
| + checkUnnamed522(o.tags);
|
| unittest.expect(o.zoneUri, unittest.equals('foo'));
|
| }
|
| buildCounterGceClusterConfig--;
|
| }
|
|
|
| -buildUnnamed517() {
|
| +buildUnnamed523() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed517(core.List<core.String> o) {
|
| +checkUnnamed523(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'));
|
| }
|
|
|
| -buildUnnamed518() {
|
| +buildUnnamed524() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed518(core.List<core.String> o) {
|
| +checkUnnamed524(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'));
|
| }
|
|
|
| -buildUnnamed519() {
|
| +buildUnnamed525() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed519(core.List<core.String> o) {
|
| +checkUnnamed525(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'));
|
| }
|
|
|
| -buildUnnamed520() {
|
| +buildUnnamed526() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed520(core.List<core.String> o) {
|
| +checkUnnamed526(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'));
|
| }
|
|
|
| -buildUnnamed521() {
|
| +buildUnnamed527() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed521(core.Map<core.String, core.String> o) {
|
| +checkUnnamed527(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'));
|
| @@ -577,14 +577,14 @@ buildHadoopJob() {
|
| var o = new api.HadoopJob();
|
| buildCounterHadoopJob++;
|
| if (buildCounterHadoopJob < 3) {
|
| - o.archiveUris = buildUnnamed517();
|
| - o.args = buildUnnamed518();
|
| - o.fileUris = buildUnnamed519();
|
| - o.jarFileUris = buildUnnamed520();
|
| + o.archiveUris = buildUnnamed523();
|
| + o.args = buildUnnamed524();
|
| + o.fileUris = buildUnnamed525();
|
| + o.jarFileUris = buildUnnamed526();
|
| o.loggingConfig = buildLoggingConfig();
|
| o.mainClass = "foo";
|
| o.mainJarFileUri = "foo";
|
| - o.properties = buildUnnamed521();
|
| + o.properties = buildUnnamed527();
|
| }
|
| buildCounterHadoopJob--;
|
| return o;
|
| @@ -593,52 +593,52 @@ buildHadoopJob() {
|
| checkHadoopJob(api.HadoopJob o) {
|
| buildCounterHadoopJob++;
|
| if (buildCounterHadoopJob < 3) {
|
| - checkUnnamed517(o.archiveUris);
|
| - checkUnnamed518(o.args);
|
| - checkUnnamed519(o.fileUris);
|
| - checkUnnamed520(o.jarFileUris);
|
| + checkUnnamed523(o.archiveUris);
|
| + checkUnnamed524(o.args);
|
| + checkUnnamed525(o.fileUris);
|
| + checkUnnamed526(o.jarFileUris);
|
| checkLoggingConfig(o.loggingConfig);
|
| unittest.expect(o.mainClass, unittest.equals('foo'));
|
| unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
|
| - checkUnnamed521(o.properties);
|
| + checkUnnamed527(o.properties);
|
| }
|
| buildCounterHadoopJob--;
|
| }
|
|
|
| -buildUnnamed522() {
|
| +buildUnnamed528() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed522(core.List<core.String> o) {
|
| +checkUnnamed528(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'));
|
| }
|
|
|
| -buildUnnamed523() {
|
| +buildUnnamed529() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed523(core.Map<core.String, core.String> o) {
|
| +checkUnnamed529(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'));
|
| }
|
|
|
| -buildUnnamed524() {
|
| +buildUnnamed530() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed524(core.Map<core.String, core.String> o) {
|
| +checkUnnamed530(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'));
|
| @@ -650,11 +650,11 @@ buildHiveJob() {
|
| buildCounterHiveJob++;
|
| if (buildCounterHiveJob < 3) {
|
| o.continueOnFailure = true;
|
| - o.jarFileUris = buildUnnamed522();
|
| - o.properties = buildUnnamed523();
|
| + o.jarFileUris = buildUnnamed528();
|
| + o.properties = buildUnnamed529();
|
| o.queryFileUri = "foo";
|
| o.queryList = buildQueryList();
|
| - o.scriptVariables = buildUnnamed524();
|
| + o.scriptVariables = buildUnnamed530();
|
| }
|
| buildCounterHiveJob--;
|
| return o;
|
| @@ -664,36 +664,36 @@ checkHiveJob(api.HiveJob o) {
|
| buildCounterHiveJob++;
|
| if (buildCounterHiveJob < 3) {
|
| unittest.expect(o.continueOnFailure, unittest.isTrue);
|
| - checkUnnamed522(o.jarFileUris);
|
| - checkUnnamed523(o.properties);
|
| + checkUnnamed528(o.jarFileUris);
|
| + checkUnnamed529(o.properties);
|
| unittest.expect(o.queryFileUri, unittest.equals('foo'));
|
| checkQueryList(o.queryList);
|
| - checkUnnamed524(o.scriptVariables);
|
| + checkUnnamed530(o.scriptVariables);
|
| }
|
| buildCounterHiveJob--;
|
| }
|
|
|
| -buildUnnamed525() {
|
| +buildUnnamed531() {
|
| var o = new core.List<api.AcceleratorConfig>();
|
| o.add(buildAcceleratorConfig());
|
| o.add(buildAcceleratorConfig());
|
| return o;
|
| }
|
|
|
| -checkUnnamed525(core.List<api.AcceleratorConfig> o) {
|
| +checkUnnamed531(core.List<api.AcceleratorConfig> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAcceleratorConfig(o[0]);
|
| checkAcceleratorConfig(o[1]);
|
| }
|
|
|
| -buildUnnamed526() {
|
| +buildUnnamed532() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed526(core.List<core.String> o) {
|
| +checkUnnamed532(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'));
|
| @@ -704,10 +704,10 @@ buildInstanceGroupConfig() {
|
| var o = new api.InstanceGroupConfig();
|
| buildCounterInstanceGroupConfig++;
|
| if (buildCounterInstanceGroupConfig < 3) {
|
| - o.accelerators = buildUnnamed525();
|
| + o.accelerators = buildUnnamed531();
|
| o.diskConfig = buildDiskConfig();
|
| o.imageUri = "foo";
|
| - o.instanceNames = buildUnnamed526();
|
| + o.instanceNames = buildUnnamed532();
|
| o.isPreemptible = true;
|
| o.machineTypeUri = "foo";
|
| o.managedGroupConfig = buildManagedGroupConfig();
|
| @@ -720,10 +720,10 @@ buildInstanceGroupConfig() {
|
| checkInstanceGroupConfig(api.InstanceGroupConfig o) {
|
| buildCounterInstanceGroupConfig++;
|
| if (buildCounterInstanceGroupConfig < 3) {
|
| - checkUnnamed525(o.accelerators);
|
| + checkUnnamed531(o.accelerators);
|
| checkDiskConfig(o.diskConfig);
|
| unittest.expect(o.imageUri, unittest.equals('foo'));
|
| - checkUnnamed526(o.instanceNames);
|
| + checkUnnamed532(o.instanceNames);
|
| unittest.expect(o.isPreemptible, unittest.isTrue);
|
| unittest.expect(o.machineTypeUri, unittest.equals('foo'));
|
| checkManagedGroupConfig(o.managedGroupConfig);
|
| @@ -732,40 +732,40 @@ checkInstanceGroupConfig(api.InstanceGroupConfig o) {
|
| buildCounterInstanceGroupConfig--;
|
| }
|
|
|
| -buildUnnamed527() {
|
| +buildUnnamed533() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed527(core.Map<core.String, core.String> o) {
|
| +checkUnnamed533(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'));
|
| }
|
|
|
| -buildUnnamed528() {
|
| +buildUnnamed534() {
|
| var o = new core.List<api.JobStatus>();
|
| o.add(buildJobStatus());
|
| o.add(buildJobStatus());
|
| return o;
|
| }
|
|
|
| -checkUnnamed528(core.List<api.JobStatus> o) {
|
| +checkUnnamed534(core.List<api.JobStatus> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkJobStatus(o[0]);
|
| checkJobStatus(o[1]);
|
| }
|
|
|
| -buildUnnamed529() {
|
| +buildUnnamed535() {
|
| var o = new core.List<api.YarnApplication>();
|
| o.add(buildYarnApplication());
|
| o.add(buildYarnApplication());
|
| return o;
|
| }
|
|
|
| -checkUnnamed529(core.List<api.YarnApplication> o) {
|
| +checkUnnamed535(core.List<api.YarnApplication> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkYarnApplication(o[0]);
|
| checkYarnApplication(o[1]);
|
| @@ -780,7 +780,7 @@ buildJob() {
|
| o.driverOutputResourceUri = "foo";
|
| o.hadoopJob = buildHadoopJob();
|
| o.hiveJob = buildHiveJob();
|
| - o.labels = buildUnnamed527();
|
| + o.labels = buildUnnamed533();
|
| o.pigJob = buildPigJob();
|
| o.placement = buildJobPlacement();
|
| o.pysparkJob = buildPySparkJob();
|
| @@ -789,8 +789,8 @@ buildJob() {
|
| o.sparkJob = buildSparkJob();
|
| o.sparkSqlJob = buildSparkSqlJob();
|
| o.status = buildJobStatus();
|
| - o.statusHistory = buildUnnamed528();
|
| - o.yarnApplications = buildUnnamed529();
|
| + o.statusHistory = buildUnnamed534();
|
| + o.yarnApplications = buildUnnamed535();
|
| }
|
| buildCounterJob--;
|
| return o;
|
| @@ -803,7 +803,7 @@ checkJob(api.Job o) {
|
| unittest.expect(o.driverOutputResourceUri, unittest.equals('foo'));
|
| checkHadoopJob(o.hadoopJob);
|
| checkHiveJob(o.hiveJob);
|
| - checkUnnamed527(o.labels);
|
| + checkUnnamed533(o.labels);
|
| checkPigJob(o.pigJob);
|
| checkJobPlacement(o.placement);
|
| checkPySparkJob(o.pysparkJob);
|
| @@ -812,8 +812,8 @@ checkJob(api.Job o) {
|
| checkSparkJob(o.sparkJob);
|
| checkSparkSqlJob(o.sparkSqlJob);
|
| checkJobStatus(o.status);
|
| - checkUnnamed528(o.statusHistory);
|
| - checkUnnamed529(o.yarnApplications);
|
| + checkUnnamed534(o.statusHistory);
|
| + checkUnnamed535(o.yarnApplications);
|
| }
|
| buildCounterJob--;
|
| }
|
| @@ -904,14 +904,14 @@ checkJobStatus(api.JobStatus o) {
|
| buildCounterJobStatus--;
|
| }
|
|
|
| -buildUnnamed530() {
|
| +buildUnnamed536() {
|
| var o = new core.List<api.Cluster>();
|
| o.add(buildCluster());
|
| o.add(buildCluster());
|
| return o;
|
| }
|
|
|
| -checkUnnamed530(core.List<api.Cluster> o) {
|
| +checkUnnamed536(core.List<api.Cluster> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCluster(o[0]);
|
| checkCluster(o[1]);
|
| @@ -922,7 +922,7 @@ buildListClustersResponse() {
|
| var o = new api.ListClustersResponse();
|
| buildCounterListClustersResponse++;
|
| if (buildCounterListClustersResponse < 3) {
|
| - o.clusters = buildUnnamed530();
|
| + o.clusters = buildUnnamed536();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListClustersResponse--;
|
| @@ -932,20 +932,20 @@ buildListClustersResponse() {
|
| checkListClustersResponse(api.ListClustersResponse o) {
|
| buildCounterListClustersResponse++;
|
| if (buildCounterListClustersResponse < 3) {
|
| - checkUnnamed530(o.clusters);
|
| + checkUnnamed536(o.clusters);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListClustersResponse--;
|
| }
|
|
|
| -buildUnnamed531() {
|
| +buildUnnamed537() {
|
| var o = new core.List<api.Job>();
|
| o.add(buildJob());
|
| o.add(buildJob());
|
| return o;
|
| }
|
|
|
| -checkUnnamed531(core.List<api.Job> o) {
|
| +checkUnnamed537(core.List<api.Job> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkJob(o[0]);
|
| checkJob(o[1]);
|
| @@ -956,7 +956,7 @@ buildListJobsResponse() {
|
| var o = new api.ListJobsResponse();
|
| buildCounterListJobsResponse++;
|
| if (buildCounterListJobsResponse < 3) {
|
| - o.jobs = buildUnnamed531();
|
| + o.jobs = buildUnnamed537();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListJobsResponse--;
|
| @@ -966,20 +966,20 @@ buildListJobsResponse() {
|
| checkListJobsResponse(api.ListJobsResponse o) {
|
| buildCounterListJobsResponse++;
|
| if (buildCounterListJobsResponse < 3) {
|
| - checkUnnamed531(o.jobs);
|
| + checkUnnamed537(o.jobs);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListJobsResponse--;
|
| }
|
|
|
| -buildUnnamed532() {
|
| +buildUnnamed538() {
|
| var o = new core.List<api.Operation>();
|
| o.add(buildOperation());
|
| o.add(buildOperation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed532(core.List<api.Operation> o) {
|
| +checkUnnamed538(core.List<api.Operation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperation(o[0]);
|
| checkOperation(o[1]);
|
| @@ -991,7 +991,7 @@ buildListOperationsResponse() {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.operations = buildUnnamed532();
|
| + o.operations = buildUnnamed538();
|
| }
|
| buildCounterListOperationsResponse--;
|
| return o;
|
| @@ -1001,19 +1001,19 @@ checkListOperationsResponse(api.ListOperationsResponse o) {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed532(o.operations);
|
| + checkUnnamed538(o.operations);
|
| }
|
| buildCounterListOperationsResponse--;
|
| }
|
|
|
| -buildUnnamed533() {
|
| +buildUnnamed539() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed533(core.Map<core.String, core.String> o) {
|
| +checkUnnamed539(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'));
|
| @@ -1024,7 +1024,7 @@ buildLoggingConfig() {
|
| var o = new api.LoggingConfig();
|
| buildCounterLoggingConfig++;
|
| if (buildCounterLoggingConfig < 3) {
|
| - o.driverLogLevels = buildUnnamed533();
|
| + o.driverLogLevels = buildUnnamed539();
|
| }
|
| buildCounterLoggingConfig--;
|
| return o;
|
| @@ -1033,7 +1033,7 @@ buildLoggingConfig() {
|
| checkLoggingConfig(api.LoggingConfig o) {
|
| buildCounterLoggingConfig++;
|
| if (buildCounterLoggingConfig < 3) {
|
| - checkUnnamed533(o.driverLogLevels);
|
| + checkUnnamed539(o.driverLogLevels);
|
| }
|
| buildCounterLoggingConfig--;
|
| }
|
| @@ -1080,27 +1080,27 @@ checkNodeInitializationAction(api.NodeInitializationAction o) {
|
| buildCounterNodeInitializationAction--;
|
| }
|
|
|
| -buildUnnamed534() {
|
| +buildUnnamed540() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed534(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed540(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'));
|
| }
|
|
|
| -buildUnnamed535() {
|
| +buildUnnamed541() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed535(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed541(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'));
|
| @@ -1113,9 +1113,9 @@ buildOperation() {
|
| if (buildCounterOperation < 3) {
|
| o.done = true;
|
| o.error = buildStatus();
|
| - o.metadata = buildUnnamed534();
|
| + o.metadata = buildUnnamed540();
|
| o.name = "foo";
|
| - o.response = buildUnnamed535();
|
| + o.response = buildUnnamed541();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -1126,47 +1126,47 @@ checkOperation(api.Operation o) {
|
| if (buildCounterOperation < 3) {
|
| unittest.expect(o.done, unittest.isTrue);
|
| checkStatus(o.error);
|
| - checkUnnamed534(o.metadata);
|
| + checkUnnamed540(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed535(o.response);
|
| + checkUnnamed541(o.response);
|
| }
|
| buildCounterOperation--;
|
| }
|
|
|
| -buildUnnamed536() {
|
| +buildUnnamed542() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed536(core.List<core.String> o) {
|
| +checkUnnamed542(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'));
|
| }
|
|
|
| -buildUnnamed537() {
|
| +buildUnnamed543() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed537(core.Map<core.String, core.String> o) {
|
| +checkUnnamed543(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'));
|
| }
|
|
|
| -buildUnnamed538() {
|
| +buildUnnamed544() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed538(core.Map<core.String, core.String> o) {
|
| +checkUnnamed544(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'));
|
| @@ -1178,12 +1178,12 @@ buildPigJob() {
|
| buildCounterPigJob++;
|
| if (buildCounterPigJob < 3) {
|
| o.continueOnFailure = true;
|
| - o.jarFileUris = buildUnnamed536();
|
| + o.jarFileUris = buildUnnamed542();
|
| o.loggingConfig = buildLoggingConfig();
|
| - o.properties = buildUnnamed537();
|
| + o.properties = buildUnnamed543();
|
| o.queryFileUri = "foo";
|
| o.queryList = buildQueryList();
|
| - o.scriptVariables = buildUnnamed538();
|
| + o.scriptVariables = buildUnnamed544();
|
| }
|
| buildCounterPigJob--;
|
| return o;
|
| @@ -1193,89 +1193,89 @@ checkPigJob(api.PigJob o) {
|
| buildCounterPigJob++;
|
| if (buildCounterPigJob < 3) {
|
| unittest.expect(o.continueOnFailure, unittest.isTrue);
|
| - checkUnnamed536(o.jarFileUris);
|
| + checkUnnamed542(o.jarFileUris);
|
| checkLoggingConfig(o.loggingConfig);
|
| - checkUnnamed537(o.properties);
|
| + checkUnnamed543(o.properties);
|
| unittest.expect(o.queryFileUri, unittest.equals('foo'));
|
| checkQueryList(o.queryList);
|
| - checkUnnamed538(o.scriptVariables);
|
| + checkUnnamed544(o.scriptVariables);
|
| }
|
| buildCounterPigJob--;
|
| }
|
|
|
| -buildUnnamed539() {
|
| +buildUnnamed545() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed539(core.List<core.String> o) {
|
| +checkUnnamed545(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'));
|
| }
|
|
|
| -buildUnnamed540() {
|
| +buildUnnamed546() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed540(core.List<core.String> o) {
|
| +checkUnnamed546(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'));
|
| }
|
|
|
| -buildUnnamed541() {
|
| +buildUnnamed547() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed541(core.List<core.String> o) {
|
| +checkUnnamed547(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'));
|
| }
|
|
|
| -buildUnnamed542() {
|
| +buildUnnamed548() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed542(core.List<core.String> o) {
|
| +checkUnnamed548(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'));
|
| }
|
|
|
| -buildUnnamed543() {
|
| +buildUnnamed549() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed543(core.Map<core.String, core.String> o) {
|
| +checkUnnamed549(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'));
|
| }
|
|
|
| -buildUnnamed544() {
|
| +buildUnnamed550() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed544(core.List<core.String> o) {
|
| +checkUnnamed550(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'));
|
| @@ -1286,14 +1286,14 @@ buildPySparkJob() {
|
| var o = new api.PySparkJob();
|
| buildCounterPySparkJob++;
|
| if (buildCounterPySparkJob < 3) {
|
| - o.archiveUris = buildUnnamed539();
|
| - o.args = buildUnnamed540();
|
| - o.fileUris = buildUnnamed541();
|
| - o.jarFileUris = buildUnnamed542();
|
| + o.archiveUris = buildUnnamed545();
|
| + o.args = buildUnnamed546();
|
| + o.fileUris = buildUnnamed547();
|
| + o.jarFileUris = buildUnnamed548();
|
| o.loggingConfig = buildLoggingConfig();
|
| o.mainPythonFileUri = "foo";
|
| - o.properties = buildUnnamed543();
|
| - o.pythonFileUris = buildUnnamed544();
|
| + o.properties = buildUnnamed549();
|
| + o.pythonFileUris = buildUnnamed550();
|
| }
|
| buildCounterPySparkJob--;
|
| return o;
|
| @@ -1302,26 +1302,26 @@ buildPySparkJob() {
|
| checkPySparkJob(api.PySparkJob o) {
|
| buildCounterPySparkJob++;
|
| if (buildCounterPySparkJob < 3) {
|
| - checkUnnamed539(o.archiveUris);
|
| - checkUnnamed540(o.args);
|
| - checkUnnamed541(o.fileUris);
|
| - checkUnnamed542(o.jarFileUris);
|
| + checkUnnamed545(o.archiveUris);
|
| + checkUnnamed546(o.args);
|
| + checkUnnamed547(o.fileUris);
|
| + checkUnnamed548(o.jarFileUris);
|
| checkLoggingConfig(o.loggingConfig);
|
| unittest.expect(o.mainPythonFileUri, unittest.equals('foo'));
|
| - checkUnnamed543(o.properties);
|
| - checkUnnamed544(o.pythonFileUris);
|
| + checkUnnamed549(o.properties);
|
| + checkUnnamed550(o.pythonFileUris);
|
| }
|
| buildCounterPySparkJob--;
|
| }
|
|
|
| -buildUnnamed545() {
|
| +buildUnnamed551() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed545(core.List<core.String> o) {
|
| +checkUnnamed551(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'));
|
| @@ -1332,7 +1332,7 @@ buildQueryList() {
|
| var o = new api.QueryList();
|
| buildCounterQueryList++;
|
| if (buildCounterQueryList < 3) {
|
| - o.queries = buildUnnamed545();
|
| + o.queries = buildUnnamed551();
|
| }
|
| buildCounterQueryList--;
|
| return o;
|
| @@ -1341,19 +1341,19 @@ buildQueryList() {
|
| checkQueryList(api.QueryList o) {
|
| buildCounterQueryList++;
|
| if (buildCounterQueryList < 3) {
|
| - checkUnnamed545(o.queries);
|
| + checkUnnamed551(o.queries);
|
| }
|
| buildCounterQueryList--;
|
| }
|
|
|
| -buildUnnamed546() {
|
| +buildUnnamed552() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed546(core.Map<core.String, core.String> o) {
|
| +checkUnnamed552(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'));
|
| @@ -1365,7 +1365,7 @@ buildSoftwareConfig() {
|
| buildCounterSoftwareConfig++;
|
| if (buildCounterSoftwareConfig < 3) {
|
| o.imageVersion = "foo";
|
| - o.properties = buildUnnamed546();
|
| + o.properties = buildUnnamed552();
|
| }
|
| buildCounterSoftwareConfig--;
|
| return o;
|
| @@ -1375,71 +1375,71 @@ checkSoftwareConfig(api.SoftwareConfig o) {
|
| buildCounterSoftwareConfig++;
|
| if (buildCounterSoftwareConfig < 3) {
|
| unittest.expect(o.imageVersion, unittest.equals('foo'));
|
| - checkUnnamed546(o.properties);
|
| + checkUnnamed552(o.properties);
|
| }
|
| buildCounterSoftwareConfig--;
|
| }
|
|
|
| -buildUnnamed547() {
|
| +buildUnnamed553() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed547(core.List<core.String> o) {
|
| +checkUnnamed553(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'));
|
| }
|
|
|
| -buildUnnamed548() {
|
| +buildUnnamed554() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed548(core.List<core.String> o) {
|
| +checkUnnamed554(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'));
|
| }
|
|
|
| -buildUnnamed549() {
|
| +buildUnnamed555() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed549(core.List<core.String> o) {
|
| +checkUnnamed555(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'));
|
| }
|
|
|
| -buildUnnamed550() {
|
| +buildUnnamed556() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed550(core.List<core.String> o) {
|
| +checkUnnamed556(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'));
|
| }
|
|
|
| -buildUnnamed551() {
|
| +buildUnnamed557() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed551(core.Map<core.String, core.String> o) {
|
| +checkUnnamed557(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'));
|
| @@ -1450,14 +1450,14 @@ buildSparkJob() {
|
| var o = new api.SparkJob();
|
| buildCounterSparkJob++;
|
| if (buildCounterSparkJob < 3) {
|
| - o.archiveUris = buildUnnamed547();
|
| - o.args = buildUnnamed548();
|
| - o.fileUris = buildUnnamed549();
|
| - o.jarFileUris = buildUnnamed550();
|
| + o.archiveUris = buildUnnamed553();
|
| + o.args = buildUnnamed554();
|
| + o.fileUris = buildUnnamed555();
|
| + o.jarFileUris = buildUnnamed556();
|
| o.loggingConfig = buildLoggingConfig();
|
| o.mainClass = "foo";
|
| o.mainJarFileUri = "foo";
|
| - o.properties = buildUnnamed551();
|
| + o.properties = buildUnnamed557();
|
| }
|
| buildCounterSparkJob--;
|
| return o;
|
| @@ -1466,52 +1466,52 @@ buildSparkJob() {
|
| checkSparkJob(api.SparkJob o) {
|
| buildCounterSparkJob++;
|
| if (buildCounterSparkJob < 3) {
|
| - checkUnnamed547(o.archiveUris);
|
| - checkUnnamed548(o.args);
|
| - checkUnnamed549(o.fileUris);
|
| - checkUnnamed550(o.jarFileUris);
|
| + checkUnnamed553(o.archiveUris);
|
| + checkUnnamed554(o.args);
|
| + checkUnnamed555(o.fileUris);
|
| + checkUnnamed556(o.jarFileUris);
|
| checkLoggingConfig(o.loggingConfig);
|
| unittest.expect(o.mainClass, unittest.equals('foo'));
|
| unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
|
| - checkUnnamed551(o.properties);
|
| + checkUnnamed557(o.properties);
|
| }
|
| buildCounterSparkJob--;
|
| }
|
|
|
| -buildUnnamed552() {
|
| +buildUnnamed558() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed552(core.List<core.String> o) {
|
| +checkUnnamed558(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'));
|
| }
|
|
|
| -buildUnnamed553() {
|
| +buildUnnamed559() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed553(core.Map<core.String, core.String> o) {
|
| +checkUnnamed559(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'));
|
| }
|
|
|
| -buildUnnamed554() {
|
| +buildUnnamed560() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed554(core.Map<core.String, core.String> o) {
|
| +checkUnnamed560(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'));
|
| @@ -1522,12 +1522,12 @@ buildSparkSqlJob() {
|
| var o = new api.SparkSqlJob();
|
| buildCounterSparkSqlJob++;
|
| if (buildCounterSparkSqlJob < 3) {
|
| - o.jarFileUris = buildUnnamed552();
|
| + o.jarFileUris = buildUnnamed558();
|
| o.loggingConfig = buildLoggingConfig();
|
| - o.properties = buildUnnamed553();
|
| + o.properties = buildUnnamed559();
|
| o.queryFileUri = "foo";
|
| o.queryList = buildQueryList();
|
| - o.scriptVariables = buildUnnamed554();
|
| + o.scriptVariables = buildUnnamed560();
|
| }
|
| buildCounterSparkSqlJob--;
|
| return o;
|
| @@ -1536,40 +1536,40 @@ buildSparkSqlJob() {
|
| checkSparkSqlJob(api.SparkSqlJob o) {
|
| buildCounterSparkSqlJob++;
|
| if (buildCounterSparkSqlJob < 3) {
|
| - checkUnnamed552(o.jarFileUris);
|
| + checkUnnamed558(o.jarFileUris);
|
| checkLoggingConfig(o.loggingConfig);
|
| - checkUnnamed553(o.properties);
|
| + checkUnnamed559(o.properties);
|
| unittest.expect(o.queryFileUri, unittest.equals('foo'));
|
| checkQueryList(o.queryList);
|
| - checkUnnamed554(o.scriptVariables);
|
| + checkUnnamed560(o.scriptVariables);
|
| }
|
| buildCounterSparkSqlJob--;
|
| }
|
|
|
| -buildUnnamed555() {
|
| +buildUnnamed561() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed555(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed561(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'));
|
| }
|
|
|
| -buildUnnamed556() {
|
| +buildUnnamed562() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed555());
|
| - o.add(buildUnnamed555());
|
| + o.add(buildUnnamed561());
|
| + o.add(buildUnnamed561());
|
| return o;
|
| }
|
|
|
| -checkUnnamed556(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed562(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed555(o[0]);
|
| - checkUnnamed555(o[1]);
|
| + checkUnnamed561(o[0]);
|
| + checkUnnamed561(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -1578,7 +1578,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed556();
|
| + o.details = buildUnnamed562();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -1589,7 +1589,7 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed556(o.details);
|
| + checkUnnamed562(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
| @@ -2241,9 +2241,9 @@ main() {
|
| api.ProjectsRegionsClustersResourceApi res = new api.DataprocApi(mock).projects.regions.clusters;
|
| var arg_projectId = "foo";
|
| var arg_region = "foo";
|
| - var arg_pageToken = "foo";
|
| var arg_pageSize = 42;
|
| var arg_filter = "foo";
|
| + var arg_pageToken = "foo";
|
| mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -2284,9 +2284,9 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
|
| unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
|
| + unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
|
|
|
|
| var h = {
|
| @@ -2295,7 +2295,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListClustersResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_projectId, arg_region, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListClustersResponse response) {
|
| + res.list(arg_projectId, arg_region, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListClustersResponse response) {
|
| checkListClustersResponse(response);
|
| })));
|
| });
|
| @@ -2576,11 +2576,11 @@ main() {
|
| api.ProjectsRegionsJobsResourceApi res = new api.DataprocApi(mock).projects.regions.jobs;
|
| var arg_projectId = "foo";
|
| var arg_region = "foo";
|
| - var arg_pageSize = 42;
|
| - var arg_clusterName = "foo";
|
| var arg_filter = "foo";
|
| var arg_jobStateMatcher = "foo";
|
| var arg_pageToken = "foo";
|
| + var arg_pageSize = 42;
|
| + var arg_clusterName = "foo";
|
| mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -2621,11 +2621,11 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
|
| - unittest.expect(queryMap["clusterName"].first, unittest.equals(arg_clusterName));
|
| unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
|
| unittest.expect(queryMap["jobStateMatcher"].first, unittest.equals(arg_jobStateMatcher));
|
| unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| + unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
|
| + unittest.expect(queryMap["clusterName"].first, unittest.equals(arg_clusterName));
|
|
|
|
|
| var h = {
|
| @@ -2634,7 +2634,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListJobsResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_projectId, arg_region, pageSize: arg_pageSize, clusterName: arg_clusterName, filter: arg_filter, jobStateMatcher: arg_jobStateMatcher, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListJobsResponse response) {
|
| + res.list(arg_projectId, arg_region, filter: arg_filter, jobStateMatcher: arg_jobStateMatcher, pageToken: arg_pageToken, pageSize: arg_pageSize, clusterName: arg_clusterName).then(unittest.expectAsync1(((api.ListJobsResponse response) {
|
| checkListJobsResponse(response);
|
| })));
|
| });
|
|
|