Ms2ger
4d796781c7
Bug 1257510 - Use modern exception syntax in mozbase; r=ahal
...
The comma form is long-deprecated.
2016-03-18 09:03:25 +01:00
Nick Alexander
e9505d1f75
Bug 1242213 - Part 0: Use org.mozilla.gecko.BrowserApp instead of .App. r=me,gbrown,bc
...
This approach lets us get rid of the .App <activity-alias> definitions, at
least.
In Bug 1237755, I tried pretty hard to use real intent filters, rather
than a different hard-code path name, but ran into significant issues,
and finally into the hard reality that Android 2.3 doesn't support
bare package names. (It only supports package/class component names.)
Android 2.3 can't die fast enough.
Sadly, this approach doesn't address the issues I see loading URLs
that prompted Bug 1237755.
This is the path of least resistance. Onwards!
Tested via:
nalexander@chocho ~/M/gecko> ./mach run
Starting: Intent { act=android.activity.MAIN cmp=org.mozilla.fennec_nalexander/org.mozilla.gecko.BrowserApp }
Warning: Activity not started, its current task has been brought to the front
nalexander@chocho ~/M/gecko> ./mach run https://mozilla.org
Starting: Intent { act=android.activity.MAIN dat=https://mozilla.org cmp=org.mozilla.fennec_nalexander/org.mozilla.gecko.BrowserApp }
nalexander@chocho ~/M/gecko> ./mach run file:///mnt/sdcard/test.html
Starting: Intent { act=android.activity.MAIN dat=file:///mnt/sdcard/test.html cmp=org.mozilla.fennec_nalexander/org.mozilla.gecko.BrowserApp }
--HG--
extra : commitid : JUIJj13Q0Py
extra : rebase_source : a62d8a74ca2772fd3933597589e386cf56caa396
extra : amend_source : 234f3b6b8ef6c6f2cce991375f5c28fe1cb32cad
extra : histedit_source : 5476222279f6be0927879a1136def94673885071%2Cca4aad42479731c97586003ee8bcdfe22a147776
2016-01-27 12:15:19 -08:00
Julien Pagès
c6fd260e95
Bug 1236467 - [mozdevice] raise exception when missing devices access permissions. r=ahal
...
Also bump the version to 0.48.
--HG--
extra : rebase_source : a79be8684a51a529a6b163c9bac378a199ab6961
2016-01-04 16:29:36 +01:00
Geoff Brown
c0573a940f
Bug 1144393 - Use /storage/sdcard in preference to /sdcard for adb device root and enable test_file_equality.js; r=jmaher
2015-12-21 14:24:08 -07:00
Geoff Brown
9d3f18e1e3
Bug 1233454 - Guard against ps timeout in devicemanagerADB.getProcessList; r=jmaher
2015-12-18 12:17:06 -07:00
Bob Clary
98b2574861
Bug 1214812 - [mozdevice] - adb_android.py - fix missing test_root argument to ADBAndroid, r=gbrown.
2015-12-02 08:34:20 -08:00
Bob Clary
9115f85f5d
Bug 1214812 - [mozdevice] - adb.py, adb_android.py - if possible always run adbd as root, set SELinux to Permissive, r=gbrown.
2015-12-02 08:34:20 -08:00
Bob Clary
f2a34ba40e
Bug 1214812 - [mozdevice] - adb.py - do not prepend LD_LIBRARY_PATH to su commands, r=gbrown.
2015-12-02 08:34:20 -08:00
Bob Clary
98a7468d9e
Bug 1214812 - [mozdevice] - devicemanagerADB.py - listFiles - check for device or resource busy failure message, r=gbrown.
2015-12-02 08:34:20 -08:00
Bob Clary
6980875837
Bug 1214812 - [mozdevice] - devicemanagerADB.py - check if busybox's ls -1A is used, r=gbrown.
2015-12-02 08:34:19 -08:00
Bob Clary
7851921283
Bug 1214812 - [mozdevice] - devicemanagerADB.py - use su 0 if it is available; check for root updates, r=gbrown.
2015-12-02 08:34:19 -08:00
Wes Kocher
f619310a07
Backed out 6 changesets (bug 1214812) for kk emulator test bustage
...
Backed out changeset b36710809f0c (bug 1214812)
Backed out changeset a3b5c66f34e4 (bug 1214812)
Backed out changeset df6d3dc3fca9 (bug 1214812)
Backed out changeset 9f94be2a3c1d (bug 1214812)
Backed out changeset 1eaf9f30b00d (bug 1214812)
Backed out changeset 902b985b3273 (bug 1214812)
--HG--
extra : commitid : LNisZGOtv0q
2015-12-01 15:33:07 -08:00
Bob Clary
28f6dda48d
Bug 1214812 - [mozdevice] - adb_android.py - fix missing test_root argument to ADBAndroid, r=gbrown.
2015-12-01 14:25:13 -08:00
Bob Clary
f0fb183222
Bug 1214812 - [mozdevice] - adb.py, adb_android.py - if possible always run adbd as root, set SELinux to Permissive, r=gbrown.
2015-12-01 14:25:12 -08:00
Bob Clary
d29912ed0e
Bug 1214812 - [mozdevice] - adb.py - do not prepend LD_LIBRARY_PATH to su commands, r=gbrown.
2015-12-01 14:25:12 -08:00
Bob Clary
51794b5162
Bug 1214812 - [mozdevice] - devicemanagerADB.py - listFiles - check for device or resource busy failure message, r=gbrown.
2015-12-01 14:25:12 -08:00
Bob Clary
da4e38e6e7
Bug 1214812 - [mozdevice] - devicemanagerADB.py - check if busybox's ls -1A is used, r=gbrown.
2015-12-01 14:25:12 -08:00
Bob Clary
d292922eee
Bug 1214812 - [mozdevice] - devicemanagerADB.py - use su 0 if it is available; check for root updates, r=gbrown.
2015-12-01 14:25:12 -08:00
Julien Pagès
2725fa621d
Bug 1185969 - bump mozdevice version to 0.47. r=bc
...
--HG--
extra : commitid : JNw6jt9Or4C
extra : rebase_source : 1a70a3288c69c4fe1e1450aca076903df3b0828b
2015-10-29 20:37:44 +01:00
Julien Pagès
5fe647171b
Bug 1185969 - [mozdevice] Allow to use android preview releases. r=bc
...
--HG--
extra : commitid : Ea3gZOnjoy6
extra : rebase_source : 822864eb9507c5650bc9ef29d308ffff63c44b25
2015-10-28 17:22:16 +01:00
Bob Clary
4e47253aa0
Bug 1218997 - [mozdevice] adb_android.py ADBDevice.power_on() requires root, r=gbrown.
2015-10-28 23:21:47 -07:00
Bob Clary
66e5eee002
Bug 1218993 - [mozdevice] do not repeat wait-for-device in adb commands, r=gbrown.
2015-10-28 23:21:47 -07:00
Bob Clary
4b7528e795
Bug 1218987 - [mozdevice] adb.py - add a logcat cleared message to the logcat whenever it is cleared so it is never completely empty, r=gbrown.
2015-10-28 23:21:46 -07:00
Bob Clary
96a017a3e3
Bug 1218984 - [mozdevice] ADBDevice.mkdir - reproduce behavior of mkdir -p, r=gbrown.
2015-10-28 23:21:46 -07:00
Bob Clary
6e30164c2e
Bug 1218981 - [mozdevice] Ensure adb.py methods propagate root to other called methods, r=gbrown.
2015-10-28 23:21:46 -07:00
Bob Clary
284d329d46
Bug 1218978 - [mozdevice] Do not specify logcat buffer when using default buffer 'main', r=gbrown.
2015-10-28 23:21:46 -07:00
Dave Hunt
cf61aea229
Bug 1145680 - [mozdevice] Add reboot, move, copy, and info methods to adb.py. r=bc
2015-10-27 02:30:00 +01:00
Rahul Sharma
a740b87b77
Bug 1157377 - Fixed parameter types to adb_android.py and adb.py. r=dhunt
2015-08-08 18:04:49 +05:30
Andrew Halberstadt
4f232ef5f5
Bug 1014760 - Version bump mozbase modules that depend on mozlog 3.0, r=me
...
--HG--
extra : commitid : L7a2lDztYH4
extra : rebase_source : 6178d707787cfa11a806ea8369789092b22a5d4f
2015-07-17 10:06:59 -04:00
Andrew Halberstadt
2be5ff0c10
Bug 1014760 - Move mozlog.structured to mozlog; Move mozlog to mozlog.unstructured, r=jgraham
...
Mozlog currently has two implementations. The top level package is based on the logging module and is
deprecated. The newer structured logging implementation lives in mozlog.structured. This patch swaps the
two, so the top level mozlog module contains the recommended implementation, while mozlog.unstructured
contains the old one.
--HG--
rename : testing/mozbase/docs/mozlog_structured.rst => testing/mozbase/docs/mozlog.rst
rename : testing/mozbase/mozlog/mozlog/structured/commandline.py => testing/mozbase/mozlog/mozlog/commandline.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/__init__.py => testing/mozbase/mozlog/mozlog/formatters/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/base.py => testing/mozbase/mozlog/mozlog/formatters/base.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/errorsummary.py => testing/mozbase/mozlog/mozlog/formatters/errorsummary.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/__init__.py => testing/mozbase/mozlog/mozlog/formatters/html/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/html.py => testing/mozbase/mozlog/mozlog/formatters/html/html.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/main.js => testing/mozbase/mozlog/mozlog/formatters/html/main.js
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/style.css => testing/mozbase/mozlog/mozlog/formatters/html/style.css
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/xmlgen.py => testing/mozbase/mozlog/mozlog/formatters/html/xmlgen.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/machformatter.py => testing/mozbase/mozlog/mozlog/formatters/machformatter.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/tbplformatter.py => testing/mozbase/mozlog/mozlog/formatters/tbplformatter.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/unittest.py => testing/mozbase/mozlog/mozlog/formatters/unittest.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/xunit.py => testing/mozbase/mozlog/mozlog/formatters/xunit.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/__init__.py => testing/mozbase/mozlog/mozlog/handlers/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/base.py => testing/mozbase/mozlog/mozlog/handlers/base.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/bufferhandler.py => testing/mozbase/mozlog/mozlog/handlers/bufferhandler.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/statushandler.py => testing/mozbase/mozlog/mozlog/handlers/statushandler.py
rename : testing/mozbase/mozlog/mozlog/structured/logtypes.py => testing/mozbase/mozlog/mozlog/logtypes.py
rename : testing/mozbase/mozlog/mozlog/structured/reader.py => testing/mozbase/mozlog/mozlog/reader.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/__init__.py => testing/mozbase/mozlog/mozlog/scripts/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/format.py => testing/mozbase/mozlog/mozlog/scripts/format.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/logmerge.py => testing/mozbase/mozlog/mozlog/scripts/logmerge.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/unstable.py => testing/mozbase/mozlog/mozlog/scripts/unstable.py
rename : testing/mozbase/mozlog/mozlog/structured/stdadapter.py => testing/mozbase/mozlog/mozlog/stdadapter.py
rename : testing/mozbase/mozlog/mozlog/structured/structuredlog.py => testing/mozbase/mozlog/mozlog/structuredlog.py
rename : testing/mozbase/mozlog/mozlog/logger.py => testing/mozbase/mozlog/mozlog/unstructured/logger.py
rename : testing/mozbase/mozlog/mozlog/loggingmixin.py => testing/mozbase/mozlog/mozlog/unstructured/loggingmixin.py
rename : testing/mozbase/mozlog/mozlog/loglistener.py => testing/mozbase/mozlog/mozlog/unstructured/loglistener.py
extra : commitid : 3JWk75JY4N0
extra : rebase_source : 229bad7a7bf8ead013ce62d128c0896a75cad393
2015-07-16 10:38:40 -04:00
Geoff Brown
a9b255a8eb
Bug 1175540 - Reduce timeouts for many adb devicemanager calls; r=mcote
2015-06-21 13:58:34 -06:00
Julien Pagès
0b1f051953
Bug 1173682 - [mozbase] tests do not remove created directories; r=ahal
...
--HG--
extra : commitid : JQuf9D0sp3g
extra : rebase_source : a81fd5a0b1c5be7cf98cca6489a2d530638c93c3
2015-06-20 19:23:25 +02:00
Geoff Brown
c76a85cfb8
Bug 1173120 - Add timeout parameter to devicemanagerADB._runCmd; r=armenzg
2015-06-11 09:22:48 -06:00
Geoff Brown
ae5981e58f
Bug 1172174 - Improve adb timeout handling for Android; r=armenzg
2015-06-10 09:17:44 -06:00
Jonathan Griffin
ab7fba2dea
Bug 1162115 - Bump mozdevice to 0.45, r=wlach
2015-05-07 08:42:51 -07:00
Geoff Brown
c83c60a47f
Bug 1161198 - Update mozdevice test for getLogcat; r=bc
2015-05-04 16:48:51 -06:00
Geoff Brown
ac4815e13b
Bug 1160351 - Bustage fix for 57c6c589cfa1 on a CLOSED TREE
2015-05-04 11:22:56 -06:00
Geoff Brown
8f916d8709
Bug 1160351 - Improve newline handling in getLogcat; r=bc
2015-05-04 10:32:44 -06:00
Dave Hunt
5a597a5e84
Bug 1156812 - [mozdevice] Support specifying alternate log buffers when retrieving or clearing the logcat. r=bclary
2015-04-23 16:42:11 -07:00
Wes Kocher
84a6b2c6d2
Backed out changeset 619f030b0d23 (bug 1156812) for android m7 orange
2015-04-23 16:26:38 -07:00
Dave Hunt
1c0acb181c
Bug 1156812 - [mozdevice] Support specifying alternate log buffers when retrieving or clearing the logcat. r=bclary
...
--HG--
extra : rebase_source : daf38979980ab04f207953dbd682a1b7639f8842
2015-04-22 11:02:00 -04:00
Julien Pages
258af81ab8
Bug 1147614 - [mozdevice] The property ADBDevice.test_root does not appear in documentation. r=bclary
2015-03-31 03:17:00 -07:00
Dave Hunt
218b3a4f73
Bug 1140406 - [mozdevice] Allow connecting to a remote ADB server in adb.py. r=bclary
2015-03-25 12:25:44 +00:00
James Willcox
96b90bb043
Bug 1119962 - Work around 'adb shell' bustedness in newer Android tools r=gbrown
2015-03-09 08:47:03 -05:00
Geoff Brown
855e467da1
Bug 1134245 - Improve formatting of devicemanager getInfo() data; r=bc
2015-02-27 13:15:00 -07:00
Geoff Brown
4ca81d0a83
Bug 1137289 - Guard against dumpsys failure in DroidADB; r=jmaher
2015-02-26 14:56:48 -07:00
William Lachance
cf9936f338
Bug 1135255 - Fix mozdevice tempfile handling on Windows. r=gbrown
2015-02-23 10:56:50 -05:00
Geoff Brown
0f3021e9c6
Bug 1127928 - Increase pushDir timeout for xpcshell tests directory to 600 seconds; r=wlach
2015-01-30 15:23:41 -07:00
Geoff Brown
3b22615be7
Bug 1127457 - Fix check for zip in devicemanagerADB.py; r=armenzg
2015-01-30 15:23:40 -07:00
Armen Zambrano Gasparnian
6601f54e8c
Bug 1040079 - Change logging level for chmod operations for mozdevice. DONTBUILD. r=wlach
2015-01-27 15:20:09 -05:00