-
Notifications
You must be signed in to change notification settings - Fork 533
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
Fix #134: HomeFragment- Continue playing Low-fi #304
Conversation
@veena14cs @nikitamarysolomanpvt @BenHenning @jamesxu0 @vinitamurthi While writing test-cases I was actually not able to run all test-cases at once but I was able to run each and every individual test case. (Maybe some android-studio related issue.) |
app/src/main/java/org/oppia/app/home/continueplaying/OngoingListAdapter.kt
Outdated
Show resolved
Hide resolved
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.
Looks good. Please address nit change.
I was able to run all the testcases at once in my system. |
Okay. Thanks. |
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.
app/src/main/java/org/oppia/app/home/UserAppHistoryViewModel.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/home/continueplaying/ContinuePlayingFragmentPresenter.kt
Show resolved
Hide resolved
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.
Thanks @rt4914! Overall, the PR looks really good to me. Please re-assign if you want me to take another look, but once these comments are addressed feel free to submit.
app/src/main/java/org/oppia/app/home/continueplaying/ContinuePlayingViewModel.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/home/continueplaying/ContinuePlayingFragmentPresenter.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/home/continueplaying/OngoingListAdapter.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/home/continueplaying/OngoingListAdapter.kt
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/home/continueplaying/OngoingStoryViewModel.kt
Outdated
Show resolved
Hide resolved
app/src/sharedTest/java/org/oppia/app/home/ContinuePlayingActivityTest.kt
Outdated
Show resolved
Hide resolved
app/src/sharedTest/java/org/oppia/app/home/ContinuePlayingActivityTest.kt
Outdated
Show resolved
Hide resolved
@nikitamarysolomanpvt All these test-cases are actually passing in portrait as well as landscape mode. Can you please mention error from one of the failing test-case? Also, you are testing HomeActivityTest but this PR has test cases in |
I checked all test classes which are modified... |
Actually these all are same test-cases which were introduced earlier but now I have just divided them in two separate files. Also, your tests were failing in The We will solve this in next PR. |
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.
LGTM
Merging this PR. |
@nikitamarysolomanpvt I did check all the HomeActivityTest test-cases in landscape and orientation mode on develop and they are passing for me. |
Explanation
This PR is a part of HomeFragment and finished the "ContinuePlayingActivity"
Corresponding Mock: https://xd.adobe.com/spec/e2239cf4-9cde-4c08-5296-25316c1f0a14-9412/screen/2b6c8e95-5ac7-4472-bc2b-1c318a3f7e5c/HP-Continue-Playing-
Checklist