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

UI fixes and tests #137

Merged
merged 11 commits into from
Oct 23, 2018
Merged

UI fixes and tests #137

merged 11 commits into from
Oct 23, 2018

Conversation

brarcher
Copy link
Owner

A few fixes in the UI:

  • ignore video bitrate for GIF
  • hide custom video resolution if not needed

as well as adding robolectric unit tests for the main activity

Gradle now places the compiled class file under a different path.
The FFmpeg service needs to be mocked out, which requires
mocking a static method. The PowerMock framework supports this.
This is so that unit test can access these.
When the media container was changed it resulted in the
custom video resolution option appearing. However, this should
only appear if the video resolution is set to 'custom'.
Previously if the video bitrate was invalid encoding to GIF
would be rejected. The video bitrate is not used for
GIF, so it can be safely ignored.
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.

1 participant