Commit Graph

37 Commits

Author SHA1 Message Date
Geoff Brown
c27dde0776 Bug 876456 - (2) Raise an exception if adb getTopActivity fails; r=jmaher 2013-06-12 13:27:57 -06:00
Geoff Brown
6050ea4409 Bug 876456 - Allow for alternate dumpsys output in adb getTopActivity; r=jmaher 2013-06-12 13:27:55 -06:00
William Lachance
a697a44fdb Bug 877265 - Make dmcli parseable by python 2.6;r=ahal 2013-05-30 11:04:26 -04:00
William Lachance
ca6ec8f20e Bug 869095 - Bump in-tree mozdevice to 0.25;r=jmaher 2013-05-07 11:09:46 -04:00
Geoff Brown
826b4f971b Bug 865944 - Add getTopActivity to droid; r=jmaher 2013-05-03 11:38:01 -06:00
Geoff Brown
312277f50a Bug 865944 - Do not wait for "am instrument" to start; r=jmaher 2013-05-03 11:37:57 -06:00
Jeff Hammel
a4a21f27be Bug 860091 - mirror test.py and mozdevice and mozprofile to m-c;r=jgriffin
--HG--
extra : rebase_source : 16b0b4bb8b49b0a70e0a2160c3ca6370737b0fab
2013-04-17 11:08:02 -07:00
Jeff Hammel
c23752e4c1 Bug 838374 - release mozprofile, mozprocess, mozdevice (and other?) and mirror to m-c;r=ahal 2013-03-21 21:06:28 -07:00
Phil Ringnalda
91489a9327 Back out 27fb990d7fc7 (bug 838374) for Android bustage
CLOSED TREE
2013-03-21 22:58:41 -07:00
Jeff Hammel
00016781fd Bug 838374 - release mozprofile, mozprocess, mozdevice (and other?) and mirror to m-c;r=ahal 2013-03-21 21:06:28 -07:00
Ryan VanderMeulen
9dc32220b2 Backed out changeset 7d2ea731f5a5 (bug 838374) for B2G test bustage on a CLOSED TREE. 2013-03-14 17:45:49 -04:00
Jeff Hammel
27d9bb71ca Bug 838374 - release mozprofile, mozprocess, mozdevice (and other?) and mirror to m-c;r=ahal 2013-03-14 13:06:14 -07:00
Andrew Halberstadt
477ae94921 Bug 821865 - Update mozdevice to version 0.18, r=jhammel 2012-12-20 10:24:25 -05:00
Andrew Halberstadt
38cc2d1536 Bug 818615 - Release mozdevice 0.17 to m-c, r=jgriffin 2012-12-05 15:35:19 -05:00
William Lachance
2bc9eb925b Bug 818080 - Bump mozdevice version to 0.16;r=ahal 2012-12-05 12:17:38 -05:00
William Lachance
0bea33309a Bug 811388 - Update mozdevice to 0.15, update consumers;r=ahal 2012-11-14 09:49:04 -08:00
William Lachance
4045caaf82 Bug 808719 - Mirror over mozdevice 0.14;r=jmaher 2012-11-05 15:18:54 -08:00
Jonathan Griffin
e0a26a0147 Bug 803254 - Detect emulator crashes, r=ahal, DONTBUILD(NPOTB) 2012-10-22 15:00:54 -07:00
Jeff Hammel
c8ee2a64e2 Bug 802242 - mirror mozbase -> m-c for week of Oct 16 @ aa50f7cf0f ; r=wlach 2012-10-17 09:44:50 -07:00
Jeff Hammel
d765443550 Bug 800110 - Mirror mozbase -> m-c for bug 800097 @ da60c88b8c ;r=ahal,r=wlach 2012-10-12 10:24:35 -07:00
Jeff Hammel
a42ab51c5b Bug 799605 - Mirror mozbase -> m-c for bug 799288 and bug 799507 @ https://github.com/mozilla/mozbase/commit/ 36a2f63be33af799a54d7f1511dc922730b10b22 ; r=wlach 2012-10-10 09:27:06 -07:00
William Lachance
c5f092dab4 Bug 795496 - Make mozdevice raise exceptions on error;r=ahal,jmaher
It turns out that relying on the user to check return codes for every
command was non-intuitive and resulted in many hard to trace bugs.
Now most functinos just return "None", and raise a DMError when there's an
exception. The exception to this are functions like dirExists, which now return
booleans, and throw exceptions on error. This is a fairly major refactor,
and also involved the following internal changes:

* Removed FileError and AgentError exceptions, replaced with DMError
  (having to manage three different types of exceptions was confusing,
  all the more so when we're raising them)
* Docstrings updated to remove references to return values where no
  longer relevant
* pushFile no longer will create a directory to accomodate the file
  if it doesn't exist (this makes it consistent with devicemanagerADB)
* dmSUT we validate the file, but assume that we get something back
  from the agent, instead of falling back to manual validation in the
  case that we didn't
* isDir and dirExists had the same intention, but different
  implementations for dmSUT. Replaced the dmSUT impl of getDirectory
  with that of isDir's (which was much simpler). Removed
  isDir from devicemanager.py, since it wasn't used externally
* killProcess modified to check for process existence before running
  (since the actual internal kill command will throw an exception
  if the process doesn't exist)

In addition to all this, more unit tests have been added to test these
changes for devicemanagerSUT.
2012-10-04 11:28:07 -04:00
Jeff Hammel
8debe5cabb Bug 797144 - mirror mozbase -> m-c for bug 796863 @ db7f115a9e;r=wlach 2012-10-03 09:13:21 -07:00
Jeff Hammel
1a43e8a377 Bug 795943 - Mirror mozbase -> m-c for week of Oct 1 @ 22aa0aee78;r=wlach
--HG--
extra : rebase_source : 389b6c3a2923c40167698b477e4d57b230b1a063
2012-10-01 14:00:55 -07:00
Malini Das
d0c2b8f569 Bug 792084 - add shellCheckOutput command to devicemanager, r=wlach 2012-09-26 12:32:02 -04:00
Ed Morley
4ebb07022f Bug 793739 - mirror mozbase to m-c for week of Sept 24, 2012 @ b12b008846;r=jhammel 2012-09-25 09:35:14 -07:00
Jeff Hammel
7a40628ff5 Bug 791716 - mirror mozbase -> m-c for week of Sept 17, 2012;r=wlach 2012-09-17 15:13:45 -07:00
Jeff Hammel
2fb3ca19f0 Bug 790018 - bump version of manifestdestiny and mirror to m-c;r=mcote 2012-09-11 19:46:39 -07:00
Mark Cote
de0a808cbe Bug 789496 - DeviceManagerSUT: always consume prompt after receiving agent warning. r=wlach 2012-09-10 11:33:11 -04:00
Mihnea Dobrescu-Balaur
da52969f34 Bug 785797 - adapt test_info to the current implemented functionality 2012-09-10 11:23:45 -04:00
Jeff Hammel
f4f949ab6d Bug 789328 - bump mozprocess and mozrunner (again) and release to pypi 2012-09-10 11:13:04 -04:00
William Lachance
cca13f1816 Bug 723107 - Re-add mozdevice to testing/mozbase, remove duplicate files in build/mobile;r=jmaher 2012-09-07 16:00:31 -04:00
William Lachance
6ecdfebf48 Bug 722429 - Should not mirror mozbase/mozdevice into m-c r=ctalbert 2012-02-08 11:07:19 -08:00
Christian Holler (:decoder)
3e0ed5e04d Bug 720806 - Improve DeviceManagerADB actions when device is not rooted. r=gbrown 2012-02-01 10:15:37 -05:00
Kartikaya Gupta
67b5a8d4fe Bug 717408 - Remove unneeded clause in python exception handling that was causing errors on python 2.5. r=geoffbrown 2012-01-12 13:09:04 -05:00
Andrew Halberstadt
ee2dd7102f Bug 708309 - Do not use zipfile.extract in mozbase components for peptest r=jhammel a=test-only 2011-12-13 13:53:51 -06:00
Andrew Halberstadt
c17f88643d Bug 706844 - Create a make target for peptest. r=jmaher 2011-12-06 09:26:24 -05:00