Skip to content

Conversation

@seran
Copy link
Contributor

@seran seran commented Nov 4, 2025

No description provided.

@seran seran requested a review from arcuri82 November 5, 2025 18:40
@seran seran requested a review from arcuri82 November 18, 2025 23:02
} else {
lines.addSingleCommentLine("Verifying that there are no requests made to HttpCallbackVerifier before test execution.")
lines.add("assertFalse(${verifier.getVerifierName()}")
lines.addStatement("assertFalse(verifierHasReceivedRequests(${verifier.getVerifierName()}, \"${action.getName()}\"))")
Copy link
Collaborator

Choose a reason for hiding this comment

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

if this verifierHasReceivedRequests label is used more than once in the code, should be put in a val

initTestMethod(solution, lines, testSuiteFileName)
lines.addEmpty(2)

if (config.ssrf && solution.hasSsrfFaults() && format.isJava()) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

not used in Kotlin?

}
format.isJava() -> {
lines.startCommentBlock()
lines.addBlockCommentLine("Method to verify whether the HttpCallbackVerifier has received any requests.")
Copy link
Collaborator

Choose a reason for hiding this comment

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

why the comment for Java is different for the comment for Kotlin ???

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.

3 participants