-
Notifications
You must be signed in to change notification settings - Fork 521
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 part of #3602 Added label for HomeActivity #3850
Fix part of #3602 Added label for HomeActivity #3850
Conversation
@rt4914 Still Regex pattern validation check is failing |
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.
@vrajdesai78 PTAL.
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.
@vrajdesai78
If you see the sample PR mentioned in the issue it contains a test case too.
You need to add test case similar to testReadingTextSizeActivity_hasCorrectActivityLabel
@rt4914 Can you guide me write a proper test actually I haven't write any test before |
@vrajdesai78 please use |
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.
@vrajdesai78 PTAL at the link that I have added in below comment.
@@ -189,6 +195,7 @@ class HomeActivityTest { | |||
private val longNameInternalProfileId: Int = 3 | |||
private lateinit var profileId: ProfileId | |||
private lateinit var profileId1: ProfileId | |||
private val summaryValue = "Medium" |
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.
This is not required
@vrajdesai78 please make sure you reply to all the comments. Also to assign PR to anyone just comment "PTAL @" and oppia-bot will assign it. |
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.
@vrajdesai78 PTAL, thanks.
app/src/sharedTest/java/org/oppia/android/app/home/HomeActivityTest.kt
Outdated
Show resolved
Hide resolved
@rt4914 PTAL |
@rt4914 PTAL. |
Unassigning @vrajdesai78 since a re-review was requested. @vrajdesai78, please make sure you have addressed all review comments. 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.
@rt4914 how can I pass unit test which are failing ? Can you guide or provide some resource. I have solved static lint issue |
app/src/sharedTest/java/org/oppia/android/app/home/HomeActivityTest.kt
Outdated
Show resolved
Hide resolved
@vrajdesai78 see my comment in HomeActivityTest--it should help you get unblocked. Also, I noticed that there are a lot of seemingly unrelated changes in this PR. Please revert any changes that aren't needed to address the part of #3602 that this is aiming to solve. |
@rt4914 PTAL |
Unassigning @vrajdesai78 since a re-review was requested. @vrajdesai78, please make sure you have addressed all review comments. 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.
LGTM, 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.
Thanks @vrajdesai78. LGTM for codeowners.
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
Fix part of #3602 Added label for HomeActivity. I have added label Home to HomeActivity.
Essential Checklist