| 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 a9b6283015f5c1a461fc849be0061e94d8151a6d..596d65bab4a3fa4541693f009aa9c68a856f3976 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--;
|
| }
|
|
|
| -buildUnnamed466() {
|
| +buildUnnamed452() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed466(core.Map<core.String, core.String> o) {
|
| +checkUnnamed452(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'));
|
| }
|
|
|
| -buildUnnamed467() {
|
| +buildUnnamed453() {
|
| var o = new core.List<api.ClusterStatus>();
|
| o.add(buildClusterStatus());
|
| o.add(buildClusterStatus());
|
| return o;
|
| }
|
|
|
| -checkUnnamed467(core.List<api.ClusterStatus> o) {
|
| +checkUnnamed453(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 = buildUnnamed466();
|
| + o.labels = buildUnnamed452();
|
| o.metrics = buildClusterMetrics();
|
| o.projectId = "foo";
|
| o.status = buildClusterStatus();
|
| - o.statusHistory = buildUnnamed467();
|
| + o.statusHistory = buildUnnamed453();
|
| }
|
| 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);
|
| - checkUnnamed466(o.labels);
|
| + checkUnnamed452(o.labels);
|
| checkClusterMetrics(o.metrics);
|
| unittest.expect(o.projectId, unittest.equals('foo'));
|
| checkClusterStatus(o.status);
|
| - checkUnnamed467(o.statusHistory);
|
| + checkUnnamed453(o.statusHistory);
|
| }
|
| buildCounterCluster--;
|
| }
|
|
|
| -buildUnnamed468() {
|
| +buildUnnamed454() {
|
| var o = new core.List<api.NodeInitializationAction>();
|
| o.add(buildNodeInitializationAction());
|
| o.add(buildNodeInitializationAction());
|
| return o;
|
| }
|
|
|
| -checkUnnamed468(core.List<api.NodeInitializationAction> o) {
|
| +checkUnnamed454(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 = buildUnnamed468();
|
| + o.initializationActions = buildUnnamed454();
|
| 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);
|
| - checkUnnamed468(o.initializationActions);
|
| + checkUnnamed454(o.initializationActions);
|
| checkInstanceGroupConfig(o.masterConfig);
|
| checkInstanceGroupConfig(o.secondaryWorkerConfig);
|
| checkSoftwareConfig(o.softwareConfig);
|
| @@ -192,27 +192,27 @@ checkClusterConfig(api.ClusterConfig o) {
|
| buildCounterClusterConfig--;
|
| }
|
|
|
| -buildUnnamed469() {
|
| +buildUnnamed455() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed469(core.Map<core.String, core.String> o) {
|
| +checkUnnamed455(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'));
|
| }
|
|
|
| -buildUnnamed470() {
|
| +buildUnnamed456() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed470(core.Map<core.String, core.String> o) {
|
| +checkUnnamed456(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 = buildUnnamed469();
|
| - o.yarnMetrics = buildUnnamed470();
|
| + o.hdfsMetrics = buildUnnamed455();
|
| + o.yarnMetrics = buildUnnamed456();
|
| }
|
| buildCounterClusterMetrics--;
|
| return o;
|
| @@ -233,46 +233,46 @@ buildClusterMetrics() {
|
| checkClusterMetrics(api.ClusterMetrics o) {
|
| buildCounterClusterMetrics++;
|
| if (buildCounterClusterMetrics < 3) {
|
| - checkUnnamed469(o.hdfsMetrics);
|
| - checkUnnamed470(o.yarnMetrics);
|
| + checkUnnamed455(o.hdfsMetrics);
|
| + checkUnnamed456(o.yarnMetrics);
|
| }
|
| buildCounterClusterMetrics--;
|
| }
|
|
|
| -buildUnnamed471() {
|
| +buildUnnamed457() {
|
| 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) {
|
| +checkUnnamed457(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'));
|
| }
|
|
|
| -buildUnnamed472() {
|
| +buildUnnamed458() {
|
| var o = new core.List<api.ClusterOperationStatus>();
|
| o.add(buildClusterOperationStatus());
|
| o.add(buildClusterOperationStatus());
|
| return o;
|
| }
|
|
|
| -checkUnnamed472(core.List<api.ClusterOperationStatus> o) {
|
| +checkUnnamed458(core.List<api.ClusterOperationStatus> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkClusterOperationStatus(o[0]);
|
| checkClusterOperationStatus(o[1]);
|
| }
|
|
|
| -buildUnnamed473() {
|
| +buildUnnamed459() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed473(core.List<core.String> o) {
|
| +checkUnnamed459(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 = buildUnnamed471();
|
| + o.labels = buildUnnamed457();
|
| o.operationType = "foo";
|
| o.status = buildClusterOperationStatus();
|
| - o.statusHistory = buildUnnamed472();
|
| - o.warnings = buildUnnamed473();
|
| + o.statusHistory = buildUnnamed458();
|
| + o.warnings = buildUnnamed459();
|
| }
|
| 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'));
|
| - checkUnnamed471(o.labels);
|
| + checkUnnamed457(o.labels);
|
| unittest.expect(o.operationType, unittest.equals('foo'));
|
| checkClusterOperationStatus(o.status);
|
| - checkUnnamed472(o.statusHistory);
|
| - checkUnnamed473(o.warnings);
|
| + checkUnnamed458(o.statusHistory);
|
| + checkUnnamed459(o.warnings);
|
| }
|
| buildCounterClusterOperationMetadata--;
|
| }
|
| @@ -454,40 +454,40 @@ checkEmpty(api.Empty o) {
|
| buildCounterEmpty--;
|
| }
|
|
|
| -buildUnnamed474() {
|
| +buildUnnamed460() {
|
| 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) {
|
| +checkUnnamed460(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'));
|
| }
|
|
|
| -buildUnnamed475() {
|
| +buildUnnamed461() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed475(core.List<core.String> o) {
|
| +checkUnnamed461(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'));
|
| }
|
|
|
| -buildUnnamed476() {
|
| +buildUnnamed462() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed476(core.List<core.String> o) {
|
| +checkUnnamed462(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'));
|
| @@ -499,12 +499,12 @@ buildGceClusterConfig() {
|
| buildCounterGceClusterConfig++;
|
| if (buildCounterGceClusterConfig < 3) {
|
| o.internalIpOnly = true;
|
| - o.metadata = buildUnnamed474();
|
| + o.metadata = buildUnnamed460();
|
| o.networkUri = "foo";
|
| o.serviceAccount = "foo";
|
| - o.serviceAccountScopes = buildUnnamed475();
|
| + o.serviceAccountScopes = buildUnnamed461();
|
| o.subnetworkUri = "foo";
|
| - o.tags = buildUnnamed476();
|
| + o.tags = buildUnnamed462();
|
| o.zoneUri = "foo";
|
| }
|
| buildCounterGceClusterConfig--;
|
| @@ -515,77 +515,77 @@ checkGceClusterConfig(api.GceClusterConfig o) {
|
| buildCounterGceClusterConfig++;
|
| if (buildCounterGceClusterConfig < 3) {
|
| unittest.expect(o.internalIpOnly, unittest.isTrue);
|
| - checkUnnamed474(o.metadata);
|
| + checkUnnamed460(o.metadata);
|
| unittest.expect(o.networkUri, unittest.equals('foo'));
|
| unittest.expect(o.serviceAccount, unittest.equals('foo'));
|
| - checkUnnamed475(o.serviceAccountScopes);
|
| + checkUnnamed461(o.serviceAccountScopes);
|
| unittest.expect(o.subnetworkUri, unittest.equals('foo'));
|
| - checkUnnamed476(o.tags);
|
| + checkUnnamed462(o.tags);
|
| unittest.expect(o.zoneUri, unittest.equals('foo'));
|
| }
|
| buildCounterGceClusterConfig--;
|
| }
|
|
|
| -buildUnnamed477() {
|
| +buildUnnamed463() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed477(core.List<core.String> o) {
|
| +checkUnnamed463(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'));
|
| }
|
|
|
| -buildUnnamed478() {
|
| +buildUnnamed464() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed478(core.List<core.String> o) {
|
| +checkUnnamed464(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'));
|
| }
|
|
|
| -buildUnnamed479() {
|
| +buildUnnamed465() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed479(core.List<core.String> o) {
|
| +checkUnnamed465(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'));
|
| }
|
|
|
| -buildUnnamed480() {
|
| +buildUnnamed466() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed480(core.List<core.String> o) {
|
| +checkUnnamed466(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'));
|
| }
|
|
|
| -buildUnnamed481() {
|
| +buildUnnamed467() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed481(core.Map<core.String, core.String> o) {
|
| +checkUnnamed467(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'));
|
| @@ -596,14 +596,14 @@ buildHadoopJob() {
|
| var o = new api.HadoopJob();
|
| buildCounterHadoopJob++;
|
| if (buildCounterHadoopJob < 3) {
|
| - o.archiveUris = buildUnnamed477();
|
| - o.args = buildUnnamed478();
|
| - o.fileUris = buildUnnamed479();
|
| - o.jarFileUris = buildUnnamed480();
|
| + o.archiveUris = buildUnnamed463();
|
| + o.args = buildUnnamed464();
|
| + o.fileUris = buildUnnamed465();
|
| + o.jarFileUris = buildUnnamed466();
|
| o.loggingConfig = buildLoggingConfig();
|
| o.mainClass = "foo";
|
| o.mainJarFileUri = "foo";
|
| - o.properties = buildUnnamed481();
|
| + o.properties = buildUnnamed467();
|
| }
|
| buildCounterHadoopJob--;
|
| return o;
|
| @@ -612,52 +612,52 @@ buildHadoopJob() {
|
| checkHadoopJob(api.HadoopJob o) {
|
| buildCounterHadoopJob++;
|
| if (buildCounterHadoopJob < 3) {
|
| - checkUnnamed477(o.archiveUris);
|
| - checkUnnamed478(o.args);
|
| - checkUnnamed479(o.fileUris);
|
| - checkUnnamed480(o.jarFileUris);
|
| + checkUnnamed463(o.archiveUris);
|
| + checkUnnamed464(o.args);
|
| + checkUnnamed465(o.fileUris);
|
| + checkUnnamed466(o.jarFileUris);
|
| checkLoggingConfig(o.loggingConfig);
|
| unittest.expect(o.mainClass, unittest.equals('foo'));
|
| unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
|
| - checkUnnamed481(o.properties);
|
| + checkUnnamed467(o.properties);
|
| }
|
| buildCounterHadoopJob--;
|
| }
|
|
|
| -buildUnnamed482() {
|
| +buildUnnamed468() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed482(core.List<core.String> o) {
|
| +checkUnnamed468(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'));
|
| }
|
|
|
| -buildUnnamed483() {
|
| +buildUnnamed469() {
|
| 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) {
|
| +checkUnnamed469(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'));
|
| }
|
|
|
| -buildUnnamed484() {
|
| +buildUnnamed470() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed484(core.Map<core.String, core.String> o) {
|
| +checkUnnamed470(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'));
|
| @@ -669,11 +669,11 @@ buildHiveJob() {
|
| buildCounterHiveJob++;
|
| if (buildCounterHiveJob < 3) {
|
| o.continueOnFailure = true;
|
| - o.jarFileUris = buildUnnamed482();
|
| - o.properties = buildUnnamed483();
|
| + o.jarFileUris = buildUnnamed468();
|
| + o.properties = buildUnnamed469();
|
| o.queryFileUri = "foo";
|
| o.queryList = buildQueryList();
|
| - o.scriptVariables = buildUnnamed484();
|
| + o.scriptVariables = buildUnnamed470();
|
| }
|
| buildCounterHiveJob--;
|
| return o;
|
| @@ -683,36 +683,36 @@ checkHiveJob(api.HiveJob o) {
|
| buildCounterHiveJob++;
|
| if (buildCounterHiveJob < 3) {
|
| unittest.expect(o.continueOnFailure, unittest.isTrue);
|
| - checkUnnamed482(o.jarFileUris);
|
| - checkUnnamed483(o.properties);
|
| + checkUnnamed468(o.jarFileUris);
|
| + checkUnnamed469(o.properties);
|
| unittest.expect(o.queryFileUri, unittest.equals('foo'));
|
| checkQueryList(o.queryList);
|
| - checkUnnamed484(o.scriptVariables);
|
| + checkUnnamed470(o.scriptVariables);
|
| }
|
| buildCounterHiveJob--;
|
| }
|
|
|
| -buildUnnamed485() {
|
| +buildUnnamed471() {
|
| var o = new core.List<api.AcceleratorConfig>();
|
| o.add(buildAcceleratorConfig());
|
| o.add(buildAcceleratorConfig());
|
| return o;
|
| }
|
|
|
| -checkUnnamed485(core.List<api.AcceleratorConfig> o) {
|
| +checkUnnamed471(core.List<api.AcceleratorConfig> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAcceleratorConfig(o[0]);
|
| checkAcceleratorConfig(o[1]);
|
| }
|
|
|
| -buildUnnamed486() {
|
| +buildUnnamed472() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed486(core.List<core.String> o) {
|
| +checkUnnamed472(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'));
|
| @@ -723,10 +723,10 @@ buildInstanceGroupConfig() {
|
| var o = new api.InstanceGroupConfig();
|
| buildCounterInstanceGroupConfig++;
|
| if (buildCounterInstanceGroupConfig < 3) {
|
| - o.accelerators = buildUnnamed485();
|
| + o.accelerators = buildUnnamed471();
|
| o.diskConfig = buildDiskConfig();
|
| o.imageUri = "foo";
|
| - o.instanceNames = buildUnnamed486();
|
| + o.instanceNames = buildUnnamed472();
|
| o.isPreemptible = true;
|
| o.machineTypeUri = "foo";
|
| o.managedGroupConfig = buildManagedGroupConfig();
|
| @@ -739,10 +739,10 @@ buildInstanceGroupConfig() {
|
| checkInstanceGroupConfig(api.InstanceGroupConfig o) {
|
| buildCounterInstanceGroupConfig++;
|
| if (buildCounterInstanceGroupConfig < 3) {
|
| - checkUnnamed485(o.accelerators);
|
| + checkUnnamed471(o.accelerators);
|
| checkDiskConfig(o.diskConfig);
|
| unittest.expect(o.imageUri, unittest.equals('foo'));
|
| - checkUnnamed486(o.instanceNames);
|
| + checkUnnamed472(o.instanceNames);
|
| unittest.expect(o.isPreemptible, unittest.isTrue);
|
| unittest.expect(o.machineTypeUri, unittest.equals('foo'));
|
| checkManagedGroupConfig(o.managedGroupConfig);
|
| @@ -751,40 +751,40 @@ checkInstanceGroupConfig(api.InstanceGroupConfig o) {
|
| buildCounterInstanceGroupConfig--;
|
| }
|
|
|
| -buildUnnamed487() {
|
| +buildUnnamed473() {
|
| 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) {
|
| +checkUnnamed473(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() {
|
| +buildUnnamed474() {
|
| var o = new core.List<api.JobStatus>();
|
| o.add(buildJobStatus());
|
| o.add(buildJobStatus());
|
| return o;
|
| }
|
|
|
| -checkUnnamed488(core.List<api.JobStatus> o) {
|
| +checkUnnamed474(core.List<api.JobStatus> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkJobStatus(o[0]);
|
| checkJobStatus(o[1]);
|
| }
|
|
|
| -buildUnnamed489() {
|
| +buildUnnamed475() {
|
| var o = new core.List<api.YarnApplication>();
|
| o.add(buildYarnApplication());
|
| o.add(buildYarnApplication());
|
| return o;
|
| }
|
|
|
| -checkUnnamed489(core.List<api.YarnApplication> o) {
|
| +checkUnnamed475(core.List<api.YarnApplication> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkYarnApplication(o[0]);
|
| checkYarnApplication(o[1]);
|
| @@ -799,7 +799,7 @@ buildJob() {
|
| o.driverOutputResourceUri = "foo";
|
| o.hadoopJob = buildHadoopJob();
|
| o.hiveJob = buildHiveJob();
|
| - o.labels = buildUnnamed487();
|
| + o.labels = buildUnnamed473();
|
| o.pigJob = buildPigJob();
|
| o.placement = buildJobPlacement();
|
| o.pysparkJob = buildPySparkJob();
|
| @@ -808,8 +808,8 @@ buildJob() {
|
| o.sparkJob = buildSparkJob();
|
| o.sparkSqlJob = buildSparkSqlJob();
|
| o.status = buildJobStatus();
|
| - o.statusHistory = buildUnnamed488();
|
| - o.yarnApplications = buildUnnamed489();
|
| + o.statusHistory = buildUnnamed474();
|
| + o.yarnApplications = buildUnnamed475();
|
| }
|
| buildCounterJob--;
|
| return o;
|
| @@ -822,7 +822,7 @@ checkJob(api.Job o) {
|
| unittest.expect(o.driverOutputResourceUri, unittest.equals('foo'));
|
| checkHadoopJob(o.hadoopJob);
|
| checkHiveJob(o.hiveJob);
|
| - checkUnnamed487(o.labels);
|
| + checkUnnamed473(o.labels);
|
| checkPigJob(o.pigJob);
|
| checkJobPlacement(o.placement);
|
| checkPySparkJob(o.pysparkJob);
|
| @@ -831,8 +831,8 @@ checkJob(api.Job o) {
|
| checkSparkJob(o.sparkJob);
|
| checkSparkSqlJob(o.sparkSqlJob);
|
| checkJobStatus(o.status);
|
| - checkUnnamed488(o.statusHistory);
|
| - checkUnnamed489(o.yarnApplications);
|
| + checkUnnamed474(o.statusHistory);
|
| + checkUnnamed475(o.yarnApplications);
|
| }
|
| buildCounterJob--;
|
| }
|
| @@ -923,14 +923,14 @@ checkJobStatus(api.JobStatus o) {
|
| buildCounterJobStatus--;
|
| }
|
|
|
| -buildUnnamed490() {
|
| +buildUnnamed476() {
|
| var o = new core.List<api.Cluster>();
|
| o.add(buildCluster());
|
| o.add(buildCluster());
|
| return o;
|
| }
|
|
|
| -checkUnnamed490(core.List<api.Cluster> o) {
|
| +checkUnnamed476(core.List<api.Cluster> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCluster(o[0]);
|
| checkCluster(o[1]);
|
| @@ -941,7 +941,7 @@ buildListClustersResponse() {
|
| var o = new api.ListClustersResponse();
|
| buildCounterListClustersResponse++;
|
| if (buildCounterListClustersResponse < 3) {
|
| - o.clusters = buildUnnamed490();
|
| + o.clusters = buildUnnamed476();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListClustersResponse--;
|
| @@ -951,20 +951,20 @@ buildListClustersResponse() {
|
| checkListClustersResponse(api.ListClustersResponse o) {
|
| buildCounterListClustersResponse++;
|
| if (buildCounterListClustersResponse < 3) {
|
| - checkUnnamed490(o.clusters);
|
| + checkUnnamed476(o.clusters);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListClustersResponse--;
|
| }
|
|
|
| -buildUnnamed491() {
|
| +buildUnnamed477() {
|
| var o = new core.List<api.Job>();
|
| o.add(buildJob());
|
| o.add(buildJob());
|
| return o;
|
| }
|
|
|
| -checkUnnamed491(core.List<api.Job> o) {
|
| +checkUnnamed477(core.List<api.Job> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkJob(o[0]);
|
| checkJob(o[1]);
|
| @@ -975,7 +975,7 @@ buildListJobsResponse() {
|
| var o = new api.ListJobsResponse();
|
| buildCounterListJobsResponse++;
|
| if (buildCounterListJobsResponse < 3) {
|
| - o.jobs = buildUnnamed491();
|
| + o.jobs = buildUnnamed477();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListJobsResponse--;
|
| @@ -985,20 +985,20 @@ buildListJobsResponse() {
|
| checkListJobsResponse(api.ListJobsResponse o) {
|
| buildCounterListJobsResponse++;
|
| if (buildCounterListJobsResponse < 3) {
|
| - checkUnnamed491(o.jobs);
|
| + checkUnnamed477(o.jobs);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListJobsResponse--;
|
| }
|
|
|
| -buildUnnamed492() {
|
| +buildUnnamed478() {
|
| var o = new core.List<api.Operation>();
|
| o.add(buildOperation());
|
| o.add(buildOperation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed492(core.List<api.Operation> o) {
|
| +checkUnnamed478(core.List<api.Operation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperation(o[0]);
|
| checkOperation(o[1]);
|
| @@ -1010,7 +1010,7 @@ buildListOperationsResponse() {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.operations = buildUnnamed492();
|
| + o.operations = buildUnnamed478();
|
| }
|
| buildCounterListOperationsResponse--;
|
| return o;
|
| @@ -1020,19 +1020,19 @@ checkListOperationsResponse(api.ListOperationsResponse o) {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed492(o.operations);
|
| + checkUnnamed478(o.operations);
|
| }
|
| buildCounterListOperationsResponse--;
|
| }
|
|
|
| -buildUnnamed493() {
|
| +buildUnnamed479() {
|
| 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) {
|
| +checkUnnamed479(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'));
|
| @@ -1043,7 +1043,7 @@ buildLoggingConfig() {
|
| var o = new api.LoggingConfig();
|
| buildCounterLoggingConfig++;
|
| if (buildCounterLoggingConfig < 3) {
|
| - o.driverLogLevels = buildUnnamed493();
|
| + o.driverLogLevels = buildUnnamed479();
|
| }
|
| buildCounterLoggingConfig--;
|
| return o;
|
| @@ -1052,7 +1052,7 @@ buildLoggingConfig() {
|
| checkLoggingConfig(api.LoggingConfig o) {
|
| buildCounterLoggingConfig++;
|
| if (buildCounterLoggingConfig < 3) {
|
| - checkUnnamed493(o.driverLogLevels);
|
| + checkUnnamed479(o.driverLogLevels);
|
| }
|
| buildCounterLoggingConfig--;
|
| }
|
| @@ -1099,27 +1099,27 @@ checkNodeInitializationAction(api.NodeInitializationAction o) {
|
| buildCounterNodeInitializationAction--;
|
| }
|
|
|
| -buildUnnamed494() {
|
| +buildUnnamed480() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed494(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed480(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'));
|
| }
|
|
|
| -buildUnnamed495() {
|
| +buildUnnamed481() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed495(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed481(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'));
|
| @@ -1132,9 +1132,9 @@ buildOperation() {
|
| if (buildCounterOperation < 3) {
|
| o.done = true;
|
| o.error = buildStatus();
|
| - o.metadata = buildUnnamed494();
|
| + o.metadata = buildUnnamed480();
|
| o.name = "foo";
|
| - o.response = buildUnnamed495();
|
| + o.response = buildUnnamed481();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -1145,34 +1145,34 @@ checkOperation(api.Operation o) {
|
| if (buildCounterOperation < 3) {
|
| unittest.expect(o.done, unittest.isTrue);
|
| checkStatus(o.error);
|
| - checkUnnamed494(o.metadata);
|
| + checkUnnamed480(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed495(o.response);
|
| + checkUnnamed481(o.response);
|
| }
|
| buildCounterOperation--;
|
| }
|
|
|
| -buildUnnamed496() {
|
| +buildUnnamed482() {
|
| var o = new core.List<api.OperationStatus>();
|
| o.add(buildOperationStatus());
|
| o.add(buildOperationStatus());
|
| return o;
|
| }
|
|
|
| -checkUnnamed496(core.List<api.OperationStatus> o) {
|
| +checkUnnamed482(core.List<api.OperationStatus> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperationStatus(o[0]);
|
| checkOperationStatus(o[1]);
|
| }
|
|
|
| -buildUnnamed497() {
|
| +buildUnnamed483() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed497(core.List<core.String> o) {
|
| +checkUnnamed483(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'));
|
| @@ -1194,8 +1194,8 @@ buildOperationMetadata() {
|
| o.startTime = "foo";
|
| o.state = "foo";
|
| o.status = buildOperationStatus();
|
| - o.statusHistory = buildUnnamed496();
|
| - o.warnings = buildUnnamed497();
|
| + o.statusHistory = buildUnnamed482();
|
| + o.warnings = buildUnnamed483();
|
| }
|
| buildCounterOperationMetadata--;
|
| return o;
|
| @@ -1215,8 +1215,8 @@ checkOperationMetadata(api.OperationMetadata o) {
|
| unittest.expect(o.startTime, unittest.equals('foo'));
|
| unittest.expect(o.state, unittest.equals('foo'));
|
| checkOperationStatus(o.status);
|
| - checkUnnamed496(o.statusHistory);
|
| - checkUnnamed497(o.warnings);
|
| + checkUnnamed482(o.statusHistory);
|
| + checkUnnamed483(o.warnings);
|
| }
|
| buildCounterOperationMetadata--;
|
| }
|
| @@ -1246,40 +1246,40 @@ checkOperationStatus(api.OperationStatus o) {
|
| buildCounterOperationStatus--;
|
| }
|
|
|
| -buildUnnamed498() {
|
| +buildUnnamed484() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed498(core.List<core.String> o) {
|
| +checkUnnamed484(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() {
|
| +buildUnnamed485() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed499(core.Map<core.String, core.String> o) {
|
| +checkUnnamed485(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'));
|
| }
|
|
|
| -buildUnnamed500() {
|
| +buildUnnamed486() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed500(core.Map<core.String, core.String> o) {
|
| +checkUnnamed486(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'));
|
| @@ -1291,12 +1291,12 @@ buildPigJob() {
|
| buildCounterPigJob++;
|
| if (buildCounterPigJob < 3) {
|
| o.continueOnFailure = true;
|
| - o.jarFileUris = buildUnnamed498();
|
| + o.jarFileUris = buildUnnamed484();
|
| o.loggingConfig = buildLoggingConfig();
|
| - o.properties = buildUnnamed499();
|
| + o.properties = buildUnnamed485();
|
| o.queryFileUri = "foo";
|
| o.queryList = buildQueryList();
|
| - o.scriptVariables = buildUnnamed500();
|
| + o.scriptVariables = buildUnnamed486();
|
| }
|
| buildCounterPigJob--;
|
| return o;
|
| @@ -1306,89 +1306,89 @@ checkPigJob(api.PigJob o) {
|
| buildCounterPigJob++;
|
| if (buildCounterPigJob < 3) {
|
| unittest.expect(o.continueOnFailure, unittest.isTrue);
|
| - checkUnnamed498(o.jarFileUris);
|
| + checkUnnamed484(o.jarFileUris);
|
| checkLoggingConfig(o.loggingConfig);
|
| - checkUnnamed499(o.properties);
|
| + checkUnnamed485(o.properties);
|
| unittest.expect(o.queryFileUri, unittest.equals('foo'));
|
| checkQueryList(o.queryList);
|
| - checkUnnamed500(o.scriptVariables);
|
| + checkUnnamed486(o.scriptVariables);
|
| }
|
| buildCounterPigJob--;
|
| }
|
|
|
| -buildUnnamed501() {
|
| +buildUnnamed487() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed501(core.List<core.String> o) {
|
| +checkUnnamed487(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'));
|
| }
|
|
|
| -buildUnnamed502() {
|
| +buildUnnamed488() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed502(core.List<core.String> o) {
|
| +checkUnnamed488(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() {
|
| +buildUnnamed489() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed503(core.List<core.String> o) {
|
| +checkUnnamed489(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'));
|
| }
|
|
|
| -buildUnnamed504() {
|
| +buildUnnamed490() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed504(core.List<core.String> o) {
|
| +checkUnnamed490(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'));
|
| }
|
|
|
| -buildUnnamed505() {
|
| +buildUnnamed491() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed505(core.Map<core.String, core.String> o) {
|
| +checkUnnamed491(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'));
|
| }
|
|
|
| -buildUnnamed506() {
|
| +buildUnnamed492() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed506(core.List<core.String> o) {
|
| +checkUnnamed492(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'));
|
| @@ -1399,14 +1399,14 @@ buildPySparkJob() {
|
| var o = new api.PySparkJob();
|
| buildCounterPySparkJob++;
|
| if (buildCounterPySparkJob < 3) {
|
| - o.archiveUris = buildUnnamed501();
|
| - o.args = buildUnnamed502();
|
| - o.fileUris = buildUnnamed503();
|
| - o.jarFileUris = buildUnnamed504();
|
| + o.archiveUris = buildUnnamed487();
|
| + o.args = buildUnnamed488();
|
| + o.fileUris = buildUnnamed489();
|
| + o.jarFileUris = buildUnnamed490();
|
| o.loggingConfig = buildLoggingConfig();
|
| o.mainPythonFileUri = "foo";
|
| - o.properties = buildUnnamed505();
|
| - o.pythonFileUris = buildUnnamed506();
|
| + o.properties = buildUnnamed491();
|
| + o.pythonFileUris = buildUnnamed492();
|
| }
|
| buildCounterPySparkJob--;
|
| return o;
|
| @@ -1415,26 +1415,26 @@ buildPySparkJob() {
|
| checkPySparkJob(api.PySparkJob o) {
|
| buildCounterPySparkJob++;
|
| if (buildCounterPySparkJob < 3) {
|
| - checkUnnamed501(o.archiveUris);
|
| - checkUnnamed502(o.args);
|
| - checkUnnamed503(o.fileUris);
|
| - checkUnnamed504(o.jarFileUris);
|
| + checkUnnamed487(o.archiveUris);
|
| + checkUnnamed488(o.args);
|
| + checkUnnamed489(o.fileUris);
|
| + checkUnnamed490(o.jarFileUris);
|
| checkLoggingConfig(o.loggingConfig);
|
| unittest.expect(o.mainPythonFileUri, unittest.equals('foo'));
|
| - checkUnnamed505(o.properties);
|
| - checkUnnamed506(o.pythonFileUris);
|
| + checkUnnamed491(o.properties);
|
| + checkUnnamed492(o.pythonFileUris);
|
| }
|
| buildCounterPySparkJob--;
|
| }
|
|
|
| -buildUnnamed507() {
|
| +buildUnnamed493() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed507(core.List<core.String> o) {
|
| +checkUnnamed493(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'));
|
| @@ -1445,7 +1445,7 @@ buildQueryList() {
|
| var o = new api.QueryList();
|
| buildCounterQueryList++;
|
| if (buildCounterQueryList < 3) {
|
| - o.queries = buildUnnamed507();
|
| + o.queries = buildUnnamed493();
|
| }
|
| buildCounterQueryList--;
|
| return o;
|
| @@ -1454,19 +1454,19 @@ buildQueryList() {
|
| checkQueryList(api.QueryList o) {
|
| buildCounterQueryList++;
|
| if (buildCounterQueryList < 3) {
|
| - checkUnnamed507(o.queries);
|
| + checkUnnamed493(o.queries);
|
| }
|
| buildCounterQueryList--;
|
| }
|
|
|
| -buildUnnamed508() {
|
| +buildUnnamed494() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed508(core.Map<core.String, core.String> o) {
|
| +checkUnnamed494(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'));
|
| @@ -1478,7 +1478,7 @@ buildSoftwareConfig() {
|
| buildCounterSoftwareConfig++;
|
| if (buildCounterSoftwareConfig < 3) {
|
| o.imageVersion = "foo";
|
| - o.properties = buildUnnamed508();
|
| + o.properties = buildUnnamed494();
|
| }
|
| buildCounterSoftwareConfig--;
|
| return o;
|
| @@ -1488,71 +1488,71 @@ checkSoftwareConfig(api.SoftwareConfig o) {
|
| buildCounterSoftwareConfig++;
|
| if (buildCounterSoftwareConfig < 3) {
|
| unittest.expect(o.imageVersion, unittest.equals('foo'));
|
| - checkUnnamed508(o.properties);
|
| + checkUnnamed494(o.properties);
|
| }
|
| buildCounterSoftwareConfig--;
|
| }
|
|
|
| -buildUnnamed509() {
|
| +buildUnnamed495() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed509(core.List<core.String> o) {
|
| +checkUnnamed495(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'));
|
| }
|
|
|
| -buildUnnamed510() {
|
| +buildUnnamed496() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed510(core.List<core.String> o) {
|
| +checkUnnamed496(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'));
|
| }
|
|
|
| -buildUnnamed511() {
|
| +buildUnnamed497() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed511(core.List<core.String> o) {
|
| +checkUnnamed497(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'));
|
| }
|
|
|
| -buildUnnamed512() {
|
| +buildUnnamed498() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed512(core.List<core.String> o) {
|
| +checkUnnamed498(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'));
|
| }
|
|
|
| -buildUnnamed513() {
|
| +buildUnnamed499() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed513(core.Map<core.String, core.String> o) {
|
| +checkUnnamed499(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'));
|
| @@ -1563,14 +1563,14 @@ buildSparkJob() {
|
| var o = new api.SparkJob();
|
| buildCounterSparkJob++;
|
| if (buildCounterSparkJob < 3) {
|
| - o.archiveUris = buildUnnamed509();
|
| - o.args = buildUnnamed510();
|
| - o.fileUris = buildUnnamed511();
|
| - o.jarFileUris = buildUnnamed512();
|
| + o.archiveUris = buildUnnamed495();
|
| + o.args = buildUnnamed496();
|
| + o.fileUris = buildUnnamed497();
|
| + o.jarFileUris = buildUnnamed498();
|
| o.loggingConfig = buildLoggingConfig();
|
| o.mainClass = "foo";
|
| o.mainJarFileUri = "foo";
|
| - o.properties = buildUnnamed513();
|
| + o.properties = buildUnnamed499();
|
| }
|
| buildCounterSparkJob--;
|
| return o;
|
| @@ -1579,52 +1579,52 @@ buildSparkJob() {
|
| checkSparkJob(api.SparkJob o) {
|
| buildCounterSparkJob++;
|
| if (buildCounterSparkJob < 3) {
|
| - checkUnnamed509(o.archiveUris);
|
| - checkUnnamed510(o.args);
|
| - checkUnnamed511(o.fileUris);
|
| - checkUnnamed512(o.jarFileUris);
|
| + checkUnnamed495(o.archiveUris);
|
| + checkUnnamed496(o.args);
|
| + checkUnnamed497(o.fileUris);
|
| + checkUnnamed498(o.jarFileUris);
|
| checkLoggingConfig(o.loggingConfig);
|
| unittest.expect(o.mainClass, unittest.equals('foo'));
|
| unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
|
| - checkUnnamed513(o.properties);
|
| + checkUnnamed499(o.properties);
|
| }
|
| buildCounterSparkJob--;
|
| }
|
|
|
| -buildUnnamed514() {
|
| +buildUnnamed500() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed514(core.List<core.String> o) {
|
| +checkUnnamed500(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'));
|
| }
|
|
|
| -buildUnnamed515() {
|
| +buildUnnamed501() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed515(core.Map<core.String, core.String> o) {
|
| +checkUnnamed501(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'));
|
| }
|
|
|
| -buildUnnamed516() {
|
| +buildUnnamed502() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed516(core.Map<core.String, core.String> o) {
|
| +checkUnnamed502(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'));
|
| @@ -1635,12 +1635,12 @@ buildSparkSqlJob() {
|
| var o = new api.SparkSqlJob();
|
| buildCounterSparkSqlJob++;
|
| if (buildCounterSparkSqlJob < 3) {
|
| - o.jarFileUris = buildUnnamed514();
|
| + o.jarFileUris = buildUnnamed500();
|
| o.loggingConfig = buildLoggingConfig();
|
| - o.properties = buildUnnamed515();
|
| + o.properties = buildUnnamed501();
|
| o.queryFileUri = "foo";
|
| o.queryList = buildQueryList();
|
| - o.scriptVariables = buildUnnamed516();
|
| + o.scriptVariables = buildUnnamed502();
|
| }
|
| buildCounterSparkSqlJob--;
|
| return o;
|
| @@ -1649,40 +1649,40 @@ buildSparkSqlJob() {
|
| checkSparkSqlJob(api.SparkSqlJob o) {
|
| buildCounterSparkSqlJob++;
|
| if (buildCounterSparkSqlJob < 3) {
|
| - checkUnnamed514(o.jarFileUris);
|
| + checkUnnamed500(o.jarFileUris);
|
| checkLoggingConfig(o.loggingConfig);
|
| - checkUnnamed515(o.properties);
|
| + checkUnnamed501(o.properties);
|
| unittest.expect(o.queryFileUri, unittest.equals('foo'));
|
| checkQueryList(o.queryList);
|
| - checkUnnamed516(o.scriptVariables);
|
| + checkUnnamed502(o.scriptVariables);
|
| }
|
| buildCounterSparkSqlJob--;
|
| }
|
|
|
| -buildUnnamed517() {
|
| +buildUnnamed503() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed517(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed503(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'));
|
| }
|
|
|
| -buildUnnamed518() {
|
| +buildUnnamed504() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed517());
|
| - o.add(buildUnnamed517());
|
| + o.add(buildUnnamed503());
|
| + o.add(buildUnnamed503());
|
| return o;
|
| }
|
|
|
| -checkUnnamed518(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed504(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed517(o[0]);
|
| - checkUnnamed517(o[1]);
|
| + checkUnnamed503(o[0]);
|
| + checkUnnamed503(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -1691,7 +1691,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed518();
|
| + o.details = buildUnnamed504();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -1702,7 +1702,7 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed518(o.details);
|
| + checkUnnamed504(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
| @@ -2381,9 +2381,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.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -2424,9 +2424,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 = {
|
| @@ -2435,7 +2435,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.expectAsync(((api.ListClustersResponse response) {
|
| + res.list(arg_projectId, arg_region, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListClustersResponse response) {
|
| checkListClustersResponse(response);
|
| })));
|
| });
|
| @@ -2716,11 +2716,11 @@ main() {
|
| api.ProjectsRegionsJobsResourceApi res = new api.DataprocApi(mock).projects.regions.jobs;
|
| var arg_projectId = "foo";
|
| var arg_region = "foo";
|
| + var arg_filter = "foo";
|
| + var arg_jobStateMatcher = "foo";
|
| var arg_pageToken = "foo";
|
| var arg_pageSize = 42;
|
| var arg_clusterName = "foo";
|
| - var arg_filter = "foo";
|
| - var arg_jobStateMatcher = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -2761,11 +2761,11 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| + 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));
|
| - unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
|
| - unittest.expect(queryMap["jobStateMatcher"].first, unittest.equals(arg_jobStateMatcher));
|
|
|
|
|
| var h = {
|
| @@ -2774,7 +2774,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListJobsResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_projectId, arg_region, pageToken: arg_pageToken, pageSize: arg_pageSize, clusterName: arg_clusterName, filter: arg_filter, jobStateMatcher: arg_jobStateMatcher).then(unittest.expectAsync(((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.expectAsync(((api.ListJobsResponse response) {
|
| checkListJobsResponse(response);
|
| })));
|
| });
|
|
|