Closed
Bug 1085595
Opened 11 years ago
Closed 11 years ago
Move hard-coded strings in testDoorHanger into StringHelper
Categories
(Firefox for Android Graveyard :: Testing, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 36
People
(Reporter: Margaret, Assigned: lviknesh, Mentored)
Details
(Whiteboard: [good first bug][lang=java])
Attachments
(1 file, 1 obsolete file)
|
12.11 KB,
patch
|
Margaret
:
review+
|
Details | Diff | Splinter Review |
We declare local variables for a lot of strings in here:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/tests/testDoorHanger.java
Instead, we should declare them here:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/tests/StringHelper.java
For details about running robocop tests locally, see this documentation:
https://wiki.mozilla.org/Mobile/Fennec/Android#Robocop
Comment 1•11 years ago
|
||
Can I work on this?
| Assignee | ||
Comment 2•11 years ago
|
||
Assignee: nobody → lviknesh
Status: NEW → ASSIGNED
Attachment #8508903 -
Flags: review?(margaret.leibovic)
| Reporter | ||
Comment 3•11 years ago
|
||
(In reply to Yasaswy Kota [:caber] from comment #1)
> Can I work on this?
Hi Yasaswy, unfortunately, it looks like vikneshwar beat you to this bug. Let me know if you need help finding another bug! We'd love to see you get involved!
| Reporter | ||
Comment 4•11 years ago
|
||
Comment on attachment 8508903 [details] [diff] [review]
moved-to-StringHelper.patch
Review of attachment 8508903 [details] [diff] [review]:
-----------------------------------------------------------------
Looking good! I made a try push:
https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=0b8826a204cd
If it's green, we can land it. You've been doing a lot of great work, let me know if you need help finding more challenging bugs! It would be nice to leave these [good first bugs] for first-timers :)
::: mobile/android/base/tests/StringHelper.java
@@ +251,5 @@
> + public static final String LOGIN_MESSAGE = "Save password";
> + public static final String LOGIN_ALLOW = "Save";
> + public static final String LOGIN_DENY = "Don't save";
> +
> + //Strings used in popup
Nit: These strings are used in the popup-blocking doorhanger, not in a popup. We can remove this comment since the comment above about doorhanger messages and buttons applies here.
Attachment #8508903 -
Flags: review?(margaret.leibovic) → review+
Comment 5•11 years ago
|
||
(In reply to :Margaret Leibovic from comment #3)
> (In reply to Yasaswy Kota [:caber] from comment #1)
> > Can I work on this?
>
> Hi Yasaswy, unfortunately, it looks like vikneshwar beat you to this bug.
> Let me know if you need help finding another bug! We'd love to see you get
> involved!
Hi Margaret, it would be great if you can find something that I help out with!
| Assignee | ||
Comment 6•11 years ago
|
||
Removed the comment :)
Attachment #8508903 -
Attachment is obsolete: true
Flags: needinfo?(margaret.leibovic)
| Reporter | ||
Comment 7•11 years ago
|
||
Comment on attachment 8509525 [details] [diff] [review]
final.patch
Review of attachment 8509525 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, thanks! And the try run looks green, so we can land this.
Attachment #8509525 -
Flags: review+
| Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(margaret.leibovic)
Keywords: checkin-needed
Comment 8•11 years ago
|
||
Keywords: checkin-needed
Whiteboard: [good first bug][lang=java] → [good first bug][lang=java][fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [good first bug][lang=java][fixed-in-fx-team] → [good first bug][lang=java]
Target Milestone: --- → Firefox 36
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•