Closed
Bug 1063028
Opened 11 years ago
Closed 11 years ago
Change tests/browser/junit3 Java package root to be org.mozilla.gecko
Categories
(Firefox for Android Graveyard :: Testing, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 35
People
(Reporter: nalexander, Assigned: nalexander)
Details
Attachments
(1 file)
24.40 KB,
patch
|
rnewman
:
review+
|
Details | Diff | Splinter Review |
At the moment, the Java package root is org.mozilla.gecko.browser.tests. It generally doesn't make a difference, *except* that if the test package root matches the Fennec package root, then the test package can access package-private classes and functions, including protected static functions. That's nice! It makes testing easier.
I just ran across this while trying to write a JUnit 3 test for HomeConfigPrefsBackend.
We should make the browser JUnit 3 test root org.mozilla.gecko, to match Fennec's.
Assignee | ||
Comment 1•11 years ago
|
||
I thought I attached this two days ago, d'oh! Rubber stamp,
basically, since these tests still don't run on TBPL.
Attachment #8485470 -
Flags: review?(rnewman)
Comment 2•11 years ago
|
||
This looks fine to me, with the obvious question about why there's suddenly a new test file...?!
Assignee: nobody → nalexander
Status: NEW → ASSIGNED
Updated•11 years ago
|
Attachment #8485470 -
Flags: review?(rnewman) → review+
Assignee | ||
Comment 3•11 years ago
|
||
Comment on attachment 8485470 [details] [diff] [review]
Change tests/browser/junit3 Java package root to be org.mozilla.gecko. r=rnewman
Review of attachment 8485470 [details] [diff] [review]:
-----------------------------------------------------------------
::: mobile/android/tests/browser/junit3/src/TestRemoteTabsExpandableListAdapter.java
@@ +1,4 @@
> +/* Any copyright is dedicated to the Public Domain.
> + http://creativecommons.org/publicdomain/zero/1.0/ */
> +
> +package org.mozilla.gecko;
Sorry, didn't mean to slip this in to this patch.
Assignee | ||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 35
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
•