@@ -287,6 +287,28 @@ describe("BundleDeployer01", () => {
287
287
parms . arguments . resgroup = "12345678" ;
288
288
await testDeployJCL ( parms ) ;
289
289
} ) ;
290
+ it ( "should support verbose=true output for deploy" , async ( ) => {
291
+
292
+ let parms : IHandlerParameters ;
293
+ parms = DEFAULT_PARAMTERS ;
294
+ setCommonParmsForDeployTests ( parms ) ;
295
+ parms . arguments . targetstate = "disabled" ;
296
+ parms . arguments . resgroup = "12345678" ;
297
+ parms . arguments . verbose = true ;
298
+ await testDeployJCL ( parms ) ;
299
+ } ) ;
300
+ it ( "should support verbose=false output for deploy" , async ( ) => {
301
+
302
+ let parms : IHandlerParameters ;
303
+ parms = DEFAULT_PARAMTERS ;
304
+ setCommonParmsForDeployTests ( parms ) ;
305
+ parms . arguments . targetstate = "disabled" ;
306
+ parms . arguments . resgroup = "12345678" ;
307
+ parms . arguments . verbose = false ;
308
+ await testDeployJCL ( parms ) ;
309
+ } ) ;
310
+
311
+ // ** UNDEPLOY TESTS **
290
312
it ( "should generate undeploy JCL for csdgroup" , async ( ) => {
291
313
292
314
let parms : IHandlerParameters ;
@@ -325,7 +347,7 @@ describe("BundleDeployer01", () => {
325
347
326
348
let parms : IHandlerParameters ;
327
349
parms = DEFAULT_PARAMTERS ;
328
- setCommonParmsForDeployTests ( parms ) ;
350
+ setCommonParmsForUndeployTests ( parms ) ;
329
351
parms . arguments . targetstate = "UNAVAILABLE" ;
330
352
parms . arguments . resgroup = "12345678" ;
331
353
await testUndeployJCL ( parms ) ;
@@ -334,7 +356,7 @@ describe("BundleDeployer01", () => {
334
356
335
357
let parms : IHandlerParameters ;
336
358
parms = DEFAULT_PARAMTERS ;
337
- setCommonParmsForDeployTests ( parms ) ;
359
+ setCommonParmsForUndeployTests ( parms ) ;
338
360
parms . arguments . targetstate = "DISABLED" ;
339
361
parms . arguments . resgroup = "12345678" ;
340
362
await testUndeployJCL ( parms ) ;
@@ -343,7 +365,7 @@ describe("BundleDeployer01", () => {
343
365
344
366
let parms : IHandlerParameters ;
345
367
parms = DEFAULT_PARAMTERS ;
346
- setCommonParmsForDeployTests ( parms ) ;
368
+ setCommonParmsForUndeployTests ( parms ) ;
347
369
parms . arguments . targetstate = "DISCARDED" ;
348
370
parms . arguments . resgroup = "12345678" ;
349
371
await testUndeployJCL ( parms ) ;
@@ -352,11 +374,31 @@ describe("BundleDeployer01", () => {
352
374
353
375
let parms : IHandlerParameters ;
354
376
parms = DEFAULT_PARAMTERS ;
355
- setCommonParmsForDeployTests ( parms ) ;
377
+ setCommonParmsForUndeployTests ( parms ) ;
356
378
parms . arguments . targetstate = "discarded" ;
357
379
parms . arguments . resgroup = "12345678" ;
358
380
await testUndeployJCL ( parms ) ;
359
381
} ) ;
382
+ it ( "should support verbose=true output for undeploy" , async ( ) => {
383
+
384
+ let parms : IHandlerParameters ;
385
+ parms = DEFAULT_PARAMTERS ;
386
+ setCommonParmsForUndeployTests ( parms ) ;
387
+ parms . arguments . targetstate = "disabled" ;
388
+ parms . arguments . resgroup = "12345678" ;
389
+ parms . arguments . verbose = true ;
390
+ await testUndeployJCL ( parms ) ;
391
+ } ) ;
392
+ it ( "should support verbose=false output for undeploy" , async ( ) => {
393
+
394
+ let parms : IHandlerParameters ;
395
+ parms = DEFAULT_PARAMTERS ;
396
+ setCommonParmsForUndeployTests ( parms ) ;
397
+ parms . arguments . targetstate = "disabled" ;
398
+ parms . arguments . resgroup = "12345678" ;
399
+ parms . arguments . verbose = false ;
400
+ await testUndeployJCL ( parms ) ;
401
+ } ) ;
360
402
} ) ;
361
403
362
404
async function runDeployTestWithError ( ) {
0 commit comments