-
Notifications
You must be signed in to change notification settings - Fork 10
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
WarFile.java:147-148: Implement validation of JSON inside... #16 #18
Conversation
Let me find a reviewer for this pull request, thanks for submitting it |
@krzyk please review |
@@ -100,4 +103,32 @@ public void checkEbextensionsValidityThrowsExceptionNoConfigFiles() | |||
); | |||
} | |||
} | |||
|
|||
/** | |||
* Verifies that checkEbextensionsValidity runs fine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- WarFile can use a .ebextensions with valid json
@nhekfqn few comments above, and you should add a test for invalid json also |
@krzyk please review. |
* @return ZipFile mock. | ||
* @throws IOException Thrown in case of error. | ||
*/ | ||
private ZipFile zipWithEbextensionsWithText(final String text) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just zipWithEbextensions(final String text)
is enough
@nhekfqn we are almost there :), see my comments above |
@nhekfqn You can use ExpectedException for checking message |
@krzyk please review. |
|
||
/** | ||
* WarFile throws exception when .ebextensions contains invalid json. | ||
* @todo #16 enable test when WarFile.validYaml implemented |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@todo #16:15min Enable this test when WarFile.validYaml is implemented.
@nhekfqn a comment about todo formatting |
@krzyk Please review. |
@rultor merge pls |
@rultor deploy |
No description provided.