Commit Graph

23 Commits

Author SHA1 Message Date
William Lachance
6571f5f33c Bug 1036530 - Instantiate / initialize device root only when needed in mozdevice. r=bc 2014-07-11 15:29:30 -04:00
Chris Manchester
6ba14fdd35 Bug 1035006 - Fix pyflakes warnings in mozbase.;r=wlach 2014-07-07 14:51:34 -04:00
Ted Mielczarek
7ee81f0ecb Bug 1023670 - Fix DeviceManager.mkDirs with a Windows path. r=wlach 2014-06-16 11:52:52 -04:00
Andrew Halberstadt
0423474ea7 Bug 949600 - Sync mozbase to m-c one last time, r=wlach 2014-02-19 16:42:01 -05:00
Wes Kocher
557103c137 Backed out changeset a7f8c25c07ac (bug 949600) for breaking clobber due to new update_permissions code, regardless of whether this is a CLOSED TREE. 2014-02-18 16:12:34 -08:00
Andrew Halberstadt
dad8b1a270 Bug 949600 - Sync mozbase to m-c one last time, r=wlach 2014-02-18 09:25:58 -05:00
William Lachance
dc72c5b8c6 Bug 900629 - Mirror mozdevice 0.29;r=ahal 2013-08-01 16:08:18 -04:00
Andrew Halberstadt
1f31a39556 Bug 895940 - Mirror mozbase to m-c, r=jhammel 2013-07-25 16:27:53 -04:00
William Lachance
7c991de2d9 Bug 886882 - Mirror mozdevice 0.27;r=jhammel 2013-06-25 10:50:37 -07:00
Jeff Hammel
20a56132d3 Bug 877733 - bump mozinfo, mozprocess, mozdevice, mozinstall version and mirror to m-c;r=jmaher 2013-06-17 13:23:38 -07:00
Jeff Hammel
904977538a 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
5d433229b3 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
3f9c051d47 Back out 27fb990d7fc7 (bug 838374) for Android bustage
CLOSED TREE
2013-03-21 22:58:41 -07:00
Jeff Hammel
a4b51201b4 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
f6044b7bd7 Backed out changeset 7d2ea731f5a5 (bug 838374) for B2G test bustage on a CLOSED TREE. 2013-03-14 17:45:49 -04:00
Jeff Hammel
8371c0fba6 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
7ac6bde5bd Bug 821865 - Update mozdevice to version 0.18, r=jhammel 2012-12-20 10:24:25 -05:00
William Lachance
5a3130a3ae Bug 811388 - Update mozdevice to 0.15, update consumers;r=ahal 2012-11-14 09:49:04 -08:00
Jeff Hammel
15a9b46a49 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
54d781abf7 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
Ed Morley
e184a68b82 Bug 793739 - mirror mozbase to m-c for week of Sept 24, 2012 @ b12b008846;r=jhammel 2012-09-25 09:35:14 -07:00
Mark Cote
fa65e690b2 Bug 789496 - DeviceManagerSUT: always consume prompt after receiving agent warning. r=wlach 2012-09-10 11:33:11 -04:00
William Lachance
6a7b472377 Bug 723107 - Re-add mozdevice to testing/mozbase, remove duplicate files in build/mobile;r=jmaher 2012-09-07 16:00:31 -04:00