Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cics REQUEST improvements #2602

Open
wants to merge 4 commits into
base: development
Choose a base branch
from

Conversation

mm-broadcom
Copy link
Contributor

How Has This Been Tested?

Created and ran tests for both valid and invalid REQUEST commands.

Checklist:

  • Each of my commits contains one meaningful change
  • I have performed rebase of my branch on top of the development
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have checked my code and corrected any misspellings

@mm-broadcom
Copy link
Contributor Author

@KutluOzel-b Could you review this?

checkDuplicates(ctx);
}

private void checkEncryptptkt(CICSParser.Cics_request_encryptptktContext ctx) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add check for ENCRYPTPTKT mandatory

}

private void checkPassticket(CICSParser.Cics_request_passticketContext ctx) {
checkHasMandatoryOptions(ctx.ESMAPPNAME(), ctx, "ESMAPPNAME");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add check for PASSTICKET mandatory

CICSTestUtils.noErrorTest(PASSTICKET_VALID_2);
}

// Invalid Tests
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add tests for PASSTICKET and ENCRYPTPTKT is being mandatory

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't work that way. There is no guarantee that you'd be in the rule the user intended.

…tCicsRequestStatement.java

Co-authored-by: Kutlu <104970275+KutluOzel-b@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants