Commit Graph

120 Commits

Author SHA1 Message Date
Jonathan Griffin
cbc1e86005 Bug 803254 - Detect emulator crashes, r=ahal, DONTBUILD(NPOTB) 2012-10-22 15:00:54 -07:00
Jeff Hammel
e18496a41d Bug 802242 - mirror mozbase -> m-c for week of Oct 16 @ aa50f7cf0f ; r=wlach 2012-10-17 09:44:50 -07:00
Jeff Hammel
884b0385b0 Bug 800110 - Mirror mozbase -> m-c for bug 800097 @ da60c88b8c ;r=ahal,r=wlach 2012-10-12 10:24:35 -07: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
Jeff Hammel
ca4ac26851 Bug 797144 - mirror mozbase -> m-c for bug 796863 @ db7f115a9e;r=wlach 2012-10-03 09:13:21 -07:00
Jeff Hammel
63c7228bff 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
9651b3cf53 Bug 792084 - add shellCheckOutput command to devicemanager, r=wlach 2012-09-26 12:32:02 -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
Jeff Hammel
2b59599fd4 Bug 791716 - mirror mozbase -> m-c for week of Sept 17, 2012;r=wlach 2012-09-17 15:13:45 -07:00
Jeff Hammel
46b29abf81 Bug 790018 - bump version of manifestdestiny and mirror to m-c;r=mcote 2012-09-11 19:46:39 -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
Mihnea Dobrescu-Balaur
ed6659b42f Bug 785797 - adapt test_info to the current implemented functionality 2012-09-10 11:23:45 -04:00
Jeff Hammel
5980463e33 Bug 789328 - bump mozprocess and mozrunner (again) and release to pypi 2012-09-10 11:13:04 -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
William Lachance
bb27a05aae Bug 722429 - Should not mirror mozbase/mozdevice into m-c r=ctalbert 2012-02-08 11:07:19 -08:00
Christian Holler (:decoder)
964275e08e Bug 720806 - Improve DeviceManagerADB actions when device is not rooted. r=gbrown 2012-02-01 10:15:37 -05:00
Kartikaya Gupta
7c5bbfb786 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
b804869d72 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
0926f616b4 Bug 706844 - Create a make target for peptest. r=jmaher 2011-12-06 09:26:24 -05:00