- 09 Apr, 2020 2 commits
-
-
Johan Lorenzo authored
-
Mozilla L10n Automation Bot authored
-
- 08 Apr, 2020 6 commits
-
-
Michael Comella authored
They were both in their packages by themselves, which feels unnecessary. Unfortunately, a utils pkg is discouraged by kotlin but we don't have a better place for them right now. Maybe an annotations/ pkg for the latter?
-
ekager authored
-
Johan Lorenzo authored
-
MickeyMoz authored
-
mcarare authored
-
Abhay Agarwal authored
-
- 07 Apr, 2020 9 commits
-
-
Sawyer Blatz authored
-
Christian Sadilek authored
-
Christian Sadilek authored
-
Sawyer Blatz authored
-
MickeyMoz authored
-
Mihai Eduard Badea authored
Added a new option in Private browsing menu to allow or prevent screenshots from being taken while in private mode by adding or removing the FLAG_SECURE flag from the home activity's window. This method is called whenever the activity is initialized to account for the browsing mode being changed and whenever the setting from the Private browsing menu is changed. The setting is by default set to true (screenshots are allowed to be taken)
-
Mugurell authored
-
Richard Pappalardo authored
-
Mozilla L10n Automation Bot authored
-
- 06 Apr, 2020 10 commits
-
-
Michael Comella authored
-
Michael Comella authored
I created a series of editor macros to do this with minimal errors (and to do it quickly!).
-
Jeff Boek authored
* For #220 - Removes feature flag for language picker * For #220 - Updates Android Components
-
Aaron Train authored
-
Mihai Adrian authored
* For #9687: Refactor onboarding cards to follow app architecture * For #9687: Update unit test to new controller parameters
-
Arturo Mejia authored
enabling/disabling add-on
-
Michael Droettboom authored
We discovered in the Fenix metrics errors query [1] that top_sites_count had a spike in the number of errors. It seems to be recording a count of 0, which is an invalid value. [1] https://sql.telemetry.mozilla.org/queries/67107/source#169983
-
MickeyMoz authored
-
Mozilla L10n Automation Bot authored
-
MickeyMoz authored
-
- 04 Apr, 2020 2 commits
-
-
mcarare authored
-
Mozilla L10n Automation Bot authored
-
- 03 Apr, 2020 11 commits
-
-
Aaron Train authored
-
Oana Horvath authored
and removed file created by mistake -e added reason for disabled tests
-
Mugurell authored
-
Aaron Train authored
-
Michael Comella authored
-
Michael Comella authored
See added comments for explanation.
-
Michael Comella authored
This will prevent us from regressing on adding older versions of the unit test runner.
-
Michael Comella authored
This disambiguates it from the FirefoxTestApplication used in on-device tests.
-
Michael Comella authored
The helpers/ package is created to separate the test support code from the code under test.
-
Michael Comella authored
This is how we can apply the new test runner to remove duplication. This commit was generated programmatically with the following commands: ``` // Replace test runners with new one. find app/src/test -type f -exec gsed -i "s/@RunWith(RobolectricTestRunner::class)/@RunWith(FenixRobolectricTestRunner::class)/" {} + find app/src/test -type f -exec gsed -i "s/@RunWith(AndroidJUnit4::class)/@RunWith(FenixRobolectricTestRunner::class)/" {} + // Replace imports of old test runners with new one find app/src/test -type f -exec gsed -i "s/org.robolectric.RobolectricTestRunner/org.mozilla.fenix.helpers.FenixRobolectricTestRunner/" {} + find app/src/test -type f -exec gsed -i "s/androidx.test.ext.junit.runners.AndroidJUnit4/org.mozilla.fenix.helpers.FenixRobolectricTestRunner/" {} + // Remove unused imports find app/src/test -type f -exec gsed -i "/@Config(application = TestApplication::class)/d" {} + find app/src/test -type f -exec gsed -i "/import org.mozilla.fenix.TestApplication/d" {} + find app/src/test -type f -exec gsed -i "/import org.robolectric.annotation.Config/d" {} + ``` Where gsed is the GNU version of sed installed via homebrew. After running these commands, I need to manually clean up the following files: - FenixRobolectricTestRunner - LocaleManagerExtensionTest
-
Michael Comella authored
This class will help us reduce duplication by specifying the configuration within the test runner rather than each test needing to specify it itself. This class is adapted from Firefox for Fire TV: https://github.com/mozilla-mobile/firefox-tv/blob/master/app/src/test/java/org/mozilla/tv/firefox/helpers/FirefoxRobolectricTestRunner.kt
-