-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: jace-roell <jace.roell@hotmail.com>
- Loading branch information
1 parent
4d5ddb5
commit e27f135
Showing
2 changed files
with
123 additions
and
72 deletions.
There are no files selected for viewing
41 changes: 25 additions & 16 deletions
41
.../cli/__tests__/zostso/__unit__/send/app/__snapshots__/SendASApp.handler.unit.test.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,30 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`receive TSO app handler behavior should properly receive and parse data from receive TSO response 1`] = ` | ||
"{ | ||
\\"version\\": \\"0100\\", | ||
\\"reused\\": false, | ||
\\"timeout\\": false, | ||
\\"servletKey\\": \\"ZOWEUSER-127-aabeaaag\\", | ||
\\"queueID\\": null, | ||
\\"tsoData\\": [ | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"HELLOW exec processing has started.\\" | ||
" | ||
" | ||
`; | ||
|
||
exports[`receive TSO app handler behavior should properly receive and parse data from receive TSO response 2`] = `"HELLOW exec processing has started."`; | ||
|
||
exports[`receive TSO app handler behavior should properly receive and parse data from receive TSO response 3`] = `"UNIX message queue id = 1048608"`; | ||
|
||
exports[`receive TSO app handler behavior should properly receive and parse data from receive TSO response 4`] = ` | ||
Object { | ||
"queueID": null, | ||
"reused": false, | ||
"servletKey": "ZOWEUSER-127-aabeaaag", | ||
"timeout": false, | ||
"tsoData": Array [ | ||
Object { | ||
"DATA": "HELLOW exec processing has started.", | ||
"VERSION": "0100", | ||
}, | ||
Object { | ||
"DATA": "UNIX message queue id = 1048608", | ||
"VERSION": "0100", | ||
}, | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"UNIX message queue id = 1048608\\" | ||
} | ||
] | ||
}" | ||
], | ||
"version": "0100", | ||
} | ||
`; |
154 changes: 98 additions & 56 deletions
154
...li/__tests__/zostso/__unit__/start/app/__snapshots__/StartASApp.handler.unit.test.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,105 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space and run an application at the created address space 1`] = ` | ||
"{ | ||
\\"reused\\": false, | ||
\\"timeout\\": false, | ||
\\"servletKey\\": \\"ZOWEUSER-123-aaaaaa\\", | ||
\\"queueID\\": \\"983068\\", | ||
\\"tsoData\\": [ | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"HELLOW exec processing has started.\\" | ||
}, | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"UNIX message queue id = 983068\\" | ||
}, | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"Input message type = 32772\\" | ||
}, | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"Output message type = 4\\" | ||
}, | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"Reading application input from the UNIX message queue.\\" | ||
} | ||
] | ||
}" | ||
"[33m[1m[22m[39m | ||
[33m[1mServlet Key: [22m[39mZOWEUSER-123-aaaaaa" | ||
`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space and run an application at the created address space 2`] = ` | ||
"[33m[1mQueue ID: [22m[39m983068 | ||
" | ||
`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space and run an application at the created address space 3`] = `"HELLOW exec processing has started."`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space and run an application at the created address space 4`] = `"UNIX message queue id = 983068"`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space and run an application at the created address space 5`] = `"Input message type = 32772"`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space and run an application at the created address space 6`] = `"Output message type = 4"`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space and run an application at the created address space 7`] = `"Reading application input from the UNIX message queue."`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space and run an application at the created address space 8`] = ` | ||
Object { | ||
"queueID": "983068", | ||
"reused": false, | ||
"servletKey": "ZOWEUSER-123-aaaaaa", | ||
"timeout": false, | ||
"tsoData": Array [ | ||
Object { | ||
"DATA": "HELLOW exec processing has started.", | ||
"VERSION": "0100", | ||
}, | ||
Object { | ||
"DATA": "UNIX message queue id = 983068", | ||
"VERSION": "0100", | ||
}, | ||
Object { | ||
"DATA": "Input message type = 32772", | ||
"VERSION": "0100", | ||
}, | ||
Object { | ||
"DATA": "Output message type = 4", | ||
"VERSION": "0100", | ||
}, | ||
Object { | ||
"DATA": "Reading application input from the UNIX message queue.", | ||
"VERSION": "0100", | ||
}, | ||
], | ||
"version": undefined, | ||
} | ||
`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space at an existing TSO address space 1`] = ` | ||
"{ | ||
\\"reused\\": false, | ||
\\"timeout\\": false, | ||
\\"servletKey\\": \\"ZOWEUSER-123-aaaaaa\\", | ||
\\"queueID\\": \\"983068\\", | ||
\\"tsoData\\": [ | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"HELLOW exec processing has started.\\" | ||
}, | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"UNIX message queue id = 983068\\" | ||
}, | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"Input message type = 32772\\" | ||
}, | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"Output message type = 4\\" | ||
}, | ||
{ | ||
\\"VERSION\\": \\"0100\\", | ||
\\"DATA\\": \\"Reading application input from the UNIX message queue.\\" | ||
} | ||
] | ||
}" | ||
"[33m[1m[22m[39m | ||
[33m[1mServlet Key: [22m[39mZOWEUSER-123-aaaaaa" | ||
`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space at an existing TSO address space 2`] = ` | ||
"[33m[1mQueue ID: [22m[39m983068 | ||
" | ||
`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space at an existing TSO address space 3`] = `"HELLOW exec processing has started."`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space at an existing TSO address space 4`] = `"UNIX message queue id = 983068"`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space at an existing TSO address space 5`] = `"Input message type = 32772"`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space at an existing TSO address space 6`] = `"Output message type = 4"`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space at an existing TSO address space 7`] = `"Reading application input from the UNIX message queue."`; | ||
|
||
exports[`receive TSO app handler behavior should properly start TSO address space at an existing TSO address space 8`] = ` | ||
Object { | ||
"queueID": "983068", | ||
"reused": false, | ||
"servletKey": "ZOWEUSER-123-aaaaaa", | ||
"timeout": false, | ||
"tsoData": Array [ | ||
Object { | ||
"DATA": "HELLOW exec processing has started.", | ||
"VERSION": "0100", | ||
}, | ||
Object { | ||
"DATA": "UNIX message queue id = 983068", | ||
"VERSION": "0100", | ||
}, | ||
Object { | ||
"DATA": "Input message type = 32772", | ||
"VERSION": "0100", | ||
}, | ||
Object { | ||
"DATA": "Output message type = 4", | ||
"VERSION": "0100", | ||
}, | ||
Object { | ||
"DATA": "Reading application input from the UNIX message queue.", | ||
"VERSION": "0100", | ||
}, | ||
], | ||
"version": undefined, | ||
} | ||
`; |