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
Joe Drew
bba0614971
Bug 486918 - Create and obey a high-quality downscaling pref, and turn it off on OS X and mobile. r=jlebar
2012-09-27 14:12:56 -04:00
Joel Maher
5cbf33ed7b
Bug 792029 - Make SpecialPowers available in crashtests. r=ted
2012-10-01 08:50:10 -04:00
Ms2ger
b83586e559
Bug 795862 - Back out bug 486918 for build bustage in unreviewed code.
2012-10-01 14:16:03 +02:00
Joe Drew
2b9b4de964
Bug 486918 - Create and obey a high-quality downscaling pref, and turn it off on OS X and mobile. r=jlebar
2012-09-27 14:12:56 -04:00
Ed Morley
6028447903
Backout 92530b29ac24, 42e659956dc6 & 38277196c099 (bug 486918), d3b69fe15ac3 & b2dba2108722 (bug 786444), e7381ac9e30a (bug 786449) on suspicion of causing Android reftest failures on a CLOSED TREE
2012-09-28 23:00:28 +01:00
Joe Drew
5b9be123ec
Bug 486918 - Create and obey a high-quality downscaling pref, and turn it off on OS X and mobile. r=jlebar
...
--HG--
extra : rebase_source : 386bee19522e3cb8bca16ec40e3c092a52ae18d2
2012-09-27 14:12:56 -04:00
Matt Woodrow
4b18ccaa9d
Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc
2012-08-29 17:48:43 +12:00
Matt Woodrow
7507512379
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
...
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Ed Morley
aba3a8f5ef
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
cd852aabe0
Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc
2012-08-29 17:48:43 +12:00
Matt Woodrow
6f5a5e2a30
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
...
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
L. David Baron
2a8ac62275
Make reftest harness print max difference and number of differing pixels on the TEST-UNEXPECTED-FAIL line so that it ends up in bugs. (Bug 789602) r=ted
2012-09-14 14:12:34 -07:00
L. David Baron
6438c52580
Bug 789771 - Add an OSX variable to the reftest condition sandbox to make it easier to test Mac OS X versions, r=roc
...
--HG--
extra : rebase_source : 417fcaf6baa267680d93187c459532a22da8ef21
2012-09-08 23:37:04 -07: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
Jeff Gilbert
454b8655e8
Bug 782860 - Mark failing WebGL reftests as failing - r=bjacob
2012-09-06 18:46:43 -07:00
Philipp von Weitershausen
d158b5747c
Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
...
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Cameron McCormack
3fe542e338
Bug 705184 - Count unexpected reftest crash dump files as test failures. r=dbaron
2011-12-05 14:06:42 +11:00
Andrew Halberstadt
af1a368339
Bug 784810 - Disable browser.tabs.remote for b2g reftests, r=jgriffin
2012-08-22 17:24:57 -04:00
Andrew Halberstadt
83ccf6c3d4
Bug 778072 - Add pref for reftests to use iframe mozbrowser. r=cjones
2012-08-17 11:45:39 -04:00
Andrew Halberstadt
0c2afaa887
Bug 778725 - Fix program error managing snapshot errors in b2g reftests, r=jgriffin
2012-08-15 17:36:52 -04:00
Andrew Halberstadt
170dc14d55
Bug 782655 - Enable remote xul for B2G reftests, r=jgriffin
2012-08-15 15:26:31 -04:00
Kyle Huey
22c5414200
Bug 685516: Disable a bunch of failing tests on Android XUL. r=jrmuizel
2012-08-13 11:22:11 -07:00
Andrew Halberstadt
7c1ba0c892
Bug 770490 - Infrastructure to run reftests on B2G, r=jgriffin
2012-08-10 14:25:20 -04:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Nicholas Cameron
757874643b
Bug 778595; reftest fuzz based on cavnas/content backend mismatch. r=roc
2012-07-31 18:30:10 +12:00
Nicholas Cameron
afcbca306a
Bug 776802; Give better info about Azure. r=Bas
2012-07-31 18:30:10 +12:00
Nicholas Cameron
5dd825ba63
Back out bug 779001, bug 746883, bug 778595, bug 776803, bug 7118849
2012-07-31 18:17:23 +12:00
Nicholas Cameron
a75154d489
Bug 778595; reftest fuzz based on cavnas/content backend mismatch. r=roc
2012-07-31 13:46:04 +12:00
Nicholas Cameron
883ca8cb74
Bug 776802; Give better info about Azure. r=Bas
2012-07-31 13:45:59 +12:00
Christian Holler
9e36b6f071
Bug 777412 - Support the --setenv option in reftests
2012-07-30 13:47:27 +02:00
Ed Morley
bd821ad1fa
Backout 6718d4c7b6c1 (bug 775174) for Android XUL R3 failures in animateMotion-rotate-*.svg on a CLOSED TREE
2012-07-28 11:31:26 +01:00
Matt Woodrow
f35d4ac58f
Bug 729784 - Fix documentation for fuzzy() and fuzzy-if(), and give image difference error messages in the same order as the parameters to them. r=dbaron
2012-07-28 13:47:46 +12:00
Matt Woodrow
feddad01ec
Bug 775174 - Add invalidation timeline to reftest analyzer. r=dbaron
2012-07-28 13:46:42 +12:00
William Lachance
2795774129
Bug 777500 - Log information about device before and after test for remote mochitest and reftests;r=jmaher
2012-07-25 20:45:36 -04:00
Jonas Sicking
23c9838514
Bug 774585: Rename getCodebasePrincipal to getSimpleCodebasePrincipal since the behavior has semantically changed. r=mounir
2012-07-21 00:29:40 -07:00
Mounir Lamouri
61d9d40b3d
Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar
2012-07-18 15:27:02 -07:00
Ed Morley
c2d155cb67
Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange
2012-07-19 08:29:48 +01:00
Mounir Lamouri
f293eab524
Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar
2012-07-18 15:27:02 -07:00
Phil Ringnalda
37152dd897
Bug 752752 - Set prefs in the reftest harness to prevent updating and prefetching data about addons, to avoid leaking, r=Unfocused,dbaron
2012-05-25 21:29:35 -07:00
Ehsan Akhgari
d49b18b800
Backout changeset e04abde1b323 (bug 539356) because of performance and correctness regressions
2012-07-03 20:21:03 -04:00
Ehsan Akhgari
7e962381f7
Backout changeset ba7021170544 (bug 539356) because of performance and correctness regressions
2012-07-03 20:12:45 -04:00
Matt Woodrow
31c89114da
Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc
2012-06-30 15:06:13 +12:00
Matt Woodrow
dbef6fe311
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
2012-06-30 15:06:11 +12:00
Nicholas Cameron
105496fc55
Bug 761890 (was 746883); change tests to work with Azure/Skia (mostly fuzz). r=gw280,jmuizelaar
2012-04-16 07:49:56 +12:00
Joel Maher
a766519866
Bug 754873 - fennec automated tests should capture logcat output while test is running. r=wlach
2012-06-13 14:20:43 -04:00
Matt Brubeck
ef84814399
Back out bug 761890, bug 746896, and bug 759036 because of reftest failures
...
--HG--
extra : rebase_source : b5bdad8a69eab8e9ba35d21637c0bbcb18bce703
2012-06-11 22:50:31 -07:00
Nicholas Cameron
3f2d015241
Bug 761890 (was 746883); change tests to work with Azure/Skia (mostly fuzz). r=gw280,jmuizelaar
...
--HG--
extra : rebase_source : 8df12107009253df9ae996a9cbf1f78fc594f41f
2012-04-16 07:49:56 +12:00
Ed Morley
865fc92be0
Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms
2012-06-11 10:08:32 +01:00
Matt Woodrow
3e82706e65
Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc
2012-06-11 16:45:39 +12:00