Closed
Bug 976833
Opened 12 years ago
Closed 12 years ago
Override JUnit API methods in UITest
Categories
(Firefox for Android Graveyard :: Testing, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 30
People
(Reporter: mcomella, Assigned: mcomella)
References
Details
Attachments
(1 file, 1 obsolete file)
|
5.65 KB,
patch
|
mcomella
:
review+
|
Details | Diff | Splinter Review |
To prevent accidental usage. You probably want to throw `NotImplementedException`.
This may or may not work as discussed in bug 976775 (e.g. might screw with Robotium), but give it a shot!
| Assignee | ||
Comment 1•12 years ago
|
||
bug 976775 probably needs to land first, because sometimes junit is accidentally called.
Depends on: 976775
Whiteboard: [mentor
| Assignee | ||
Updated•12 years ago
|
Whiteboard: [mentor
| Assignee | ||
Updated•12 years ago
|
Whiteboard: [mentor=mcomella][lang=java]
| Assignee | ||
Updated•12 years ago
|
Whiteboard: [mentor=mcomella][lang=java]
| Assignee | ||
Comment 2•12 years ago
|
||
Attachment #8387221 -
Flags: review?(lucasr.at.mozilla)
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → michael.l.comella
Status: NEW → ASSIGNED
Comment 3•12 years ago
|
||
Comment on attachment 8387221 [details] [diff] [review]
Override JUnit methods in UITest.
Review of attachment 8387221 [details] [diff] [review]:
-----------------------------------------------------------------
Nice.
::: mobile/android/base/tests/UITest.java
@@ +239,5 @@
> + throw new UnsupportedOperationException(JUNIT_FAILURE_MSG);
> + }
> +
> + // Note: inexplicably, javac does not think we're overriding these methods,
> + // so we can't use the @Override annotation.
Weird.
Attachment #8387221 -
Flags: review?(lucasr.at.mozilla) → review+
| Assignee | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Backed out for robocop failures on all platforms. Please make sure this passes on Try before your next attempt at pushing.
https://hg.mozilla.org/integration/fx-team/rev/01d7be943857
https://tbpl.mozilla.org/php/getParsedLog.php?id=35802078&tree=Fx-Team
| Assignee | ||
Comment 6•12 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM UTC-5] from comment #5)
> Backed out for robocop failures on all platforms. Please make sure this
> passes on Try before your next attempt at pushing.
Sorry, it slipped my mind before: https://tbpl.mozilla.org/?tree=Try&rev=ac00185e3ceb
| Assignee | ||
Updated•12 years ago
|
Attachment #8387221 -
Attachment is obsolete: true
| Assignee | ||
Updated•12 years ago
|
Attachment #8387926 -
Flags: review+
| Assignee | ||
Comment 7•12 years ago
|
||
green try in comment 6 so I landed:
https://hg.mozilla.org/integration/fx-team/rev/88184c55d335
Comment 8•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 30
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
•