Commit Graph

208 Commits

Author SHA1 Message Date
Gregory Szorc
ed07fb4037 Bug 754436 - Move xpcshell protocol handler registration into standalone function; r=ted 2012-05-15 09:53:28 -07:00
Gregory Szorc
cef8c5bb2e Bug 748490 - Part 3: Followups to part 2; r=ted
Previous patch was submitted prematurely by accident. This addresses
nits from review.
2012-05-10 10:19:16 -07:00
Gregory Szorc
f8c002b1a2 Bug 748490 - Part 2: Register testing modules with xpcshell test runner; r=ted 2012-05-10 10:10:14 -07:00
Geoff Brown
69d1d16d4e Bug 749771 - Set HOME directory for Android xpcshell tests. r=jmaher 2012-05-04 22:46:36 -04:00
Steve Fink
3f838cafde Bug 732255 - Prevent -d option from infecting later xpcshell tests. r=ted
--HG--
extra : rebase_source : aea5cfff5a318cc25072b9bee493f0ee0468e840
2012-05-03 12:32:31 -07:00
Geoff Brown
4899904070 Bug 748489 - Provide a writable TMPDIR for android xpcshell tests. r=jmaher 2012-05-03 06:22:33 -04:00
Nick Hurley
eb2547b5d4 Bug 719609 - Part 2: xpcshell harness support for running the node spdy server. r=ted 2012-04-25 20:12:33 -04:00
Nick Hurley
0c15861202 Bug 719609 - Part 1: Add some basic unit tests for SPDY. r=mcmanus,ted 2012-04-25 20:12:33 -04:00
Joel Maher
def6e26f61 Bug 746545 - remove duplicate mozinfo.py files. r=ted 2012-04-25 09:22:04 -04:00
Josh Matthews
7e78dba969 Bug 729204 - Make docshell privacy notifications work across multiple processes. r=bz 2012-04-19 20:13:20 -04:00
Paolo Amadini
9180b309a7 Bug 726444 - Implement the Downloads Panel. r=mak ui-r=limi
Includes: Bug 697679 - By Javi Rueda <leofigueres@yahoo.com>.
2012-04-17 13:35:09 +02:00
Jim Blandy
1d06a9085f Bug 743026: Make the --verbose flag to runxpcshelltests.py also show the command, environment, and cwd. r=ted 2012-04-16 14:19:07 -07:00
Gregory Szorc
6e7ff251cd Bug 731494 - Refactor generic code from services/sync into services/common; r=rnewman
--HG--
rename : services/sync/modules/async.js => services/common/async.js
rename : services/sync/modules/log4moz.js => services/common/log4moz.js
rename : services/sync/modules/ext/Observers.js => services/common/observers.js
rename : services/sync/modules/ext/Preferences.js => services/common/preferences.js
rename : services/sync/modules/ext/StringBundle.js => services/common/stringbundle.js
rename : services/sync/tests/unit/test_async_chain.js => services/common/tests/unit/test_async_chain.js
rename : services/sync/tests/unit/test_async_querySpinningly.js => services/common/tests/unit/test_async_querySpinningly.js
rename : services/sync/tests/unit/test_log4moz.js => services/common/tests/unit/test_log4moz.js
rename : services/sync/tests/unit/test_Observers.js => services/common/tests/unit/test_observers.js
rename : services/sync/tests/unit/test_Preferences.js => services/common/tests/unit/test_preferences.js
rename : services/sync/tests/unit/test_restrequest.js => services/common/tests/unit/test_restrequest.js
rename : services/sync/tests/unit/test_utils_makeURI.js => services/common/tests/unit/test_utils_makeURI.js
rename : services/sync/tests/unit/test_utils_namedTimer.js => services/common/tests/unit/test_utils_namedTimer.js
rename : services/sync/tests/unit/test_utils_stackTrace.js => services/common/tests/unit/test_utils_stackTrace.js
2012-04-05 23:26:06 -07:00
Gregory Szorc
5bdd6a6a7c Bug 739753 - Fatal handling of invalid head and tail files in xpcshell test runner; r=ted 2012-03-28 16:05:22 -07:00
Joel Maher
710c159137 Bug 712643 - land Marionette on m-c. r=mossop,robcee 2012-03-22 11:19:57 -04:00
Paolo Amadini
e2604bf75a Bug 728143 - Replace old synchronous favicons calls in Places tests. r=mak
--HG--
rename : toolkit/components/places/tests/unit/expected-favicon-big16.ico.png => toolkit/components/places/tests/favicons/expected-favicon-big16.ico.png
rename : toolkit/components/places/tests/unit/expected-favicon-big32.jpg.png => toolkit/components/places/tests/favicons/expected-favicon-big32.jpg.png
rename : toolkit/components/places/tests/unit/expected-favicon-big4.jpg.png => toolkit/components/places/tests/favicons/expected-favicon-big4.jpg.png
rename : toolkit/components/places/tests/unit/expected-favicon-big48.ico.png => toolkit/components/places/tests/favicons/expected-favicon-big48.ico.png
rename : toolkit/components/places/tests/unit/expected-favicon-big64.png.png => toolkit/components/places/tests/favicons/expected-favicon-big64.png.png
rename : toolkit/components/places/tests/unit/expected-favicon-scale160x3.jpg.png => toolkit/components/places/tests/favicons/expected-favicon-scale160x3.jpg.png
rename : toolkit/components/places/tests/unit/expected-favicon-scale3x160.jpg.png => toolkit/components/places/tests/favicons/expected-favicon-scale3x160.jpg.png
rename : toolkit/components/places/tests/unit/favicon-big16.ico => toolkit/components/places/tests/favicons/favicon-big16.ico
rename : toolkit/components/places/tests/unit/favicon-big32.jpg => toolkit/components/places/tests/favicons/favicon-big32.jpg
rename : toolkit/components/places/tests/unit/favicon-big4.jpg => toolkit/components/places/tests/favicons/favicon-big4.jpg
rename : toolkit/components/places/tests/unit/favicon-big48.ico => toolkit/components/places/tests/favicons/favicon-big48.ico
rename : toolkit/components/places/tests/unit/favicon-big64.png => toolkit/components/places/tests/favicons/favicon-big64.png
rename : toolkit/components/places/tests/unit/favicon-normal16.png => toolkit/components/places/tests/favicons/favicon-normal16.png
rename : toolkit/components/places/tests/unit/favicon-normal32.png => toolkit/components/places/tests/favicons/favicon-normal32.png
rename : toolkit/components/places/tests/unit/favicon-scale160x3.jpg => toolkit/components/places/tests/favicons/favicon-scale160x3.jpg
rename : toolkit/components/places/tests/unit/favicon-scale3x160.jpg => toolkit/components/places/tests/favicons/favicon-scale3x160.jpg
rename : toolkit/components/places/tests/unit/head_bookmarks.js => toolkit/components/places/tests/favicons/head_favicons.js
rename : toolkit/components/places/tests/unit/test_favicons.js => toolkit/components/places/tests/favicons/test_favicons.js
rename : toolkit/components/places/tests/unit/test_moz-anno_favicon_mime_type.js => toolkit/components/places/tests/favicons/test_moz-anno_favicon_mime_type.js
rename : toolkit/components/places/tests/unit/test_doReplaceFaviconData.js => toolkit/components/places/tests/favicons/test_replaceFaviconData.js
rename : toolkit/components/places/tests/unit/test_doReplaceFaviconDataFromDataURL.js => toolkit/components/places/tests/favicons/test_replaceFaviconDataFromDataURL.js
2012-03-19 20:24:21 +01:00
William Lachance
b875233d85 Bug 736246 - DeviceManagerADB should throw an exception if we know it's not going to work. r=jmaher 2012-03-16 18:36:28 -04:00
Kyle Machulis
5a8150c5e0 Bug 735017: Clean up namespaces and naming for gonk dom objects in gonk specific code - Patch 1: Change dom/system/b2g to dom/system/gonk; r=philikon
--HG--
rename : dom/system/b2g/AudioManager.cpp => dom/system/gonk/AudioManager.cpp
rename : dom/system/b2g/AudioManager.h => dom/system/gonk/AudioManager.h
rename : dom/system/b2g/GonkGPSGeolocationProvider.cpp => dom/system/gonk/GonkGPSGeolocationProvider.cpp
rename : dom/system/b2g/GonkGPSGeolocationProvider.h => dom/system/gonk/GonkGPSGeolocationProvider.h
rename : dom/system/b2g/Makefile.in => dom/system/gonk/Makefile.in
rename : dom/system/b2g/RadioInterfaceLayer.js => dom/system/gonk/RadioInterfaceLayer.js
rename : dom/system/b2g/RadioInterfaceLayer.manifest => dom/system/gonk/RadioInterfaceLayer.manifest
rename : dom/system/b2g/SystemWorkerManager.cpp => dom/system/gonk/SystemWorkerManager.cpp
rename : dom/system/b2g/SystemWorkerManager.h => dom/system/gonk/SystemWorkerManager.h
rename : dom/system/b2g/net_worker.js => dom/system/gonk/net_worker.js
rename : dom/system/b2g/nsIAudioManager.idl => dom/system/gonk/nsIAudioManager.idl
rename : dom/system/b2g/nsIRadioInterfaceLayer.idl => dom/system/gonk/nsIRadioInterfaceLayer.idl
rename : dom/system/b2g/nsIWorkerHolder.idl => dom/system/gonk/nsIWorkerHolder.idl
rename : dom/system/b2g/nsRadioInterfaceLayer.h => dom/system/gonk/nsRadioInterfaceLayer.h
rename : dom/system/b2g/ril_consts.js => dom/system/gonk/ril_consts.js
rename : dom/system/b2g/ril_worker.js => dom/system/gonk/ril_worker.js
rename : dom/system/b2g/systemlibs.js => dom/system/gonk/systemlibs.js
rename : dom/system/b2g/tests/header_helpers.js => dom/system/gonk/tests/header_helpers.js
rename : dom/system/b2g/tests/test_ril_worker_buf.js => dom/system/gonk/tests/test_ril_worker_buf.js
rename : dom/system/b2g/tests/test_ril_worker_sms.js => dom/system/gonk/tests/test_ril_worker_sms.js
rename : dom/system/b2g/tests/xpcshell.ini => dom/system/gonk/tests/xpcshell.ini
2012-03-14 15:42:31 -07:00
Ed Morley
f6653e490a Backout ba7da6256b23 (bug 726444) for talos regressions; a=mak 2012-03-11 23:38:53 +00:00
Paolo Amadini
749f7c69ab Bug 726444 - Implement the Downloads Panel. r=mak ui-r=limi
Includes: Bug 697679 - By Javi Rueda <leofigueres@yahoo.com>.
2012-03-10 15:00:45 +01:00
Luke Wagner
e4bac68539 Bug 732308 - fix potential leak in xpcshell/head.js (r=jmaher) 2012-03-02 09:36:53 -08:00
Marco Bonardo
e20386539d Bug 591884 - Make IE importer fallback to the default Links folder to support toolbar favorites in versions >= 7
r=felipe
2012-03-09 11:13:14 +01:00
Jason Duell
dfe336e780 Bug 732657: runxpcshell.py doesn't fail e10s tests if child process aborts/crashes. r=jmaher 2012-03-08 15:00:05 -08:00
Gregory Szorc
2d6be22456 Bug 729098 - Part 1.01/2 - Fix xpcshell test bustage; r=bustage 2012-03-06 16:27:22 -08:00
Gregory Szorc
f4abd10724 Bug 729098 - Part 1/2: Create xUnit XML results file when executing xpcshell tests; r=khuey 2012-03-06 15:03:34 -08:00
Justin Dolske
621a59dc0d Bug 731093 - Make head.js code should just look for just |e.filename| so that a non-object exception is logged when thrown from a test. r=jmaher 2012-03-03 22:19:04 -05:00
Geoff Brown
cea75fcb4e Bug 705192: allow remotexpcshelltests.py to execute xpcshell via SUT agent; r=jmaher 2012-02-28 12:20:56 -05:00
Gregory Szorc
5507290050 Bug 725478 - Support for generating xUnit result files from xpcshell tests; r=Waldo 2012-02-27 19:53:00 -08:00
Ed Morley
3662f3e0c7 Backout 88d02a07d390, 5f903f5a84a8 & 3539be41fa6b (bug 725478) for make-check failures 2012-02-28 01:04:35 +00:00
Gregory Szorc
f30f25a1ba Fix bug 725478 because we run a buggy Python released almost 5 years ago; r=tigerblood 2012-02-27 16:15:59 -08:00
Gregory Szorc
be33176e72 Bug 725478 - Fix possible access on None; r=losing 2012-02-27 15:32:56 -08:00
Gregory Szorc
0c81711e56 Bug 725478 - Ability to produce xUnit XML result files from xpcshell test Python driver; r=Waldo 2012-02-27 14:58:04 -08:00
Brian R. Bondy
e0b2da7b0b Bug 725180 - Create test suite for libmar. r=rstrong 2012-02-24 16:29:42 -05:00
Vicamo Yang
f0e7ba7187 Bug 723244 - Tests for RIL parcel length guards. r=philikon 2012-02-20 19:30:05 +01:00
Gregory Szorc
005fc3a46c Bug 725510 - Ability to execute xpcshell tests in random order; r=ted 2012-02-14 11:49:55 -08:00
Matthew Noorenberghe
f018d13961 Bug 294260 - Safe Mode: Auto detect previous start-up failure and offer to start in safe mode r=bsmedberg,Mossop
--HG--
rename : toolkit/components/startup/tests/Makefile.in => toolkit/components/startup/tests/browser/Makefile.in
extra : rebase_source : 8df6b163173362ae80832eb3667e04bb817280b3
2011-11-07 21:20:42 -08:00
Panagiotis Astithas
854933e0fb Bug 697762 - Land the debugger in m-c; r=msucan,rcampbell; sr=dtownsend 2012-02-07 13:22:30 -04:00
Panagiotis Koutsourakis
9c7dfb9706 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Mike Hommey
be671dceba Bug 720737 - Set MOZ_LINKER_CACHE instead of CACHE_PATH. r=blassey 2012-01-25 10:36:58 +01:00
Marco Bonardo
544c791dbc Bug 720110 - URL autocomplete breaks keyword bookmarks.
r=gavin
2012-01-24 20:37:46 +01:00
Geoff Brown
18da3f96f9 Bug 705175: update devicemanager, devicemanagerSUT versions of getAppRoot; r=jmaher 2012-01-07 18:41:08 -05:00
Ed Morley
bc6bc81bd0 Backout 8ec01f6f316f (bug 705175), a1dc0efef542 (bug 716077), b5686f25b258 (bug 710445), 32f8d3be2ad1 (bug 715309) for mochitest/reftest failures on Android & Windows 2012-01-07 14:57:58 +00:00
Geoff Brown
8bdede3a06 Bug 705175: update devicemanager, devicemanagerSUT versions of getAppRoot; r=jmaher 2012-01-07 08:25:05 -05:00
Ehsan Akhgari
61a9e5f11a Bug 481815 - Make sure that the maintenance service tests are only run when the service is enabled. r=rstrong.
--HG--
rename : toolkit/mozapps/update/test/Makefile.in => toolkit/mozapps/update/test_svc/Makefile.in
rename : toolkit/mozapps/update/test/unit/test_0000_bootstrap_svc.js => toolkit/mozapps/update/test_svc/unit/test_0000_bootstrap_svc.js
rename : toolkit/mozapps/update/test/unit/test_0110_general_svc.js => toolkit/mozapps/update/test_svc/unit/test_0110_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0111_general_svc.js => toolkit/mozapps/update/test_svc/unit/test_0111_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0112_general_svc.js => toolkit/mozapps/update/test_svc/unit/test_0112_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0120_channelChange_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0120_channelChange_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0150_appBinReplaced_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0150_appBinReplaced_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0151_appBinPatched_xp_win_partial_svc.js => toolkit/mozapps/update/test_svc/unit/test_0151_appBinPatched_xp_win_partial_svc.js
rename : toolkit/mozapps/update/test/unit/test_0160_appInUse_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0160_appInUse_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0170_fileLocked_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial_svc.js => toolkit/mozapps/update/test_svc/unit/test_0171_fileLocked_xp_win_partial_svc.js
rename : toolkit/mozapps/update/test/unit/test_0180_fileInUse_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0180_fileInUse_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0181_fileInUse_xp_win_partial_svc.js => toolkit/mozapps/update/test_svc/unit/test_0181_fileInUse_xp_win_partial_svc.js
rename : toolkit/mozapps/update/test/unit/test_0182_rmrfdirFileInUse_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0182_rmrfdirFileInUse_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0183_rmrfdirFileInUse_xp_win_partial_svc.js => toolkit/mozapps/update/test_svc/unit/test_0183_rmrfdirFileInUse_xp_win_partial_svc.js
rename : toolkit/mozapps/update/test/unit/test_0200_app_launch_apply_update_svc.js => toolkit/mozapps/update/test_svc/unit/test_0200_app_launch_apply_update_svc.js
rename : toolkit/mozapps/update/test/unit/xpcshell_updater_windows_svc.ini => toolkit/mozapps/update/test_svc/unit/xpcshell.ini
2012-01-04 23:19:15 -05:00
Gabor Krizsanits
91b6eefb6b Bug 587797 - Tests. r=khuey 2012-01-04 10:43:33 -05:00
Josh Matthews
0de1d98af2 Bug 463122 - Improve xpcshell error reporting for generic exceptions caught at the top level. r=ted 2011-12-28 11:57:28 -05:00
Phil Ringnalda
9b232d9b47 Merge m-i <-> m-c 2011-12-24 21:50:23 -08:00
Ms2ger
41881a88d1 Bug 711838 - Remove the jetpack service; r=bsmedberg
Change to toolkit-makefiles.sh r=edmorley
2011-12-24 09:25:52 +01:00
Philipp von Weitershausen
0d3ae88292 Bug 709568 - Part 0: Create SmsMessages from JS. r=smaug 2011-12-24 06:02:52 +01:00
Geoff Brown
36ee0e59d9 Bug 698113: copy libmozutils.so to device during remote xpcshell setup; r=jmaher 2011-12-05 07:19:31 -05:00