Commit Graph

2290 Commits

Author SHA1 Message Date
Jeff Hammel
189892eb1c Bug 805190 - document new procedure for mozbase mirroring and versioning;r=wlach ; DONTBUILD because NPOTB 2012-10-27 08:44:30 -07:00
Jonathan Griffin
c9a2af4575 Bug 805430 - Install mochitest extensions in B2G as app bundles, r=ahal, DONTBUILD(NPOTB) 2012-10-25 09:53:19 -07:00
Sam Garrett
90e7c8851a Bug 796998 - Use mozinstall instead of mozregression for TPS, r=jgriffin, DONTBUILD(NPOTB) 2012-10-24 17:42:08 -06:00
Markus Stange
9e63676c33 Bug 647216: Allow testing of MozMouseHittest window dragging. r=enndeakin 2012-10-26 15:40:11 -04:00
David Burns
3b5adc3d66 Bug 805635: making sure we close the file on import_script; r=mdas 2012-10-26 16:23:52 +01:00
Jeff Hammel
7453c1c485 Bug 805440 - Mozrunner installed from pypi when running setup_development.py;r=jgriffin
--HG--
extra : rebase_source : f34112c361a3b727913648a0cb593f8d966d43e1
2012-10-26 08:58:03 -07:00
Ryan VanderMeulen
130a50c2ca Merge m-c to inbound. 2012-10-25 17:43:19 -04:00
Jonathan Griffin
665ee0fcce Bug 805539 - Disable manifest.ini with no active tests, a=test-only, DONTBUILD(NPOTB) 2012-10-25 13:57:58 -07:00
David Burns
24a71b9c7e Bug 805403: Allow marionette to send keystrokes to elements without value attribute; r=mdas 2012-10-25 21:39:52 +01:00
Henrik Skupin
4019716055 Bug 805297 - Marionette doesn't recognize relative test path from current working directory. r=jgriffin 2012-10-25 16:30:32 -04:00
Jonathan Griffin
24a9559c46 Bug 803740 - Wait for system-message-listener-ready before installing new gecko, r=mdas 2012-10-25 07:09:19 -07:00
Jonathan Griffin
d9ea6690ec Bug 805216 - Add mozdevice to tests.zip, r=jhammel 2012-10-24 14:54:14 -07:00
Ryan VanderMeulen
ee4ed9d764 Merge m-c to inbound. 2012-10-24 14:07:16 -04:00
Jonathan Griffin
fc406ca6a7 Bug 805033 - Specify Marionette deps using >=, r=ahal, DONTBUILD(NPOTB) 2012-10-24 09:53:52 -07:00
William Lachance
e5adaff9ff Bug 801652 - Make sure we print logcat, device info on remote mochitest/reftest failure;r=jmaher 2012-10-24 13:34:33 -04:00
Malini Das
5fbeaf5369 Bug 804562 - fix file permissions for marionette imported scripts, r=jgriffin 2012-10-24 11:36:43 -04:00
Jonathan Griffin
cbc1e86005 Bug 803254 - Detect emulator crashes, r=ahal, DONTBUILD(NPOTB) 2012-10-22 15:00:54 -07:00
Ben Turner
1493ea2ca6 Bug 786295 - 'Delete IndexedDB related to an app when uninstalled'. r=bz+khuey+sicking. 2012-10-23 09:31:19 -07:00
Joel Maher
147b7a7fd5 Bug 804388 - update a new talos.zip to remove misleading remote debugging messages. r=aki 2012-10-23 07:54:14 -04:00
David Burns
0a49a54f06 Bug 804289: bumped Marionette client version; r=jgriffin 2012-10-22 20:40:07 +01:00
Vicamo Yang
06c246d139 Bug 803850: sync MarionetteJSTestCase.add_tests_to_suite arguements with others, r=automatedtester 2012-10-23 00:08:44 +08:00
Vicamo Yang
43ced69e0f Backout 16190e59bc8f, no r= 2012-10-23 00:07:43 +08:00
Vicamo Yang
f3216b60d5 Bug 803850: sync MarionetteJSTestCase.add_tests_to_suite arguements with others. 2012-10-23 00:01:41 +08:00
Ryan VanderMeulen
a7934ae4c3 Merge the last PGO-green inbound changeset to m-c. 2012-10-19 21:43:03 -04:00
Jonathan Griffin
72eff332fd Bug 803745 - Package b2g.json in tests.zip, r=jmaher 2012-10-19 17:19:22 -07:00
David Burns
24a17d4186 Bug 800956: adding the ability to get the size of elements to marionette; r=mdas 2012-10-19 21:59:15 +01:00
David Burns
d7427cea5c Bug 803096: add the ability to get an elements location with marionette; r=mdas 2012-10-19 21:35:30 +01:00
Jonathan Griffin
4ca039d2ec Bug 803253 - Only wait for system-message-listener-ready on emulator startup, r=mdas, DONTBUILD(NPOTB) 2012-10-18 13:19:21 -07:00
David Burns
a6a384cae1 Bug 802227: add --testvars to runner to accept JSON file with test data; r=jgriffin 2012-10-19 20:32:36 +01:00
David Burns
8207fffb4f Bug 801703: iframe elements instead of using window.frames; r=mdas 2012-10-19 19:46:58 +01:00
Joel Maher
b1719fa4c2 Bug 803308 - upload new talos.zip to capture enable privilege change. r=Callek 2012-10-18 20:19:29 -04:00
Joel Maher
7a21448ce5 Bug 773891 - Fix pushprefenv to support char/string types. r=jdm 2012-10-18 08:03:31 -04:00
Alfredos-Panagiotis Damkalis
c10523e8e1 Bug 799008: find_elements to not scope parents when searching with css in Marionette; r=dburns 2012-10-17 15:04:16 -07:00
Ryan VanderMeulen
ad56fd737f Merge m-c to inbound. 2012-10-17 22:29:53 -04:00
Ryan VanderMeulen
a1972707e0 Merge the last PGO-green inbound changeset to m-c. 2012-10-17 22:10:08 -04:00
Jonathan Griffin
491917c9a2 Bug 802877 - Delay a bit before setting default emulator geolocation, a=test-only, DONTBUILD(NPOTB) 2012-10-17 16:46:04 -07:00
Jonathan Griffin
f1b8efd548 Bug 793045 - B2G mochitest manifest for harness stabilization, r=jmaher, DONTBUILD(NPOTB) 2012-10-17 15:32:46 -07:00
Jonathan Griffin
ffaea4c395 Bug 802807 - Only listen for system-message-listener-ready for JS tests, r=mdas, DONTBUILD(NPOTB) 2012-10-17 15:14:51 -07:00
Jonathan Griffin
fc5ef27ae1 Bug 790677 - Fix xpcshell test packaging for B2G, r=ted 2012-10-17 15:12:41 -07:00
Ehsan Akhgari
2c5f5e810e Merge mozilla-central into mozilla-inbound 2012-10-16 20:43:47 -04:00
Jonathan Griffin
d767fa8f82 Bug 792647 - Wait for system-message-listener-ready on B2G before returning during newSession, r=philikon 2012-10-16 16:33:55 -07:00
Masayuki Nakano
8217ef94b6 Bug 705057 part.1 Ensure a set of composition events is fired on same content r=smaug 2012-09-26 14:47:45 +09:00
Malini Das
bd8367bd7e Bug 802753 - remove assertIn so test_getstatus is python 2.6 compatible, r=jgriffin 2012-10-17 16:49:49 -04:00
Gregory Szorc
b8bea338d3 Bug 799532 - Print directory listings when profile directory could not be deleted; r=ted
This patch is intended to be temporary and should be removed once the
underlying problem is resolved.
2012-10-17 11:17:49 -07:00
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
David Burns
61bfbaa26a Bug 784013: adding application cache helpers support to Marionette; r=jgriffin 2012-08-23 15:07:16 -07:00
Joel Maher
767e706cbc Bug 801633 - upload a new talos.zip to capture latest talos changes. r=armenzg 2012-10-16 13:25:24 -04:00
Joel Maher
7217f498ae Bug 799107 - minidumps not being generated from robocop test crashes (breakpad environment variables not being set properly). r=kats 2012-10-16 13:25:23 -04:00
Henrik Skupin
c316c36e49 Bug 791270 - Crashtest for WebRTC crash [@sipcc::PeerConnectionImpl::AddStream]. r=jesup 2012-10-16 13:23:41 -04:00
Alfredos-Panagiotis Damkalis
b2b09feb78 Bug 755552 - add getStatus() call to marionette, r=mdas 2012-10-15 16:51:27 -07:00
Wes Kocher
4a0460ffcd Bug 787346 - Update revision of Jetpack code used in Firefox tests to pick up the new SDK layout. 2012-10-15 14:31:35 -07:00
Joel Maher
55205d9eef Backout e814e12508af (bug 799107), 45863b00372b (bug 801633), 2012-10-15 13:33:37 -04:00
Joel Maher
c321e288af Bug 799107 - minidumps not being generated from robocop test crashes (breakpad environment variables not being set properly). r=kats 2012-10-15 11:13:44 -04:00
Joel Maher
60a769a792 Bug 801633 - upload a new talos.zip to capture latest talos changes. r=armenzg 2012-10-15 11:13:43 -04:00
William Lachance
3d699579d7 Bug 756440 - Only warn when we fail cleanup steps with mobile mochitest/reftest;r=jmaher
Before we were outright failing if the test logfile was missing when cleaning
up these tests. But that's generally a sign that the app failed to start
up properly, which is the true issue we should be trying to catch / diagnose.
Let's just print a warning here and move on.
2012-10-15 10:15:19 -04:00
Joel Maher
b8e9d0187b Backout f271acb304c2 (bug 799107), 2012-10-15 09:08:41 -04:00
Joel Maher
2229b63364 Bug 799107 - minidumps not being generated from robocop test crashes (breakpad environment variables not being set properly). r=kats 2012-10-15 07:10:49 -04: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
Al Tsai
48e17aba65 Bug 777983 - Add marionette test for b2g gps provider. r=dougt 2012-10-11 21:31:39 -04:00
Jonathan Griffin
9c6de4cec1 Bug 800102 - Make installing gecko on B2G emulator more reliable, r=ahal, DONTBUILD(NPOTB) 2012-10-11 12:07:34 -07:00
Ehsan Akhgari
5a7253fa1e Merge mozilla-central into mozilla-inbound 2012-10-10 20:21:13 -04:00
Gregory Szorc
2bb5606ff3 Bug 799291 - Part 3: Move mozbuild.testing into testing/; r=jhammel
--HG--
rename : python/mozbuild/mozbuild/testing/test.py => testing/moztesting/util.py
2012-10-10 11:08:09 -07:00
Gregory Szorc
97cce3a53e Bug 799291 - Part 1: Move mach commands for test running into test runners; r=jhammel
The code interacting with the test runners now resides in closer
proximity to the code it is invoking. We also purge testing
functionality from mozbuild, which is where it never really belonged.

--HG--
rename : python/mozbuild/mozbuild/testing/reftest.py => layout/tools/reftest/mach_commands.py
rename : python/mozbuild/mozbuild/testing/mochitest.py => testing/mochitest/mach_commands.py
rename : python/mozbuild/mozbuild/testing/xpcshell.py => testing/xpcshell/mach_commands.py
2012-10-10 11:08:09 -07:00
Ryan VanderMeulen
3747aa2326 Merge the last PGO-green inbound changeset to m-c. 2012-10-09 21:10:12 -04:00
Ehsan Akhgari
5150b5b605 Bug 799229 - Move the ForgetAboutSite modules to toolkit; r=Mossop
--HG--
rename : browser/components/privatebrowsing/src/ForgetAboutSite.jsm => toolkit/forgetaboutsite/ForgetAboutSite.jsm
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_clearplugindata.html => toolkit/forgetaboutsite/test/browser/browser_clearplugindata.html
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_clearplugindata.js => toolkit/forgetaboutsite/test/browser/browser_clearplugindata.js
rename : browser/components/privatebrowsing/test/unit/downloads.empty.sqlite => toolkit/forgetaboutsite/test/unit/downloads.empty.sqlite
rename : browser/components/privatebrowsing/test/unit/test_removeDataFromDomain.js => toolkit/forgetaboutsite/test/unit/test_removeDataFromDomain.js
rename : browser/components/privatebrowsing/test/unit/test_removeDataFromDomain_activeDownloads.js => toolkit/forgetaboutsite/test/unit/test_removeDataFromDomain_activeDownloads.js
2012-10-08 16:48:11 -04:00
David Clarke
11417705ee Bug 797513 - Add geolocation class to Marionette emulator, r=jgriffin, DONTBUILD(NPOTB) 2012-10-09 15:50:09 -07:00
Ted Mielczarek
50d314a70a bug 787176 - Add a Python wrapper script for running C++ unit tests. r=jmaher,waldo
--HG--
extra : rebase_source : 2282494578a7dd792555633df2526835d39c5ac4
2012-08-30 15:20:38 -04: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
Ehsan Akhgari
d443b4f6a0 Bug 798508 - Part 1: Implement the "private" window.open feature; r=bzbarsky
This patch adds support for a "private" window flag which can be used to
open new chrome windows in private browsing mode.  It also tests to make
sure that the flag is not accessible from content.  A test in the next
part makes sure that the flag is accessible from chrome.
2012-10-07 15:04:39 -04:00
Bobby Holley
cb6ae4e8a3 Bug 794420 - Remove hard edge from SpecialPowers to window.Components. r=khuey
This causes us to leak every window ever, a la bug 722428.
2012-10-10 10:57:38 +02:00
Ed Morley
9c6425342d Bug 793855 - runxpcshelltests.py should catch shutil.rmtree(dirname) exceptions and output a TBPL-compatible error; r=gps 2012-10-07 21:21:52 +01:00
Ed Morley
cd0df9b353 Bug 793855 - runxpcshelltests.py should check the test process has exited and if not, output a TBPL-compatible error; r=gps,jmaher 2012-10-07 21:21:30 +01:00
Ms2ger
3ed6579510 Bug 798806 - Disable permaorange test_bug511075.html on Android. 2012-10-06 20:37:25 +02:00
Wes Kocher
4a135e4649 No bug - Update Jetpack tests on mozilla-central to get current code before the Aurora merge. 2012-10-05 23:48:39 -07:00
Brian Nicholson
ea3698b8de Bug 769145 - Part 6: Update test cases for layout changes. r=mfinkle 2012-10-05 17:27:12 -07:00
Albert Crespell
6278d6dd5a Bug 746069: Part 4: Tests for NetworkStats. r=philikon r=marshall 2012-10-04 18:45:56 +02:00
Simon Montagu
25e8f55bc0 Make SimpleTest.is* functions less verbose on pass. Bug 797827, r=jmaher 2012-10-04 08:57:50 -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
Justin Lebar
851ff7842d Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-04 00:44:50 -04:00
Matthew Noorenberghe
c704d186dc Disable test_notifications_popup.html from bug 784028 on android since it's lacking PopupNotifications 2012-10-03 20:54:37 -07:00
Ryan VanderMeulen
b3a7522e9a Backout 99caa1f41fe1 (bug 797515) and a04b83c53297 (bug 789392) for M2 orange. 2012-10-03 21:59:41 -04:00
Justin Lebar
30b2ea29e8 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-03 20:45:40 -04:00
Ryan VanderMeulen
325089208a Merge m-c to inbound. 2012-10-03 18:19:17 -04:00
David Chan
7991baddb3 Bug 797177 - Unbreak b2g mochitests, r=ahal 2012-10-02 15:43:19 -07:00
Marshall Culpepper
f526c8c9e0 Bug 797154: A new virtualenv frontend for B2G mochitests. r=jgriffin 2012-10-03 12:50:07 -05:00
Jeff Hammel
ca4ac26851 Bug 797144 - mirror mozbase -> m-c for bug 796863 @ db7f115a9e;r=wlach 2012-10-03 09:13:21 -07:00
Patrick Wang
253d71a38a Bug 777384 - Test case r=jlebar
--HG--
extra : rebase_source : 777580f0a22bfb3d9d447097b0f4a379f2b7416b
2012-09-27 01:47:57 +08:00
Joel Maher
d37007e0cd Bug 797112 - we have a call to dm.checkCmd and that api doesn't exist anymore. r=wlach 2012-10-03 11:07:31 -04:00
Masatoshi Kimura
adbc1a4a51 Bug 795544 - Test updates. r=bz
--HG--
rename : dom/encoding/test/test-big5.js => dom/encoding/test/unit/test_big5.js
rename : dom/encoding/test/test-euc-jp.js => dom/encoding/test/unit/test_euc-jp.js
rename : dom/encoding/test/test-euc-kr.js => dom/encoding/test/unit/test_euc-kr.js
rename : dom/encoding/test/test-gbk.js => dom/encoding/test/unit/test_gbk.js
rename : dom/encoding/test/test-hz-gb-2312.js => dom/encoding/test/unit/test_hz-gb-2312.js
rename : dom/encoding/test/test-iso-2022-jp.js => dom/encoding/test/unit/test_iso-2022-jp.js
rename : dom/encoding/test/test-iso-2022-kr.js => dom/encoding/test/unit/test_iso-2022-kr.js
rename : dom/encoding/test/test-shift_jis.js => dom/encoding/test/unit/test_shift_jis.js
rename : dom/encoding/test/tests.js => dom/encoding/test/unit/test_singlebytes.js
2012-10-01 21:49:12 +09:00
Justin Lebar
0763b41739 Back out bbf94917f0ec (bug 789392) on strong suspicion of causing assertions in debug mochitest-2 on a CLOSED TREE.
The assertion encountered is:

Assertion failure: !gAppContentParents || !gAppContentParents->Get(mAppManifestURL), at ../../../dom/ipc/ContentParent.cpp:774
TEST-UNEXPECTED-FAIL | /tests/dom/browser-element/mochitest/test_browserElement_oop_CloseFromOpener.html | Exited with code 11 during test run
PROCESS-CRASH | /tests/dom/browser-element/mochitest/test_browserElement_oop_CloseFromOpener.html | application crashed (minidump found)
Thread 0 (crashed)
2012-10-02 18:20:20 -04:00
David Rajchenbach-Teller
5eca5b886d Bug 783987 - Test suite without hostile promises. r=Mossop 2012-10-02 16:38:50 -04:00
Ryan VanderMeulen
690eed88f1 Merge m-c to inbound. 2012-10-02 16:38:45 -04:00
Justin Lebar
774351fff4 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-02 13:55:52 -04:00
Jonathan Griffin
cff81b7364 Bug 796019 - Make Marionette smarter about registering frame scripts, r=mdas, DONTBUILD(NPOTB) 2012-10-02 10:37:47 -07:00
Gervase Markham
0958145486 Bug 759095 - remove stray references to tri-license. 2012-10-02 12:52:06 +01:00
Vladimir Vukicevic
2864c47b46 b=683143,792462; Some tests call SimpleTest.finish() twice/guard against that; r=ehsan 2012-10-01 17:51:10 -04: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
Justin Lebar
0a3747e9a8 Bug 794280 - Improve comment for SpecialPowers.pushPrefEnv(). r=ted DONTBUILD 2012-10-02 12:04:24 -04:00