Closed
Bug 711591
Opened 13 years ago
Closed 13 years ago
make the robotium test driver a bit more driver like
Categories
(Testing :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla12
People
(Reporter: jmaher, Assigned: jmaher)
References
Details
(Whiteboard: [not-fennec-11])
Attachments
(1 file)
22.16 KB,
patch
|
cmtalbert
:
review+
|
Details | Diff | Splinter Review |
some tweaks that tfair and automatedtester had talked about.
This is a patch that I need to test with and tweak before asking for review. Feel free to chime in now or then to comment.
(In reply to Joel Maher (:jmaher) from comment #0)
> some tweaks that tfair and automatedtester had talked about.
>
> This is a patch that I need to test with and tweak before asking for review.
> Feel free to chime in now or then to comment.
I think you forgot the patch...
Assignee | ||
Comment 2•13 years ago
|
||
updated patch with local html files for test, and an added assert class. This should be more compatible for selenium and other test driver syntax models.
Comment on attachment 584437 [details] [diff] [review]
updated tests with an asserts framework as well as general cleanup (1.0)
Review of attachment 584437 [details] [diff] [review]:
-----------------------------------------------------------------
Not entirely sure who you were requesting review from, but since I'm around, I'll take it. Feel free to ask again if you want someone else's feedback.
I think the changes look good. You might want to consider removing the setLogFile api from the driver code so no one gets confused, as I mentioned below. But, as far as I can see, this code looks good r+.
::: mobile/android/base/tests/testAwesomebar.java.in
@@ +64,5 @@
> actions = new FennecNativeActions(activity, solo, getInstrumentation());
> driver.setLogFile((String)config.get("logfile"));
> +
> + asserter = new FennecNativeAssert();
> + asserter.setLogFile((String)config.get("logfile"));
Do we need to remove the setLogFile function from the FennecNativeDriver code? I think it would be a good thing to do so that there is only one way to call setLogFile. I'm asking as I don't see that in this patch.
Attachment #584437 -
Flags: review? → review+
Assignee | ||
Comment 4•13 years ago
|
||
Comment 5•13 years ago
|
||
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/2ea7afaa47a9 - one of the two in that push was hitting "TypeError: Cc['@mozilla.org/android/bridge;1'] is undefined at :0" in desktop mochitest-other.
Assignee | ||
Comment 6•13 years ago
|
||
this actually wasn't backed out (or somehow landed again by accident). I pulled the latest source and my other patch was missing, but this patch (new files and all) were in the tree. I will see if this all makes it to mozilla-central on the next merge.
Comment 7•13 years ago
|
||
/me does a quick merge to hide the evidence
https://hg.mozilla.org/mozilla-central/rev/632f07583bd8
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
Comment 8•13 years ago
|
||
Jorl, please request aurora approval or mark the whiteboard not-fennec-11
Assignee | ||
Updated•13 years ago
|
Whiteboard: [not-fennec-11]
You need to log in
before you can comment on or make changes to this bug.
Description
•