gecko-dev/testing
Gregory Szorc 262077ed01 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
..
crashtest Bug 791270 - Crashtest for WebRTC crash [@sipcc::PeerConnectionImpl::AddStream]. r=jesup 2012-10-16 13:23:41 -04:00
extensions/community Bug 759095 - remove stray references to tri-license. 2012-10-02 12:52:06 +01:00
jetpack No bug - Update revision of Jetpack code used in Firefox to fix two tests. r=kwierso 2012-11-05 23:08:40 -08:00
marionette Bug 807817 - Dump Marionette logs as well as writing to logfile, r=philikon 2012-11-01 14:49:15 -07:00
mochitest Bug 808336 - Part 1: Refactor mach command handler management; r=jhammel 2012-11-06 16:57:41 -08:00
mozbase Bug 808719 - Mirror over mozdevice 0.14;r=jmaher 2012-11-05 15:18:54 -08:00
moztesting Bug 799291 - Part 3: Move mozbuild.testing into testing/; r=jhammel 2012-10-10 11:08:09 -07:00
peptest Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
release Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
specialpowers Bug 807478 - Fix DebuggerProtocol and SpecialPowers imports for jsloader.reuseGlobal = true. r=past 2012-11-02 18:03:13 -07:00
talos Bug 804388 - update a new talos.zip to remove misleading remote debugging messages. r=aki 2012-10-23 07:54:14 -04:00
tests Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
tinderbox-standalone-tests Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
tools Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
tps Bug 771554 - Removing autolog and having tps write-out results to JSON so that coversheet can handle them, r=jgriffin, DONTBUILD(NPOTB) 2012-10-27 17:42:25 -04:00
xpcshell Bug 808336 - Part 1: Refactor mach command handler management; r=jhammel 2012-11-06 16:57:41 -08:00
machine-configuration.json Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
README.txt
runcppunittests.py bug 787176 - Add a Python wrapper script for running C++ unit tests. r=jmaher,waldo 2012-08-30 15:20:38 -04:00
testsuite-targets.mk Bug 797162 - Add make target for b2g xpcshell tests, r=ted 2012-11-01 14:29:27 -07:00

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff