Skip to content

Commit

Permalink
snapshots
Browse files Browse the repository at this point in the history
Signed-off-by: jace-roell <jace.roell@hotmail.com>
  • Loading branch information
jace-roell committed Nov 4, 2024
1 parent 4d5ddb5 commit e27f135
Show file tree
Hide file tree
Showing 2 changed files with 123 additions and 72 deletions.
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",
}
`;
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.\\"
}
]
}"
"
Servlet Key: ZOWEUSER-123-aaaaaa"
`;

exports[`receive TSO app handler behavior should properly start TSO address space and run an application at the created address space 2`] = `
"Queue ID: 983068
"
`;

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.\\"
}
]
}"
"
Servlet Key: ZOWEUSER-123-aaaaaa"
`;

exports[`receive TSO app handler behavior should properly start TSO address space at an existing TSO address space 2`] = `
"Queue ID: 983068
"
`;

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,
}
`;

0 comments on commit e27f135

Please sign in to comment.