Closed
Bug 969922
Opened 11 years ago
Closed 11 years ago
Remove fennec_ids.txt usage from Robocop test APK
Categories
(Firefox for Android Graveyard :: Testing, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 30
People
(Reporter: nalexander, Assigned: nalexander)
References
Details
Attachments
(5 files)
1.04 KB,
patch
|
mcomella
:
review+
|
Details | Diff | Splinter Review |
2.58 KB,
patch
|
mcomella
:
review+
|
Details | Diff | Splinter Review |
26.66 KB,
patch
|
mcomella
:
review+
|
Details | Diff | Splinter Review |
9.75 KB,
patch
|
mcomella
:
review+
|
Details | Diff | Splinter Review |
2.65 KB,
patch
|
mcomella
:
review+
|
Details | Diff | Splinter Review |
This ticket tracks converting all existing uses of fennec_ids.txt to reference Fennec directly, and to stop loading fennec_ids.txt.
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Comment 4•11 years ago
|
||
Assignee | ||
Comment 5•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #8372906 -
Flags: review?(michael.l.comella)
Assignee | ||
Updated•11 years ago
|
Attachment #8372907 -
Flags: review?(michael.l.comella)
Assignee | ||
Updated•11 years ago
|
Attachment #8372908 -
Flags: review?(michael.l.comella)
Assignee | ||
Updated•11 years ago
|
Attachment #8372909 -
Flags: review?(michael.l.comella)
Assignee | ||
Updated•11 years ago
|
Attachment #8372910 -
Flags: review?(michael.l.comella)
Assignee | ||
Comment 6•11 years ago
|
||
A pleasantly green try build is up at
https://tbpl.mozilla.org/?tree=Try&rev=63f82c0319e0
Assignee: nobody → nalexander
Status: NEW → ASSIGNED
Comment on attachment 8372906 [details] [diff] [review]
Pre: Close cursor.
Review of attachment 8372906 [details] [diff] [review]:
-----------------------------------------------------------------
r+ w/ try/finally.
It probably doesn't matter because we'll end the test and kill Fennec when we throw, but better safe than sorry.
::: mobile/android/base/tests/testBrowserProvider.java
@@ +161,5 @@
> Cursor c = getBookmarkByGuid(MOBILE_FOLDER_GUID);
> mAsserter.is(c.moveToFirst(), true, "Mobile bookmarks folder is present");
>
> mMobileFolderId = c.getLong(c.getColumnIndex(mBookmarksIdCol));
> + c.close();
`try {} finally { c.close(); }`
Attachment #8372906 -
Flags: review?(michael.l.comella) → review+
Attachment #8372907 -
Flags: review?(michael.l.comella) → review+
Comment on attachment 8372908 [details] [diff] [review]
Part 2: Replace Driver.findElement(Activity, String) with (Activity, int).
Review of attachment 8372908 [details] [diff] [review]:
-----------------------------------------------------------------
r+ w/ extra R.id usage and comment.
::: mobile/android/base/tests/BaseTest.java
@@ +189,5 @@
> * Click on the URL bar to focus it and enter editing mode.
> */
> protected final void focusUrlBar() {
> // Click on the browser toolbar to enter editing mode
> + final View toolbarView = mSolo.getView("browser_toolbar");
Replace "browser_toolbar" with R.id.browser_toolbar. Similarly below.
::: mobile/android/base/tests/testThumbnails.java
@@ +82,5 @@
> }
>
> private int getTopSiteThumbnailColor(String title) {
> + return -1;
> +// ViewGroup topSites = (ViewGroup) getActivity().findViewById(mTopSitesId);
Add a comment explaining why this is commented out.
Attachment #8372908 -
Flags: review?(michael.l.comella) → review+
Comment on attachment 8372909 [details] [diff] [review]
Part 3: Don't use Solo.getView(String).
Review of attachment 8372909 [details] [diff] [review]:
-----------------------------------------------------------------
(In reply to Michael Comella (:mcomella) from comment #8)
> Replace "browser_toolbar" with R.id.browser_toolbar. Similarly below.
Hee hee, nevermind. :P
r+ w/ unused var removed or used.
::: mobile/android/base/tests/BaseTest.java
@@ +560,5 @@
> return true;
> }
> }, MAX_WAIT_MS);
> mAsserter.ok(success, "waiting for add tab view", "add tab view available");
> + final View addTabView = mSolo.getView(R.id.add_tab);
Unused.
Attachment #8372909 -
Flags: review?(michael.l.comella) → review+
Attachment #8372910 -
Flags: review?(michael.l.comella) → review+
Assignee | ||
Comment 10•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/2f4de5bbd44b
https://hg.mozilla.org/integration/mozilla-inbound/rev/84415b7c3f29
https://hg.mozilla.org/integration/mozilla-inbound/rev/d3e11d7ae99d
https://hg.mozilla.org/integration/mozilla-inbound/rev/0219e9ab57a4
https://hg.mozilla.org/integration/mozilla-inbound/rev/a101a9475c10
Comment 11•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/2f4de5bbd44b
https://hg.mozilla.org/mozilla-central/rev/84415b7c3f29
https://hg.mozilla.org/mozilla-central/rev/d3e11d7ae99d
https://hg.mozilla.org/mozilla-central/rev/0219e9ab57a4
https://hg.mozilla.org/mozilla-central/rev/a101a9475c10
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 30
Updated•4 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
•