[INTERNAL] - Update gradle version to be compatible with Java 17 and …#11
Open
isidro-ruiz wants to merge 2 commits intoimperva:masterfrom
Open
[INTERNAL] - Update gradle version to be compatible with Java 17 and …#11isidro-ruiz wants to merge 2 commits intoimperva:masterfrom
isidro-ruiz wants to merge 2 commits intoimperva:masterfrom
Conversation
added 2 commits
November 3, 2022 11:24
…fix for NullPointerException
| int statusCode = httpResponse.getStatusLine().getStatusCode(); | ||
| boolean isStatusCodeValid = httpResponseValidator.isValidHttpCode(statusCode); | ||
| TestReporter.log((isStatusCodeValid? "✅ " : "❌ ") +"Request was: " + httpRequest.toString() + ", Response status code: " + statusCode + (isStatusCodeValid? " " : " (UNEXPECTED)")); | ||
| TestReporter.log((isStatusCodeValid? "ok " : "not ok ") +"Request was: " + httpRequest.toString() + ", Response status code: " + statusCode + (isStatusCodeValid? " " : " (UNEXPECTED)")); |
Contributor
There was a problem hiding this comment.
Thanks for the change. Do the visual marks create any issues? Their intention was only to help see whether there were issues visually.
I suggest having both the text and the visual marks.
Author
|
Hi yes. In Windows these marks give exceptions as those ASCII chars are
not compatible and only work for Linux....
El vie, 4 nov 2022 23:14, Boris Serebro ***@***.***> escribió:
… ***@***.**** commented on this pull request.
------------------------------
In src/main/java/com/imperva/apiattacktool/tests/MainTest.java
<#11 (comment)>
:
> TestReporter.log("");
Assert.fail(anyException.getMessage());
return;
}
int statusCode = httpResponse.getStatusLine().getStatusCode();
boolean isStatusCodeValid = httpResponseValidator.isValidHttpCode(statusCode);
- TestReporter.log((isStatusCodeValid? "✅ " : "❌ ") +"Request was: " + httpRequest.toString() + ", Response status code: " + statusCode + (isStatusCodeValid? " " : " (UNEXPECTED)"));
+ TestReporter.log((isStatusCodeValid? "ok " : "not ok ") +"Request was: " + httpRequest.toString() + ", Response status code: " + statusCode + (isStatusCodeValid? " " : " (UNEXPECTED)"));
Thanks for the change. Do the visual marks create any issues? Their
intention was only to help see whether there were issues visually.
I suggest having both the text and the visual marks.
—
Reply to this email directly, view it on GitHub
<#11 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALYM4G5DS2ANVH4KFNODFNLWGWDDLANCNFSM6AAAAAARV7LUBE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Contributor
|
Thanks! Thanks! |
Author
|
No problema. I Guess you can use the Unicode one of this versión, ir should
work for both: https://en.wikipedia.org/wiki/Check_mark#Unicode
Other important changes un that pull request are the upgrade of gradle
version in order to support jdk17 and the check for an scenario coming with
empty values and trowing an excepcion
El vie, 4 nov 2022 23:51, Boris Serebro ***@***.***> escribió:
… Thanks!
Is there a visual character we can use which will work for both?
Thanks!
—
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALYM4GYCEJRAQBF5MFDUHGDWGWHPDANCNFSM6AAAAAARV7LUBE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Contributor
|
Thanks! Would appreciate it if you could incorporate such a character that is compatible with your WIndows machine, and I will approve. Thanks! |
Author
|
Ok thank u!
El sáb, 5 nov 2022 23:04, Boris Serebro ***@***.***> escribió:
… Thanks! Would appreciate it if you could incorporate such a character that
is compatible with your WIndows machine, and I will approve.
Thanks!
—
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALYM4GZGCBKR6VWAO4LBFGTWG3KVHANCNFSM6AAAAAARV7LUBE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Contributor
|
Hey @isidro-ruiz , are you planning on making the changes? Thanks! |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…fix for NullPointerException