| 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 611607ce51f060ac73fc313d93ee825a8417817f..dd7150ecdf5b3ef42338c3a954127ba74b1792f4 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--;
|
| }
|
|
|
| -buildUnnamed456() {
|
| +buildUnnamed531() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed456(core.Map<core.String, core.String> o) {
|
| +checkUnnamed531(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'));
|
| }
|
|
|
| -buildUnnamed457() {
|
| +buildUnnamed532() {
|
| var o = new core.List<api.ClusterStatus>();
|
| o.add(buildClusterStatus());
|
| o.add(buildClusterStatus());
|
| return o;
|
| }
|
|
|
| -checkUnnamed457(core.List<api.ClusterStatus> o) {
|
| +checkUnnamed532(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 = buildUnnamed456();
|
| + o.labels = buildUnnamed531();
|
| o.metrics = buildClusterMetrics();
|
| o.projectId = "foo";
|
| o.status = buildClusterStatus();
|
| - o.statusHistory = buildUnnamed457();
|
| + o.statusHistory = buildUnnamed532();
|
| }
|
| 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);
|
| - checkUnnamed456(o.labels);
|
| + checkUnnamed531(o.labels);
|
| checkClusterMetrics(o.metrics);
|
| unittest.expect(o.projectId, unittest.equals('foo'));
|
| checkClusterStatus(o.status);
|
| - checkUnnamed457(o.statusHistory);
|
| + checkUnnamed532(o.statusHistory);
|
| }
|
| buildCounterCluster--;
|
| }
|
|
|
| -buildUnnamed458() {
|
| +buildUnnamed533() {
|
| var o = new core.List<api.NodeInitializationAction>();
|
| o.add(buildNodeInitializationAction());
|
| o.add(buildNodeInitializationAction());
|
| return o;
|
| }
|
|
|
| -checkUnnamed458(core.List<api.NodeInitializationAction> o) {
|
| +checkUnnamed533(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 = buildUnnamed458();
|
| + o.initializationActions = buildUnnamed533();
|
| 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);
|
| - checkUnnamed458(o.initializationActions);
|
| + checkUnnamed533(o.initializationActions);
|
| checkInstanceGroupConfig(o.masterConfig);
|
| checkInstanceGroupConfig(o.secondaryWorkerConfig);
|
| checkSoftwareConfig(o.softwareConfig);
|
| @@ -192,27 +192,27 @@ checkClusterConfig(api.ClusterConfig o) {
|
| buildCounterClusterConfig--;
|
| }
|
|
|
| -buildUnnamed459() {
|
| +buildUnnamed534() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed459(core.Map<core.String, core.String> o) {
|
| +checkUnnamed534(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'));
|
| }
|
|
|
| -buildUnnamed460() {
|
| +buildUnnamed535() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed460(core.Map<core.String, core.String> o) {
|
| +checkUnnamed535(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 = buildUnnamed459();
|
| - o.yarnMetrics = buildUnnamed460();
|
| + o.hdfsMetrics = buildUnnamed534();
|
| + o.yarnMetrics = buildUnnamed535();
|
| }
|
| buildCounterClusterMetrics--;
|
| return o;
|
| @@ -233,46 +233,46 @@ buildClusterMetrics() {
|
| checkClusterMetrics(api.ClusterMetrics o) {
|
| buildCounterClusterMetrics++;
|
| if (buildCounterClusterMetrics < 3) {
|
| - checkUnnamed459(o.hdfsMetrics);
|
| - checkUnnamed460(o.yarnMetrics);
|
| + checkUnnamed534(o.hdfsMetrics);
|
| + checkUnnamed535(o.yarnMetrics);
|
| }
|
| buildCounterClusterMetrics--;
|
| }
|
|
|
| -buildUnnamed461() {
|
| +buildUnnamed536() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed461(core.Map<core.String, core.String> o) {
|
| +checkUnnamed536(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'));
|
| }
|
|
|
| -buildUnnamed462() {
|
| +buildUnnamed537() {
|
| var o = new core.List<api.ClusterOperationStatus>();
|
| o.add(buildClusterOperationStatus());
|
| o.add(buildClusterOperationStatus());
|
| return o;
|
| }
|
|
|
| -checkUnnamed462(core.List<api.ClusterOperationStatus> o) {
|
| +checkUnnamed537(core.List<api.ClusterOperationStatus> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkClusterOperationStatus(o[0]);
|
| checkClusterOperationStatus(o[1]);
|
| }
|
|
|
| -buildUnnamed463() {
|
| +buildUnnamed538() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed463(core.List<core.String> o) {
|
| +checkUnnamed538(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 = buildUnnamed461();
|
| + o.labels = buildUnnamed536();
|
| o.operationType = "foo";
|
| o.status = buildClusterOperationStatus();
|
| - o.statusHistory = buildUnnamed462();
|
| - o.warnings = buildUnnamed463();
|
| + o.statusHistory = buildUnnamed537();
|
| + o.warnings = buildUnnamed538();
|
| }
|
| 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'));
|
| - checkUnnamed461(o.labels);
|
| + checkUnnamed536(o.labels);
|
| unittest.expect(o.operationType, unittest.equals('foo'));
|
| checkClusterOperationStatus(o.status);
|
| - checkUnnamed462(o.statusHistory);
|
| - checkUnnamed463(o.warnings);
|
| + checkUnnamed537(o.statusHistory);
|
| + checkUnnamed538(o.warnings);
|
| }
|
| buildCounterClusterOperationMetadata--;
|
| }
|
| @@ -435,40 +435,40 @@ checkEmpty(api.Empty o) {
|
| buildCounterEmpty--;
|
| }
|
|
|
| -buildUnnamed464() {
|
| +buildUnnamed539() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed464(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'));
|
| }
|
|
|
| -buildUnnamed465() {
|
| +buildUnnamed540() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed465(core.List<core.String> o) {
|
| +checkUnnamed540(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'));
|
| }
|
|
|
| -buildUnnamed466() {
|
| +buildUnnamed541() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed466(core.List<core.String> o) {
|
| +checkUnnamed541(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 = buildUnnamed464();
|
| + o.metadata = buildUnnamed539();
|
| o.networkUri = "foo";
|
| o.serviceAccount = "foo";
|
| - o.serviceAccountScopes = buildUnnamed465();
|
| + o.serviceAccountScopes = buildUnnamed540();
|
| o.subnetworkUri = "foo";
|
| - o.tags = buildUnnamed466();
|
| + o.tags = buildUnnamed541();
|
| o.zoneUri = "foo";
|
| }
|
| buildCounterGceClusterConfig--;
|
| @@ -496,77 +496,77 @@ checkGceClusterConfig(api.GceClusterConfig o) {
|
| buildCounterGceClusterConfig++;
|
| if (buildCounterGceClusterConfig < 3) {
|
| unittest.expect(o.internalIpOnly, unittest.isTrue);
|
| - checkUnnamed464(o.metadata);
|
| + checkUnnamed539(o.metadata);
|
| unittest.expect(o.networkUri, unittest.equals('foo'));
|
| unittest.expect(o.serviceAccount, unittest.equals('foo'));
|
| - checkUnnamed465(o.serviceAccountScopes);
|
| + checkUnnamed540(o.serviceAccountScopes);
|
| unittest.expect(o.subnetworkUri, unittest.equals('foo'));
|
| - checkUnnamed466(o.tags);
|
| + checkUnnamed541(o.tags);
|
| unittest.expect(o.zoneUri, unittest.equals('foo'));
|
| }
|
| buildCounterGceClusterConfig--;
|
| }
|
|
|
| -buildUnnamed467() {
|
| +buildUnnamed542() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed467(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'));
|
| }
|
|
|
| -buildUnnamed468() {
|
| +buildUnnamed543() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed468(core.List<core.String> o) {
|
| +checkUnnamed543(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'));
|
| }
|
|
|
| -buildUnnamed469() {
|
| +buildUnnamed544() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed469(core.List<core.String> o) {
|
| +checkUnnamed544(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'));
|
| }
|
|
|
| -buildUnnamed470() {
|
| +buildUnnamed545() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed470(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'));
|
| }
|
|
|
| -buildUnnamed471() {
|
| +buildUnnamed546() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed471(core.Map<core.String, core.String> o) {
|
| +checkUnnamed546(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 = buildUnnamed467();
|
| - o.args = buildUnnamed468();
|
| - o.fileUris = buildUnnamed469();
|
| - o.jarFileUris = buildUnnamed470();
|
| + o.archiveUris = buildUnnamed542();
|
| + o.args = buildUnnamed543();
|
| + o.fileUris = buildUnnamed544();
|
| + o.jarFileUris = buildUnnamed545();
|
| o.loggingConfig = buildLoggingConfig();
|
| o.mainClass = "foo";
|
| o.mainJarFileUri = "foo";
|
| - o.properties = buildUnnamed471();
|
| + o.properties = buildUnnamed546();
|
| }
|
| buildCounterHadoopJob--;
|
| return o;
|
| @@ -593,52 +593,52 @@ buildHadoopJob() {
|
| checkHadoopJob(api.HadoopJob o) {
|
| buildCounterHadoopJob++;
|
| if (buildCounterHadoopJob < 3) {
|
| - checkUnnamed467(o.archiveUris);
|
| - checkUnnamed468(o.args);
|
| - checkUnnamed469(o.fileUris);
|
| - checkUnnamed470(o.jarFileUris);
|
| + checkUnnamed542(o.archiveUris);
|
| + checkUnnamed543(o.args);
|
| + checkUnnamed544(o.fileUris);
|
| + checkUnnamed545(o.jarFileUris);
|
| checkLoggingConfig(o.loggingConfig);
|
| unittest.expect(o.mainClass, unittest.equals('foo'));
|
| unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
|
| - checkUnnamed471(o.properties);
|
| + checkUnnamed546(o.properties);
|
| }
|
| buildCounterHadoopJob--;
|
| }
|
|
|
| -buildUnnamed472() {
|
| +buildUnnamed547() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed472(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'));
|
| }
|
|
|
| -buildUnnamed473() {
|
| +buildUnnamed548() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed473(core.Map<core.String, core.String> o) {
|
| +checkUnnamed548(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'));
|
| }
|
|
|
| -buildUnnamed474() {
|
| +buildUnnamed549() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed474(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'));
|
| @@ -650,11 +650,11 @@ buildHiveJob() {
|
| buildCounterHiveJob++;
|
| if (buildCounterHiveJob < 3) {
|
| o.continueOnFailure = true;
|
| - o.jarFileUris = buildUnnamed472();
|
| - o.properties = buildUnnamed473();
|
| + o.jarFileUris = buildUnnamed547();
|
| + o.properties = buildUnnamed548();
|
| o.queryFileUri = "foo";
|
| o.queryList = buildQueryList();
|
| - o.scriptVariables = buildUnnamed474();
|
| + o.scriptVariables = buildUnnamed549();
|
| }
|
| buildCounterHiveJob--;
|
| return o;
|
| @@ -664,36 +664,36 @@ checkHiveJob(api.HiveJob o) {
|
| buildCounterHiveJob++;
|
| if (buildCounterHiveJob < 3) {
|
| unittest.expect(o.continueOnFailure, unittest.isTrue);
|
| - checkUnnamed472(o.jarFileUris);
|
| - checkUnnamed473(o.properties);
|
| + checkUnnamed547(o.jarFileUris);
|
| + checkUnnamed548(o.properties);
|
| unittest.expect(o.queryFileUri, unittest.equals('foo'));
|
| checkQueryList(o.queryList);
|
| - checkUnnamed474(o.scriptVariables);
|
| + checkUnnamed549(o.scriptVariables);
|
| }
|
| buildCounterHiveJob--;
|
| }
|
|
|
| -buildUnnamed475() {
|
| +buildUnnamed550() {
|
| var o = new core.List<api.AcceleratorConfig>();
|
| o.add(buildAcceleratorConfig());
|
| o.add(buildAcceleratorConfig());
|
| return o;
|
| }
|
|
|
| -checkUnnamed475(core.List<api.AcceleratorConfig> o) {
|
| +checkUnnamed550(core.List<api.AcceleratorConfig> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAcceleratorConfig(o[0]);
|
| checkAcceleratorConfig(o[1]);
|
| }
|
|
|
| -buildUnnamed476() {
|
| +buildUnnamed551() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed476(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'));
|
| @@ -704,10 +704,10 @@ buildInstanceGroupConfig() {
|
| var o = new api.InstanceGroupConfig();
|
| buildCounterInstanceGroupConfig++;
|
| if (buildCounterInstanceGroupConfig < 3) {
|
| - o.accelerators = buildUnnamed475();
|
| + o.accelerators = buildUnnamed550();
|
| o.diskConfig = buildDiskConfig();
|
| o.imageUri = "foo";
|
| - o.instanceNames = buildUnnamed476();
|
| + o.instanceNames = buildUnnamed551();
|
| o.isPreemptible = true;
|
| o.machineTypeUri = "foo";
|
| o.managedGroupConfig = buildManagedGroupConfig();
|
| @@ -720,10 +720,10 @@ buildInstanceGroupConfig() {
|
| checkInstanceGroupConfig(api.InstanceGroupConfig o) {
|
| buildCounterInstanceGroupConfig++;
|
| if (buildCounterInstanceGroupConfig < 3) {
|
| - checkUnnamed475(o.accelerators);
|
| + checkUnnamed550(o.accelerators);
|
| checkDiskConfig(o.diskConfig);
|
| unittest.expect(o.imageUri, unittest.equals('foo'));
|
| - checkUnnamed476(o.instanceNames);
|
| + checkUnnamed551(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--;
|
| }
|
|
|
| -buildUnnamed477() {
|
| +buildUnnamed552() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed477(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'));
|
| }
|
|
|
| -buildUnnamed478() {
|
| +buildUnnamed553() {
|
| var o = new core.List<api.JobStatus>();
|
| o.add(buildJobStatus());
|
| o.add(buildJobStatus());
|
| return o;
|
| }
|
|
|
| -checkUnnamed478(core.List<api.JobStatus> o) {
|
| +checkUnnamed553(core.List<api.JobStatus> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkJobStatus(o[0]);
|
| checkJobStatus(o[1]);
|
| }
|
|
|
| -buildUnnamed479() {
|
| +buildUnnamed554() {
|
| var o = new core.List<api.YarnApplication>();
|
| o.add(buildYarnApplication());
|
| o.add(buildYarnApplication());
|
| return o;
|
| }
|
|
|
| -checkUnnamed479(core.List<api.YarnApplication> o) {
|
| +checkUnnamed554(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 = buildUnnamed477();
|
| + o.labels = buildUnnamed552();
|
| 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 = buildUnnamed478();
|
| - o.yarnApplications = buildUnnamed479();
|
| + o.statusHistory = buildUnnamed553();
|
| + o.yarnApplications = buildUnnamed554();
|
| }
|
| buildCounterJob--;
|
| return o;
|
| @@ -803,7 +803,7 @@ checkJob(api.Job o) {
|
| unittest.expect(o.driverOutputResourceUri, unittest.equals('foo'));
|
| checkHadoopJob(o.hadoopJob);
|
| checkHiveJob(o.hiveJob);
|
| - checkUnnamed477(o.labels);
|
| + checkUnnamed552(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);
|
| - checkUnnamed478(o.statusHistory);
|
| - checkUnnamed479(o.yarnApplications);
|
| + checkUnnamed553(o.statusHistory);
|
| + checkUnnamed554(o.yarnApplications);
|
| }
|
| buildCounterJob--;
|
| }
|
| @@ -904,14 +904,14 @@ checkJobStatus(api.JobStatus o) {
|
| buildCounterJobStatus--;
|
| }
|
|
|
| -buildUnnamed480() {
|
| +buildUnnamed555() {
|
| var o = new core.List<api.Cluster>();
|
| o.add(buildCluster());
|
| o.add(buildCluster());
|
| return o;
|
| }
|
|
|
| -checkUnnamed480(core.List<api.Cluster> o) {
|
| +checkUnnamed555(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 = buildUnnamed480();
|
| + o.clusters = buildUnnamed555();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListClustersResponse--;
|
| @@ -932,20 +932,20 @@ buildListClustersResponse() {
|
| checkListClustersResponse(api.ListClustersResponse o) {
|
| buildCounterListClustersResponse++;
|
| if (buildCounterListClustersResponse < 3) {
|
| - checkUnnamed480(o.clusters);
|
| + checkUnnamed555(o.clusters);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListClustersResponse--;
|
| }
|
|
|
| -buildUnnamed481() {
|
| +buildUnnamed556() {
|
| var o = new core.List<api.Job>();
|
| o.add(buildJob());
|
| o.add(buildJob());
|
| return o;
|
| }
|
|
|
| -checkUnnamed481(core.List<api.Job> o) {
|
| +checkUnnamed556(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 = buildUnnamed481();
|
| + o.jobs = buildUnnamed556();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListJobsResponse--;
|
| @@ -966,20 +966,20 @@ buildListJobsResponse() {
|
| checkListJobsResponse(api.ListJobsResponse o) {
|
| buildCounterListJobsResponse++;
|
| if (buildCounterListJobsResponse < 3) {
|
| - checkUnnamed481(o.jobs);
|
| + checkUnnamed556(o.jobs);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListJobsResponse--;
|
| }
|
|
|
| -buildUnnamed482() {
|
| +buildUnnamed557() {
|
| var o = new core.List<api.Operation>();
|
| o.add(buildOperation());
|
| o.add(buildOperation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed482(core.List<api.Operation> o) {
|
| +checkUnnamed557(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 = buildUnnamed482();
|
| + o.operations = buildUnnamed557();
|
| }
|
| buildCounterListOperationsResponse--;
|
| return o;
|
| @@ -1001,19 +1001,19 @@ checkListOperationsResponse(api.ListOperationsResponse o) {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed482(o.operations);
|
| + checkUnnamed557(o.operations);
|
| }
|
| buildCounterListOperationsResponse--;
|
| }
|
|
|
| -buildUnnamed483() {
|
| +buildUnnamed558() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed483(core.Map<core.String, core.String> o) {
|
| +checkUnnamed558(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 = buildUnnamed483();
|
| + o.driverLogLevels = buildUnnamed558();
|
| }
|
| buildCounterLoggingConfig--;
|
| return o;
|
| @@ -1033,7 +1033,7 @@ buildLoggingConfig() {
|
| checkLoggingConfig(api.LoggingConfig o) {
|
| buildCounterLoggingConfig++;
|
| if (buildCounterLoggingConfig < 3) {
|
| - checkUnnamed483(o.driverLogLevels);
|
| + checkUnnamed558(o.driverLogLevels);
|
| }
|
| buildCounterLoggingConfig--;
|
| }
|
| @@ -1080,27 +1080,27 @@ checkNodeInitializationAction(api.NodeInitializationAction o) {
|
| buildCounterNodeInitializationAction--;
|
| }
|
|
|
| -buildUnnamed484() {
|
| +buildUnnamed559() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed484(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed559(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'));
|
| }
|
|
|
| -buildUnnamed485() {
|
| +buildUnnamed560() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed485(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed560(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 = buildUnnamed484();
|
| + o.metadata = buildUnnamed559();
|
| o.name = "foo";
|
| - o.response = buildUnnamed485();
|
| + o.response = buildUnnamed560();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -1126,47 +1126,47 @@ checkOperation(api.Operation o) {
|
| if (buildCounterOperation < 3) {
|
| unittest.expect(o.done, unittest.isTrue);
|
| checkStatus(o.error);
|
| - checkUnnamed484(o.metadata);
|
| + checkUnnamed559(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed485(o.response);
|
| + checkUnnamed560(o.response);
|
| }
|
| buildCounterOperation--;
|
| }
|
|
|
| -buildUnnamed486() {
|
| +buildUnnamed561() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed486(core.List<core.String> o) {
|
| +checkUnnamed561(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'));
|
| }
|
|
|
| -buildUnnamed487() {
|
| +buildUnnamed562() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed487(core.Map<core.String, core.String> o) {
|
| +checkUnnamed562(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'));
|
| }
|
|
|
| -buildUnnamed488() {
|
| +buildUnnamed563() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed488(core.Map<core.String, core.String> o) {
|
| +checkUnnamed563(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 = buildUnnamed486();
|
| + o.jarFileUris = buildUnnamed561();
|
| o.loggingConfig = buildLoggingConfig();
|
| - o.properties = buildUnnamed487();
|
| + o.properties = buildUnnamed562();
|
| o.queryFileUri = "foo";
|
| o.queryList = buildQueryList();
|
| - o.scriptVariables = buildUnnamed488();
|
| + o.scriptVariables = buildUnnamed563();
|
| }
|
| buildCounterPigJob--;
|
| return o;
|
| @@ -1193,89 +1193,89 @@ checkPigJob(api.PigJob o) {
|
| buildCounterPigJob++;
|
| if (buildCounterPigJob < 3) {
|
| unittest.expect(o.continueOnFailure, unittest.isTrue);
|
| - checkUnnamed486(o.jarFileUris);
|
| + checkUnnamed561(o.jarFileUris);
|
| checkLoggingConfig(o.loggingConfig);
|
| - checkUnnamed487(o.properties);
|
| + checkUnnamed562(o.properties);
|
| unittest.expect(o.queryFileUri, unittest.equals('foo'));
|
| checkQueryList(o.queryList);
|
| - checkUnnamed488(o.scriptVariables);
|
| + checkUnnamed563(o.scriptVariables);
|
| }
|
| buildCounterPigJob--;
|
| }
|
|
|
| -buildUnnamed489() {
|
| +buildUnnamed564() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed489(core.List<core.String> o) {
|
| +checkUnnamed564(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'));
|
| }
|
|
|
| -buildUnnamed490() {
|
| +buildUnnamed565() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed490(core.List<core.String> o) {
|
| +checkUnnamed565(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'));
|
| }
|
|
|
| -buildUnnamed491() {
|
| +buildUnnamed566() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed491(core.List<core.String> o) {
|
| +checkUnnamed566(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'));
|
| }
|
|
|
| -buildUnnamed492() {
|
| +buildUnnamed567() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed492(core.List<core.String> o) {
|
| +checkUnnamed567(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'));
|
| }
|
|
|
| -buildUnnamed493() {
|
| +buildUnnamed568() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed493(core.Map<core.String, core.String> o) {
|
| +checkUnnamed568(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'));
|
| }
|
|
|
| -buildUnnamed494() {
|
| +buildUnnamed569() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed494(core.List<core.String> o) {
|
| +checkUnnamed569(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 = buildUnnamed489();
|
| - o.args = buildUnnamed490();
|
| - o.fileUris = buildUnnamed491();
|
| - o.jarFileUris = buildUnnamed492();
|
| + o.archiveUris = buildUnnamed564();
|
| + o.args = buildUnnamed565();
|
| + o.fileUris = buildUnnamed566();
|
| + o.jarFileUris = buildUnnamed567();
|
| o.loggingConfig = buildLoggingConfig();
|
| o.mainPythonFileUri = "foo";
|
| - o.properties = buildUnnamed493();
|
| - o.pythonFileUris = buildUnnamed494();
|
| + o.properties = buildUnnamed568();
|
| + o.pythonFileUris = buildUnnamed569();
|
| }
|
| buildCounterPySparkJob--;
|
| return o;
|
| @@ -1302,26 +1302,26 @@ buildPySparkJob() {
|
| checkPySparkJob(api.PySparkJob o) {
|
| buildCounterPySparkJob++;
|
| if (buildCounterPySparkJob < 3) {
|
| - checkUnnamed489(o.archiveUris);
|
| - checkUnnamed490(o.args);
|
| - checkUnnamed491(o.fileUris);
|
| - checkUnnamed492(o.jarFileUris);
|
| + checkUnnamed564(o.archiveUris);
|
| + checkUnnamed565(o.args);
|
| + checkUnnamed566(o.fileUris);
|
| + checkUnnamed567(o.jarFileUris);
|
| checkLoggingConfig(o.loggingConfig);
|
| unittest.expect(o.mainPythonFileUri, unittest.equals('foo'));
|
| - checkUnnamed493(o.properties);
|
| - checkUnnamed494(o.pythonFileUris);
|
| + checkUnnamed568(o.properties);
|
| + checkUnnamed569(o.pythonFileUris);
|
| }
|
| buildCounterPySparkJob--;
|
| }
|
|
|
| -buildUnnamed495() {
|
| +buildUnnamed570() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed495(core.List<core.String> o) {
|
| +checkUnnamed570(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 = buildUnnamed495();
|
| + o.queries = buildUnnamed570();
|
| }
|
| buildCounterQueryList--;
|
| return o;
|
| @@ -1341,19 +1341,19 @@ buildQueryList() {
|
| checkQueryList(api.QueryList o) {
|
| buildCounterQueryList++;
|
| if (buildCounterQueryList < 3) {
|
| - checkUnnamed495(o.queries);
|
| + checkUnnamed570(o.queries);
|
| }
|
| buildCounterQueryList--;
|
| }
|
|
|
| -buildUnnamed496() {
|
| +buildUnnamed571() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed496(core.Map<core.String, core.String> o) {
|
| +checkUnnamed571(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 = buildUnnamed496();
|
| + o.properties = buildUnnamed571();
|
| }
|
| buildCounterSoftwareConfig--;
|
| return o;
|
| @@ -1375,71 +1375,71 @@ checkSoftwareConfig(api.SoftwareConfig o) {
|
| buildCounterSoftwareConfig++;
|
| if (buildCounterSoftwareConfig < 3) {
|
| unittest.expect(o.imageVersion, unittest.equals('foo'));
|
| - checkUnnamed496(o.properties);
|
| + checkUnnamed571(o.properties);
|
| }
|
| buildCounterSoftwareConfig--;
|
| }
|
|
|
| -buildUnnamed497() {
|
| +buildUnnamed572() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed497(core.List<core.String> o) {
|
| +checkUnnamed572(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'));
|
| }
|
|
|
| -buildUnnamed498() {
|
| +buildUnnamed573() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed498(core.List<core.String> o) {
|
| +checkUnnamed573(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'));
|
| }
|
|
|
| -buildUnnamed499() {
|
| +buildUnnamed574() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed499(core.List<core.String> o) {
|
| +checkUnnamed574(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'));
|
| }
|
|
|
| -buildUnnamed500() {
|
| +buildUnnamed575() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed500(core.List<core.String> o) {
|
| +checkUnnamed575(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'));
|
| }
|
|
|
| -buildUnnamed501() {
|
| +buildUnnamed576() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed501(core.Map<core.String, core.String> o) {
|
| +checkUnnamed576(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 = buildUnnamed497();
|
| - o.args = buildUnnamed498();
|
| - o.fileUris = buildUnnamed499();
|
| - o.jarFileUris = buildUnnamed500();
|
| + o.archiveUris = buildUnnamed572();
|
| + o.args = buildUnnamed573();
|
| + o.fileUris = buildUnnamed574();
|
| + o.jarFileUris = buildUnnamed575();
|
| o.loggingConfig = buildLoggingConfig();
|
| o.mainClass = "foo";
|
| o.mainJarFileUri = "foo";
|
| - o.properties = buildUnnamed501();
|
| + o.properties = buildUnnamed576();
|
| }
|
| buildCounterSparkJob--;
|
| return o;
|
| @@ -1466,52 +1466,52 @@ buildSparkJob() {
|
| checkSparkJob(api.SparkJob o) {
|
| buildCounterSparkJob++;
|
| if (buildCounterSparkJob < 3) {
|
| - checkUnnamed497(o.archiveUris);
|
| - checkUnnamed498(o.args);
|
| - checkUnnamed499(o.fileUris);
|
| - checkUnnamed500(o.jarFileUris);
|
| + checkUnnamed572(o.archiveUris);
|
| + checkUnnamed573(o.args);
|
| + checkUnnamed574(o.fileUris);
|
| + checkUnnamed575(o.jarFileUris);
|
| checkLoggingConfig(o.loggingConfig);
|
| unittest.expect(o.mainClass, unittest.equals('foo'));
|
| unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
|
| - checkUnnamed501(o.properties);
|
| + checkUnnamed576(o.properties);
|
| }
|
| buildCounterSparkJob--;
|
| }
|
|
|
| -buildUnnamed502() {
|
| +buildUnnamed577() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed502(core.List<core.String> o) {
|
| +checkUnnamed577(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'));
|
| }
|
|
|
| -buildUnnamed503() {
|
| +buildUnnamed578() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed503(core.Map<core.String, core.String> o) {
|
| +checkUnnamed578(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'));
|
| }
|
|
|
| -buildUnnamed504() {
|
| +buildUnnamed579() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed504(core.Map<core.String, core.String> o) {
|
| +checkUnnamed579(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 = buildUnnamed502();
|
| + o.jarFileUris = buildUnnamed577();
|
| o.loggingConfig = buildLoggingConfig();
|
| - o.properties = buildUnnamed503();
|
| + o.properties = buildUnnamed578();
|
| o.queryFileUri = "foo";
|
| o.queryList = buildQueryList();
|
| - o.scriptVariables = buildUnnamed504();
|
| + o.scriptVariables = buildUnnamed579();
|
| }
|
| buildCounterSparkSqlJob--;
|
| return o;
|
| @@ -1536,40 +1536,40 @@ buildSparkSqlJob() {
|
| checkSparkSqlJob(api.SparkSqlJob o) {
|
| buildCounterSparkSqlJob++;
|
| if (buildCounterSparkSqlJob < 3) {
|
| - checkUnnamed502(o.jarFileUris);
|
| + checkUnnamed577(o.jarFileUris);
|
| checkLoggingConfig(o.loggingConfig);
|
| - checkUnnamed503(o.properties);
|
| + checkUnnamed578(o.properties);
|
| unittest.expect(o.queryFileUri, unittest.equals('foo'));
|
| checkQueryList(o.queryList);
|
| - checkUnnamed504(o.scriptVariables);
|
| + checkUnnamed579(o.scriptVariables);
|
| }
|
| buildCounterSparkSqlJob--;
|
| }
|
|
|
| -buildUnnamed505() {
|
| +buildUnnamed580() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed505(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed580(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'));
|
| }
|
|
|
| -buildUnnamed506() {
|
| +buildUnnamed581() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed505());
|
| - o.add(buildUnnamed505());
|
| + o.add(buildUnnamed580());
|
| + o.add(buildUnnamed580());
|
| return o;
|
| }
|
|
|
| -checkUnnamed506(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed581(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed505(o[0]);
|
| - checkUnnamed505(o[1]);
|
| + checkUnnamed580(o[0]);
|
| + checkUnnamed580(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -1578,7 +1578,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed506();
|
| + o.details = buildUnnamed581();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -1589,7 +1589,7 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed506(o.details);
|
| + checkUnnamed581(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_filter = "foo";
|
| var arg_pageToken = "foo";
|
| var arg_pageSize = 42;
|
| + var arg_filter = "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["filter"].first, unittest.equals(arg_filter));
|
| 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));
|
|
|
|
|
| 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, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListClustersResponse response) {
|
| + res.list(arg_projectId, arg_region, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).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, filter: arg_filter, jobStateMatcher: arg_jobStateMatcher, pageToken: arg_pageToken, pageSize: arg_pageSize, clusterName: arg_clusterName).then(unittest.expectAsync1(((api.ListJobsResponse response) {
|
| + 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) {
|
| checkListJobsResponse(response);
|
| })));
|
| });
|
| @@ -2915,9 +2915,9 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.ProjectsRegionsOperationsResourceApi res = new api.DataprocApi(mock).projects.regions.operations;
|
| var arg_name = "foo";
|
| + var arg_filter = "foo";
|
| var arg_pageToken = "foo";
|
| var arg_pageSize = 42;
|
| - var arg_filter = "foo";
|
| mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -2945,9 +2945,9 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| + unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
|
| 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));
|
|
|
|
|
| var h = {
|
| @@ -2956,7 +2956,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListOperationsResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListOperationsResponse response) {
|
| + res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListOperationsResponse response) {
|
| checkListOperationsResponse(response);
|
| })));
|
| });
|
|
|