Commit Graph

44 Commits

Author SHA1 Message Date
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
Ryan VanderMeulen
4ac86dc4bd Merge inbound to m-c. 2012-10-13 04:36:33 -04: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
Jonathan Griffin
7994bbdde1 Bug 800641 - Add mozfile to mozbase packages in test.zip, r=jhammel 2012-10-11 16:44:11 -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
199dd374aa bug 702832 follow up: add license header;r=wlach DONTBUILD because NPOTB
--HG--
extra : rebase_source : 054283ae7cd75772a8303358e553f5d8b78ec680
2012-09-14 14:17:32 -07:00
Jeff Hammel
e0575a9678 Bug 702832 - solidify strategy to sync mozbase packages to m-c;r=wlach DONTBUILD because NPOTB 2012-09-14 14:12:35 -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
Jonathan Griffin
077a8b686f Bug 788842 - Mirror mozbase to m-c, r=jhammel 2012-09-07 17:58:39 -07:00
Jonathan Griffin
d32939c4ba backout 69243e829931 due to OSX 10.7 bustage 2012-09-07 17:05:26 -07:00
Jonathan Griffin
f920b23e90 Bug 788842 - Mirror mozbase to m-c, r=jhammel 2012-09-07 15:39:17 -07: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
Mounir Lamouri
514acd02d1 Bug 619236 - Set user_version in generated permissions.sqlite for tests. r=sicking 2012-08-23 11:39:41 -07:00
Mounir Lamouri
2d587555ef Bug 777072 - 6/7 Update the Permission Manager database to save appId/isInBrowserElement. r=sicking 2012-08-23 11:38:26 -07:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
4e998b1d36 Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Mike Hommey
2ac07ed613 Bug 778259 - Fix fallback relpath implementation for python 2.5- in manifestparser.py. r=jhammel 2012-08-04 08:54:59 +02:00
Mike Hommey
17fb6cad2d Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Andrew Halberstadt
bb69d3e098 Bug 778133 - Update mozbase in m-c for bug 776931. r=jhammel 2012-08-02 17:17:34 -04:00
Jeff Hammel
619df38c07 Bug 775127 - Bump mozInstall version and release to pypi and update mozbase on mozilla central. r=ahalberstadt 2012-07-20 20:19:38 -04:00
Siddharth Agarwal
cd4f48b234 Fix orange due to botched mozprocess update in bug 769808. 2012-07-03 12:53:23 +05:30
Siddharth Agarwal
36e256e89f Bug 769808 - Update mozbase on m-c to include fix for bug 769789. r=jhammel 2012-07-03 01:52:54 +05:30
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Hiroyuki Ikezoe
768221ea05 Bug 739497 - Fix the comment of filter method for xpcshell.ini. r=jmaher 2012-03-30 11:42:15 -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
Mark Cote
6e7159acf3 Bug 724595 Merge mozbase changes from Dec 31 to Feb 1 r=ctalbert 2012-02-08 11:07:19 -08:00
Matthew Noorenberghe
ce54650923 Bug 294260 - Disable startup crash tracking in test profiles (toolkit.startup.max_resumed_crashes = -1) r=waldo,robcee
--HG--
extra : rebase_source : 6856629cc35106499f82753471ff77c2607a5e97
2012-02-03 18:31:31 -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
Bobby Holley
3d280d317c Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
Mark Cote
d6a580e0a3 Bug 713256 - Mirror mozbase changes for working properly on buildslaves into m-c r=ctalbert 2011-12-23 12:46:37 -05:00
Andrew Halberstadt
67329c83d6 Bug 711102 Ensure build environments have logging modules for peptest r=ctalbert 2011-12-15 12:58:37 -06: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
Andrew Halberstadt
c58226ed28 Bug 703266 Mirror mozbase to mozilla-central for peptest r=jhammel 2011-11-29 11:43:16 -05:00