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

date formatting #104

Merged
merged 3 commits into from
Jun 1, 2017
Merged

date formatting #104

merged 3 commits into from
Jun 1, 2017

Conversation

jmartin-sul
Copy link
Member

closes sul-dlss/web-archiving#49

third commit contains an example of what i was thinking of in the second thing i mentioned here (about writing to System.err): #102 (review)

@jmartin-sul
Copy link
Member Author

i assume coverage will jump a bit once this is merged to a master branch that contains @ndushay's splitting out of tests that need powermockito.

Copy link
Contributor

@ndushay ndushay left a comment

Choose a reason for hiding this comment

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

LGTM. 👍 after rebase

…acing

* make WasapiDownloaderSettings.settings protected instead of private
* TestWasapiDownloaderSettings.getSettingsErrorMessages_listsAllErrors creates a regular (non-spy) WasapiDownloaderSettings instance and injects a filled-in Properties instance instead of mocking accessor method returns.
* java.lang stuff is imported by default
…lized version of the date (in a format we know the WASAPI endpoint accepts)

* replace isValidIso8601String with normalizeIso8601Setting and normalizeIso8601StringForEndpoint
 * test normalizeIso8601Setting
@jmartin-sul jmartin-sul force-pushed the 49-date-formatting branch from c51d88f to 5fc233a Compare June 1, 2017 18:40
@coveralls
Copy link

Coverage Status

Coverage increased (+0.3%) to 88.5% when pulling 5fc233a on 49-date-formatting into 060aa9e on master.

@ndushay ndushay merged commit c923690 into master Jun 1, 2017
@ndushay ndushay deleted the 49-date-formatting branch June 1, 2017 18:52
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.

date format: output helpful message if unallowable format for dates given to WASAPI endpoint?
3 participants