Commit Graph

311 Commits

Author SHA1 Message Date
Jim Mathies
f5523fcce2 Bug 817881 - Move test plugin to dist/plugins, and touch up tests and test logic to support the change. r=glandium, dtownsend 2012-12-17 12:08:00 -06:00
Ed Morley
0166feddca Backout 3e4e600adc3b (bug 782542) for crashtest-ipc timeouts 2012-12-16 18:09:39 +00:00
Josh Matthews
d599a1c9c4 Bug 782542 - Secure necko IPDL usage. r=ted,jduell
* * *
Bug 782542 - Disable network.ipc security for certain mochitests r=ted
* * *
Bug 782542.  Disable some more tests that use mozbrowser w/o app r?ted
* * *
Bug 782542 : yet another test needs tweaking. r?ted
2012-12-12 10:40:33 -05:00
Ehsan Akhgari
c51600f223 Backed out 2 changesets (bug 532150) for test failure
Backed out changeset 57bbbda0dedd (bug 532150)
Backed out changeset 5cab33f5bfbd (bug 532150)
2012-12-15 12:08:04 -05:00
David Rajchenbach-Teller
8057248eae Bug 532150 - Testing main thread fallback for session file; r=felipe
--HG--
extra : rebase_source : fe825601fc013fce66aaa619dece0980f6f03ff5
2012-12-15 10:45:13 -05:00
Andrew Halberstadt
04eda3fcf0 Bug 817122 - Disable failing B2G xpcshell tests, enable debugger tests, r=mdas 2012-12-12 16:17:49 -05:00
Gregory Szorc
fe00f5a2b5 Bug 819033 - Part 1: Add add_task() to xpcshell runner; r=ted
You can now register generator functions containing Task.spawn friendly
tests. This makes writing unit tests for promise-based APIs much easier.
2012-12-11 10:53:43 -08:00
David Rajchenbach-Teller
4b024fdb16 Bug 810543 - Testing the behavior of OS.Constants.Path.profileDir;r=froydnj 2012-12-11 15:12:59 -08:00
Ed Morley
ec20fd0a1a Backout fac650c31656 & 907a846d368f (bug 819033) for xpcshell failures 2012-12-11 20:29:18 +00:00
Ehsan Akhgari
a1844bd954 Backed out changeset 34c9ccee8058 (bug 782542) for mochitest failures 2012-12-11 15:04:11 -05:00
Gregory Szorc
75532ccbeb Bug 819033 - Part 1: Add add_task() to xpcshell runner; r=ted
You can now register generator functions containing Task.spawn friendly
tests. This makes writing unit tests for promise-based APIs much easier.
2012-12-11 10:53:43 -08:00
Josh Matthews
5c429bd02b Bug 782542 - Secure necko IPDL usage. r=ted,jduell 2012-12-07 17:12:02 -05:00
Andrew Halberstadt
e05ad4400c Bug 818638 - B2G xpcshell shouldn't abort entire test run on single test timeout, r=jgriffin, DONTBUILD a=NPOTB,test-only 2012-12-07 11:37:16 -05:00
Gregory Szorc
0e1250bd4f Bug 818475 - Return proper exit code if xpcshell test fails; r=ted
DONTBUILD (NPOTB)
2012-12-05 15:42:11 -08:00
Andrew Halberstadt
4ed02e4344 Bug 818259 - Fix undefined reference in remote/b2g xpcshell, r=mdas, DONTBUILD a=NPOTB,test-only 2012-12-05 10:53:03 -05:00
Ryan VanderMeulen
6f42a940c4 Merge m-c to inbound. 2012-12-03 20:25:59 -05:00
Geoff Brown
ad5e43f49f Bug 816630 - Restore use of dist/fennec for Android xpcshell localLib; r=ahal, DONTBUILD 2012-12-03 17:50:07 -07:00
Ryan VanderMeulen
77948c6e44 Merge the last PGO-green inbound changeset to m-c. 2012-12-03 19:03:01 -05:00
Andrew Halberstadt
bc79e87efd Bug 817122 - Add initial B2G xpcshell manifest, r=jgriffin, DONTBUILD a=NPOTB,test-only 2012-12-03 14:56:12 -05:00
Marco Bonardo
79b7f7961e Bug 791447 - Move about:newTab data to preferences. r=gavin
Gecko 18 doesn't store anymore about: pages DOMStorage into chromeappsstore.sqlite, so any previous data would be lost on upgrade to it.
Moreover, we want to move off DOMStorage due to high startup costs.
Thus here we migrate old about:newTab chromeappsstore.sqlite data to complex prefs.
2012-12-03 20:19:17 +01:00
Jim Mathies
69b84bb4b7 Bug 810617 - Pass browser app directory to xpcshell test harness. r=ted 2012-11-30 15:14:27 -06:00
Andrew Halberstadt
b314f9861f Bug 816630 - B2G xpcshell tests use wrong binary directory, r=jgriffin, DONTBUILD a=NPOTB,test-only 2012-11-30 11:25:40 -05:00
Andrew Halberstadt
28be7accdb Bug 790817 - Add ability to install busybox to marionette, r=jgriffin 2012-11-28 15:27:04 -05:00
Gregory Szorc
06f666b380 Bug 815487 - Detect missing xpcshell.ini from mach; r=ted
DONTBUILD (NPOTB)
2012-11-28 12:19:32 -08:00
Andrew Halberstadt
240866f80c Bug 816079 - Add --gecko-path and --logcat-dir options to b2g xpcshell harness, r=jgriffin, DONTBUILD a=NPOTB,test-only 2012-11-28 14:32:34 -05:00
Andrew Halberstadt
7498dd3bd0 Bug 797153 - Remote xpcshell tests shouldn't depend on running from within an objdir, r=jgriffin, DONTBUILD a=NPOTB 2012-11-27 11:04:46 -05:00
Gregory Szorc
9d46d35ef0 Bug 718067 - Part 1: Create skeletons for services/{metrics,healthreport}; r=rnewman
services/metrics will hold generic metrics code. services/healthreport
report will build on top of that to provide the Firefox Health Report
feature. All functionality will land in subsequent patches.
2012-11-05 12:49:58 -08:00
Ed Morley
0798d964fd Bug 808410 - Callers of checkForCrashes should use its return value to ensure shutdown crashes actually make the run fail; r=jmaher f=gps 2012-11-20 15:24:28 +00:00
Geoff Brown
219dad47cb Bug 812191 - Respect --noSetup in remote xpcshell tests with xpcw wrapper; r=jmaher, DONTBUILD 2012-11-16 07:43:55 -07:00
Olli Pettay
f3ed372614 Bug 749448 - Remove XTF, r=bz 2012-11-15 14:27:13 +02:00
Gregory Szorc
efb7391678 Bug 810435 - Convert unicode to str to work around Python 2.7.2 bug; r=jhammel
DONTBUILD (NPOTB)
2012-11-14 10:05:18 -08:00
Geoff Brown
4685404665 Bug 808764 - Set XPCOM_DEBUG_BREAK and other env vars in Android xpcshell tests; r=jmaher
--HG--
extra : rebase_source : 548629ff005a6ee41e7c1d6e44f9eaab2d200a70
2012-11-13 16:37:56 -07:00
Geoff Brown
d35a285b7b Bug 808729 - Set _TESTING_MODULES_DIR for Android xpcshell tests; r=jmaher
--HG--
extra : rebase_source : 80896416e1262802421282573af6c2babc4cfcac
2012-11-13 16:37:53 -07:00
Geoff Brown
026fbe0a3e Bug 752126 - Shorten remote (android) xpcshell command line with script; r=jmaher
--HG--
extra : rebase_source : 8d809c68a31dae6a11a72fe6584202b2f4e5d925
2012-11-13 16:37:51 -07:00
Gregory Szorc
da573a2b92 Bug 809071 - Sleep after failure to delete profile directory; r=ted
This should hopefully solve the problem of IOError when deleting profile
directories.

This also cleans up the temporary code added in bug 799532.
2012-11-12 14:19:22 +00:00
Mounir Lamouri
e021a7f583 Bug 737786 - 2/5 - Use a pseudo-element instead of a pseudo-class for placeholder styling. r=bz 2012-11-09 10:24:23 +00:00
David Chan
062c862d47 Bug 808734 - Fix permissions expansion and add unit test. r=ddahl, r=gwagner 2012-11-06 15:52:13 -08:00
Ehsan Akhgari
bb35cf3c91 Merge mozilla-central into mozilla-inbound 2012-11-06 20:16:41 -05:00
Gregory Szorc
203a9e64f9 Bug 808336 - Part 1: Refactor mach command handler management; r=jhammel
Previously we were tighly coupled with MozbuildObject. This was not in
the spirit of mach being a generic tool. Now, instead of passing multiple
arguments to __init__ of the class providing the mach command we either
pass 0 or 1. The number of arguments is detected when processing the
@CommandProvider decorator. The optional argument is a named tuple
containing mach run-time state.

Capturing of mach command provider information is now captured in a
class (as opposed to an anoymous tuple). We also capture these in a rich
data structure which is passed as part of the run-time data to the
command provider class. This allows mach commands to inspect the mach
environment.

Mach decorators have been moved to mach.decorators. mach.base is
reserved for generic mach data/container classes.

Existing mach command classes derived from MozbuildObject have been
replaced with either object or mozbuild.base.MachCommandBase. This
latter class translates the mach context instance passed to __init__
into the constructor arguments for MozbuildObject.__init__.

Support for registering function handlers with mach has been removed.
All handlers must be inside classes.

--HG--
rename : python/mach/mach/base.py => python/mach/mach/decorators.py
2012-11-06 16:57:41 -08:00
David Rajchenbach-Teller
626301fbda Bug 808428 - Testing that OS.File can be called from xpcshell. r=nfroyd
--HG--
extra : rebase_source : 6dfc9107c4ff2453b47a3df528ca8d0037b91cf8
2012-11-05 07:59:00 -08:00
Geoff Brown
73408e5742 Bug 808725 - Pass -m and -n to xpcshell when running xpcshell-tests-remote; r=jmaher 2012-11-06 04:44:02 -07:00
Geoff Brown
6b911c0a48 Bug 808728 - Log remote environment vars correctly; r=jmaher 2012-11-06 04:43:58 -07:00
Ed Morley
6bcd4d6537 Bug 808545 - Tweak the exception message for runxpcshelltests.py profile cleanup failures; r=gps 2012-11-05 18:29:20 +00:00
Ed Morley
1c5718e096 Bug 808417 - Make runTests() exception reporting consistent across test harnesses; r=jmaher 2012-11-05 13:03:55 +00:00
Gregory Szorc
8513688614 Bug 807861 - Ensure state directory is present before running tests; r=rnewman
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : fd66449c11968269d33eff3f686f22a8767b6898
2012-11-02 10:32:40 -07:00
Jonathan Griffin
b3662b2bbe Bug 797162 - Add make target for b2g xpcshell tests, r=ted 2012-11-01 14:29:27 -07:00
Gregory Szorc
8066817551 Bug 795772 - More mach options to control xpcshell test execution; r=ted
DONTBUILD (NPOTB)
2012-10-31 10:29:26 -07:00
Geoff Brown
8fb0768aee Bug 799863 (3/3) - use dm.pushFile(file, dir/file) instead of dm.pushFile(file, dir); r=wlach 2012-10-30 15:21:43 -06:00
William Lachance
b73cfe9299 Bug 799863 (2/3) - Guard against an exception occurring before process is defined in xpcshell tests;r=gbrown
---
 testing/xpcshell/runxpcshelltests.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
2012-10-16 16:32:33 -04:00
Jonathan Griffin
b8e096cc2b Bug 790677 - Fix xpcshell test packaging for B2G, r=ted 2012-10-17 15:12:41 -07:00