Commit Graph

4905 Commits

Author SHA1 Message Date
James Graham
4436087710 Bug 1033458 - Update mozrunner version, r=ahal. 2014-07-02 22:20:53 +01:00
James Graham
97d18f9971 Bug 1032136 - Make mozrunner 6 work for on-device B2G testing, r=ahal. 2014-07-02 22:20:52 +01:00
Henrik Skupin
f2496b402d Bug 1033703 - Pin TPS to specific versions of mozbase packages. r=ahal a=testonly DONTBUILD
---
 testing/tps/setup.py | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
2014-07-03 16:06:27 +02:00
Ed Morley
755d4aeff4 Bug 1027574 - Mozrunner should use logcat format 'time' not 'threadtime'; r=ahal 2014-07-04 15:04:16 +01:00
Marco Castelluccio
220c26d71b Bug 1028987 - Don't use Task.jsm to wait for cleanup function promises. r=jmaher 2014-07-04 14:41:24 +02:00
Borting Chen
1bfa28466d Bug 951976 - part 2, Test cases. r=gene 2014-05-12 18:55:49 +08:00
Henrik Skupin
72235dc8cd Bug 1034722 - Upgrade virtualenv to 1.10.1 for TPS environment creation. r=jgriffin DONTBUILD 2014-07-07 22:58:17 +02:00
Chris Manchester
6ba14fdd35 Bug 1035006 - Fix pyflakes warnings in mozbase.;r=wlach 2014-07-07 14:51:34 -04:00
Sylvestre Ledru
63dfdf6b1e Bug 991866: Catch the exception and returns the iso8859-1 string. In some cases, the display was failing r=ahal
--HG--
extra : rebase_source : 2a913276a15f721d3a9f07783735544bf292ec7e
2014-07-04 12:07:38 +02:00
Wes Kocher
426690253a Merge inbound to m-c a=merge 2014-07-01 16:42:57 -07:00
Henrik Skupin
39f93709a2 Bug 1032787 - [tps] FirefoxRunner should not reset environment variables. r=aeftimie a=testonly DONTBUILD 2014-07-01 17:30:58 +02:00
Chris Manchester
5b352e1995 Bug 1030845 - Modify mozlog.structured's tbplformatter to comply with tbpl. r=edmorley,jgraham 2014-07-01 10:42:16 -04:00
Wes Kocher
d008715ddd Merge fx-team to m-c a=merge 2014-06-30 18:22:10 -07:00
Wes Kocher
5f7f1cf2bb Merge inbound to m-c a=merge 2014-06-30 18:00:36 -07:00
Andrew Halberstadt
89116d2d4e Bug 1031415 - Fix bad exception handling in emulator.wait_for_system_message(), r=jgriffin 2014-06-30 16:28:00 -04:00
Cosmin Malutan
3c605132ab Bug 1032114 - TPS fails to decode Windows file paths in config file. r=hskupin a=testonly DONTBUILD 2014-06-30 16:16:17 +02:00
Gijs Kruitbosch
2db2ab5eb6 Bug 1030149 - dummify all the sync prefs, r=ttaubert 2014-06-25 16:32:06 +01:00
Geoff Brown
cbbabf181b Bug 1031103 - Skip test_bug659743.xml on Android 2.3 for too many intermittent time outs; no review 2014-06-27 13:59:29 -06:00
Jim Blandy
15b78ecf33 Bug 800200: Remove references to JSD from outside js/jsd. r=mccr8,bholley,ted,smaug 2014-06-27 11:05:08 -07:00
J. Ryan Stinnett
936fa498cb Bug 975591 - Part 1: Add device discovery service. r=paul
--HG--
rename : toolkit/devtools/moz.build => toolkit/devtools/discovery/moz.build
rename : toolkit/devtools/moz.build => toolkit/devtools/discovery/tests/moz.build
2014-06-26 16:40:00 +02:00
Ryan VanderMeulen
3fb7520283 Merge inbound to m-c on a CLOSED TREE. a=merge 2014-06-26 17:13:04 -04:00
Geoff Brown
cad062f7f5 Bug 1030942 - Skip test_no_arr_points.html on Android 2.3, no review, on a CLOSED TREE 2014-06-26 14:01:41 -06:00
Kartikaya Gupta
1d49cdc46b Bug 1030805 - Stop claiming all gtests are AsyncPanZoomController tests. r=BenWa 2014-06-26 12:19:33 -04:00
Ryan VanderMeulen
bba1283771 Backed out changeset e4c57f58a0ad (bug 956739) for changing Marionette failure output in a TBPL-unfriendly way. 2014-06-26 12:00:55 -04:00
Bob Clary
84cafa2af4 Bug 1012711 - Add adb.py to devicemanager package, -correcting bugnumber- r=wlach. DONTBUILD a=sheriffduty 2014-06-26 16:20:12 +02:00
Carsten "Tomcat" Book
4a581018ef Backed out changeset 1fd65e3c2f4a (bug 1012712) 2014-06-26 16:18:34 +02:00
Carsten "Tomcat" Book
39ff1551ea merge fx-team to mozilla-central a=merge 2014-06-26 15:33:24 +02:00
Wes Kocher
c8c625d1b9 Merge m-c to fx-team a=merge 2014-06-25 18:44:50 -07:00
Bob Clary
adf1fa16ff Bug 1012712 - Add adb.py to devicemanager package, r=wlach. DONTBUILD 2014-06-25 21:08:41 -07:00
Carsten "Tomcat" Book
23d6a7ded4 Merge mozilla-central to mozilla-inbound 2014-06-25 15:42:28 +02:00
Carsten "Tomcat" Book
1bcd668f88 merge mozilla-inbound to mozilla-central a=merge 2014-06-25 15:28:19 +02:00
Cosmin Malutan
618f81817b Bug 1028030 - Add placeholders for email and password in TPS config file. r=hskupin a=test-only DONTBUILD 2014-06-25 15:11:42 +02:00
David Rajchenbach-Teller
a82c78cd53 Bug 1023787 - Make Task.jsm stack rewriting play nicely with xpcshell and mochi tests. r=paolo, r=mikedeboer 2014-06-20 14:23:00 -04:00
Andrew McCreight
5c8d2af685 Bug 1023368 - Non-fatally provide information about the LLVM symbolizer in cppunittests. r=jmaher 2014-06-24 11:27:39 -07:00
Andrew Halberstadt
e30a35bbc9 Bug 1028746 - Running mach mochitest-remote from gecko srcdir raises AttributeError instead of being helpful, r=gps, DONTBUILD, a=NPOTB 2014-06-24 13:47:19 -04:00
Patrick McManus
6d4aa948ec bug 1027364 - multiple http/2 header frames on same stream r=hurley 2014-06-19 23:42:29 -04:00
Vaibhav Agrawal
45213e82ee Bug 925699 - pymake/mach mochitest-plain don't delete the temporary profile. r=jmaher 2014-06-24 12:02:07 -04:00
Joel Maher
7024beae58 Bug 1028999 - Update talos to get recent changes. r=avih 2014-06-24 11:26:08 -04:00
Carsten "Tomcat" Book
eed482899c Backed out changeset 3a5789d0e7e0 (bug 883339) suspicion of causing Exception: Ambiguous symbol file for xul.pdb failure on a CLOSED TREE 2014-06-24 13:35:26 +02:00
Carsten "Tomcat" Book
8be0d4bc98 Backed out changeset 8499eefa342e (bug 958868) for m2 test failures on a CLOSED TREE 2014-06-24 12:49:47 +02:00
Vaibhav Agrawal
34b269b85c Bug 925699 - pymake/mach mochitest-plain don't delete the temporary profile. r=jmaher 2014-06-23 11:24:00 +02:00
Andrew Comminos
156004b042 Bug 958868 - Add support for delta line and page accumulation; r=masayuki, sr=smaug 2014-06-24 18:02:11 +09:00
Ting-Yu Lin
4c7c85652e Bug 951654 - Fix unable to locate element box0 intermittently. r=automatedtester
Set search timeout to 30 seconds so that box0 could have enough time to
appear. The original timeout 3 seconds might be too short when try
servers have heavy loading.
2014-06-23 02:54:00 +02:00
Geoff Brown
8e59ee35ac Bug 1028918 - Re-enable test_MediaSource.html on Android 2.3; no review 2014-06-23 21:17:02 -06:00
Brian Smith
2ea2825f08 Bug 883339: Enable "mach gtest" on Windows, but leave GTest disabled for "make check", r=glandium
--HG--
extra : rebase_source : e62eac1e5e70293d3c9df5406c996097abccbd3a
2014-06-08 19:00:58 -07:00
Jim Blandy
4d6a633bba Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Brian Smith
85e25965c9 Bug 883339: Enable GTest on Windows except for PGO builds, r=glandium
--HG--
extra : rebase_source : d438645a363b72affb8e754a760ac92dfacaac5b
2014-06-08 19:00:58 -07:00
Wes Kocher
20e8bbb46d Merge m-c to inbound a=merge 2014-06-23 18:59:54 -07:00
Wes Kocher
17ccd46921 merge b2g-inbound to m-c a=merge 2014-06-23 18:55:45 -07:00
David Burns
d5d64c921c Bug 1024642: Remove extra white space from files, no functional changes; r=dbaron 2014-06-23 10:24:16 +01:00
David Burns
a495f58aea bug 1024642: Add rebeccapurple to mochitest colors; r=jmaher 2014-06-23 10:24:08 +01:00
Projjol
416668b7a1 Bug 1021049 - Incorporate more basic information into marionette documentation. r=wlach 2014-06-23 11:34:55 -04:00
Ed Morley
0dff097299 Backed out changeset 1566b80f6c2b (bug 1026181) since the curses module isn't available 2014-06-23 17:20:02 +01:00
Thinker K.F. Li
ac3370118d Bug 1018705 - Install the test component of startupcache as one of EXTRA_COMPONENTS. r=gps 2014-06-20 23:36:00 -04:00
Bevis Tseng
9022127a2a Bug 921326 - Part 5: Add manifest.ini into webapi tests in marionette unit-tests.ini. r=htsai 2014-06-17 13:26:31 +08:00
James Graham
6de285fc0b Bug 1026181 - Make mach terminal formatter work outside mach context, r=wlach 2014-06-23 16:20:42 +01:00
Ed Morley
68344ef586 Backed out changeset 154690942f4d (bug 1027607) for morphing the test names to something that causes greater false positives 2014-06-23 15:56:01 +01:00
Ed Morley
73707d1cc0 Backed out changeset 3399263d2702 (bug 1027607) 2014-06-23 15:54:43 +01:00
Geoff Brown
2fbcaa2826 Bug 1028918 - Disable content/media/mediasource/test/test_MediaSource.html on Android 2.3; r=me 2014-06-23 08:35:52 -06:00
Andrew Halberstadt
7b3da6caf1 Bug 1027607 - Add missing 'self' on a CLOSED TREE, r=bustage 2014-06-23 08:45:52 -04:00
Andrew Halberstadt
6b61c5ac47 Bug 1027607 - Mozrunner should always pass in test_name to check_for_crashes when available, r=chmanchester 2014-06-23 08:10:30 -04:00
Chris Manchester
f84c9426f1 Bug 1020625 - Don't call structured logging's suite_start and suite_end per test suite. r=jgraham 2014-06-09 12:01:26 -04:00
Carsten "Tomcat" Book
662392adb6 Merge mozilla-central to mozilla-inbound 2014-06-26 15:51:31 +02:00
Chris Manchester
1f4f3e1586 Bug 956739 - Move marionette tests to structured logging. r=mdas 2014-01-16 14:58:56 +00:00
Geoff Brown
f57af90fe9 Bug 1030432 - Skip test_transitions_cancel_near_end.html on Android 2.3 only; no review 2014-06-25 18:58:48 -06:00
Geoff Brown
e2cd7191bd Bug 1030419 - Skip test_media_queries.html on Android 2.3 only; no review 2014-06-25 18:58:48 -06:00
Geoff Brown
3fb0d8f9ae Bug 1030403 - Skip test_reserved.html on Android 2.3 only; no review 2014-06-25 18:58:47 -06:00
Nicholas Hurley
fe7a4927a4 Bug 1026609 - HTTP/2 draft 13 part 2 - test updates. r=mcmanus 2014-06-25 17:33:17 -07:00
Mike Hommey
ccdc7b4993 Bug 883339 - Enable gtest on windows TBPL non-PGO builds. r=ted 2014-06-26 07:59:24 +09:00
Wes Kocher
04a521faea merge m-c to inbound on a CLOSED TREE 2014-06-20 14:02:54 -07:00
Wes Kocher
32ccf13781 Backed out changeset 53b54cd44410 (bug 1026181) for lots of bustage causing a CLOSED TREE 2014-06-20 12:33:36 -07:00
Tim Taubert
43f6ec0719 merge m-c to fx-team 2014-06-20 18:49:23 +02:00
Chris Cooper
ddba2c8da6 Bug 920364 - Remove unused --enable-privilege from remotereftest invocations - r=gbrown 2014-06-19 22:29:33 -04:00
Wes Kocher
0581005adc Merge inbound to m-c a=merge 2014-06-19 18:07:43 -07:00
Ed Morley
7dd2371081 Merge mozilla-central and fx-team 2014-06-19 17:20:10 +01:00
Mike de Boer
30a432a6e1 Bug 1022725: add a mock httpd.js Translation provider for tests. r=florian,felipe 2014-06-19 16:56:02 +02:00
Geoff Brown
7285ebc540 Bug 1026830 - Add LD_LIBRARY_PATH=xrePath when launching utilities; r=jmaher 2014-06-18 20:39:34 -06:00
Birunthan Mohanathas
ec8396a564 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Wes Kocher
b8d6b378bf Merge m-c to fx-team 2014-06-19 18:33:19 -07:00
Gregory Szorc
a7c2656cb5 Bug 920193 - Teach mach test how to run individual test files; r=AutomatedTester
With this change, mach test can now resolve filename arguments to tests
and can dispatch to the appropriate mach commands.

If the arguments contain tests belonging to multiple test
suites/flavors, each relevant test in invoked.

--HG--
extra : rebase_source : dae9e0a094acc587bb7ecb769789c062c7aeb34f
2014-06-18 11:21:12 -07:00
Gregory Szorc
88fb1d29b0 Bug 920193 - mach mochitest can now receive test objects; r=AutomatedTester
Similar to the previous patch, we now teach `mach mochitest` how to
execute test objects directly.

--HG--
extra : rebase_source : b69b5b74bcf6c81cff5deb28a1156ab2fcc691f7
2014-06-18 11:19:45 -07:00
Gregory Szorc
aea7810a42 Bug 920193 - mach xpcshell-test can now receive test objects; r=AutomatedTester
A subsequent patch will have another mach command dispatch into
`xpcshell-test`. To avoid redundant resolution of test paths, we now
support passing resolved test objects into the mach command.

--HG--
extra : rebase_source : 1eb0e7b1ef1e45ca163ddb152d1bbb7b6b4d02e6
2014-06-18 11:17:50 -07:00
Gregory Szorc
4999a49478 Bug 938712 - Dispatch mach test mochitest suites via mach mochitest; r=AutomatedTester
`mach test` now dispatches through `mach mochitest --flavor` where
supported. As part of testing this patch, it was discovered that `mach
test` may have been broken for quite some time, as it was still
referring to "test_file" arguments instead of "test_paths." This has
been corrected.

--HG--
extra : rebase_source : 4a704df0a67bdda575785cb9f27f050f178dc505
2014-06-17 16:03:49 -07:00
Gregory Szorc
c15e536e73 Bug 938712 - Add --flavor to mach mochitest; r=AutomatedTester
`mach mochitest` now accepts a --flavor argument to limit execution to
tests of a certain flavor. Executing `mach mochitest --flavor=X` should
be equivalent to executing `mach mochitest-X`.

This paves the road to deprecating the various `mach mochitest-X`
commands.

--HG--
extra : rebase_source : 0f8370425f54a4ec86e7f668bcbff69362e017f7
2014-06-17 15:49:41 -07:00
Gregory Szorc
b3a110713e Bug 938712 - Implement mach mochitest; r=AutomatedTester
The `mach mochitest` command is now implemented. Given test path
arguments, it will identify mochitests of any flavor and run the
appropriate mochitest suite.

If tests from multiple suites are present, it will invoke each suite
separately. Although, the output in this mode isn't very friendly.

There are a number of enhancements that could be made to this command,
including the abilities to filter by flavor and sub-suite. These will
come in another patch.

--HG--
extra : rebase_source : 9be6000e6bb508ef0c980eda9f9ebe03a4c0f02a
2014-06-17 15:42:08 -07:00
Gregory Szorc
fce0336b8c Bug 938712 - Allow multiple instantiations of MochitestOptions; r=AutomatedTester
The MochitestOptions class has a class-local definition of the options
going into the optparse instance. The default values for these options
would be reused by subsequent consumers. In the case of the profile
path, the same temporary directory would be used. In the case of list
arguments, subsequent runs would inherit members added by earlier runs.

This patch should make subsequent runs free from the baggage of the
first.

--HG--
extra : rebase_source : c55a229e67515a9133377404344872ad0935a637
2014-06-17 15:38:13 -07:00
James Graham
ae9da8bce3 Bug 1026181 - Make mach terminal formatter work outside mach context, r=wlach
--HG--
extra : rebase_source : ac66edb9f80fc5fbebebb953ca15861a91095d4b
2014-06-20 19:41:04 +01:00
Andrew Halberstadt
6161373928 Bug 1028119 - Change string in mozrunner timeout to hide newly exposed but long running perma-orange, r=edmorley 2014-06-20 13:45:05 -04:00
Malini Das
9b8a472bd9 Bug 1028239 - release updated mozlog client, r=wlach 2014-06-20 13:15:25 -04:00
Malini Das
cfa84d717c Bug 1028254 - bump marionette client version to 0.7.10, r=davehunt 2014-06-20 12:17:31 -04:00
Andrew McCreight
4061f7761e Bug 988041 - Enable LeakSanitizer for Mochitests. r=jmaher 2014-06-20 09:08:30 -07:00
Ted Mielczarek
7ee81f0ecb Bug 1023670 - Fix DeviceManager.mkDirs with a Windows path. r=wlach 2014-06-16 11:52:52 -04:00
Andrew Halberstadt
6d852cdaf6 Bug 1028119 - Fix mochitest TypeError on timeout in mozrunner, r=edmorley 2014-06-20 10:11:05 -04:00
Nathan Froyd
7d732cdc91 Bug 995417 - part 2 - testing infrastructure changes to set MOZ_DISABLE_NONLOCAL_CONNECTIONS; r=jmaher 2014-06-17 10:49:57 -04:00
Andrew Halberstadt
d638652838 Bug 997244 - Move emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-19 14:17:26 -04:00
Nicholas Nethercote
39f29c384a Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Wes Kocher
0771859834 Backed out changeset 81a51de30a2a (bug 997244) for breaking b2g emulator mochitests on an otherwise CLOSED TREE 2014-06-18 14:15:48 -07:00
Andrew Halberstadt
0b14f45d59 Bug 997244 - Pull emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-18 13:30:12 -04:00
Armen Zambrano Gasparnian
9c5e561048 Bug 989583 - Set self.testRoot and self.testRootAbs in only one place (runtests.py). r=jmaher 2014-06-17 09:50:16 -04:00
Carsten "Tomcat" Book
8a4ebf62ad merge b2g-inbound to mozilla-central a=merge 2014-06-17 14:23:57 +02:00
Nathan Froyd
ad9d2bf854 Bug 1025959 - disable checks for webapp updates during tests; r=jmaher 2014-06-16 11:47:05 -04:00
Wes Kocher
400613fa46 Backed out changeset da73c6745a10 (bug 1023670) under suspicion of causing the android bustage CLOSED TREE 2014-06-16 13:34:01 -07:00
Ted Mielczarek
e97e571d19 Bug 1025181 - [mozlog] Fix structured logging HTML formatter to actually produce results. r=jgraham 2014-06-16 11:52:52 -04:00
Ted Mielczarek
fae372fb2f Bug 1023670 - Fix DeviceManager.mkDirs with a Windows path. r=wlach 2014-06-16 11:52:52 -04:00
Armen Zambrano Gasparnian
31244d9e09 Bug 989583 - Install all tests (even disabled) from manifests. r=jmaher 2014-06-16 14:51:22 -04:00
James Graham
7f1c67ff81 Bug 1016916 - Add a 'structlog format' command for formatting logfiles, r=wlach
This replaces the __main__ sections in the formatters
2014-06-16 12:53:48 +01:00
David Rajchenbach-Teller
7f063bb1ef Bug 1010518 - Activate Task.Debugging.maintainStack on test suites. r=ted 2014-06-09 14:43:00 +02:00
Ting-Yu Lin
0a196bc8cb Bug 1024848 - part 1 - Improve selection carets test cases. r=mdas
On Windows, when selecting a word by long pressing, extra spaces after
the word will also be selected. To solve this problem, I redesign the
test cases by comparing the target content with the selected content
directly while ignoring spaces at certain test cases. I believe it's
easier to understand and less error-prone than the old
replace-selected-content-and-compare way.

I added a new method SelectionManager.selected_content() to make it
easier to get the current selected text.
2014-06-13 02:33:00 +02:00
Andrey Botalov
1e2f8eb2f6 Bug 1025838 - Add 'version' prefix to version number in HTML report. r=dhunt 2014-06-16 06:53:00 -04:00
Doug Turner
e4c4ac4a0d Bug 1019071 - increase geo.wifi.timeToWaitBeforeSending. r=garvank 2014-06-13 11:08:40 -07:00
Andrew McCreight
354c4cc1fa Bug 1023368 - ASan tests should show an error when the symbolizer isn't found. r=jmaher 2014-06-14 16:43:46 -07:00
Nathan Froyd
7fdd1535f9 Bug 1024588 - turn off useragent updates for tests, to avoid hitting the network; r=jmaher 2014-06-12 15:14:43 -04:00
Dave Hunt
31743db376 Bug 1024441 - Bump mozversion to 0.6. r=wlach 2014-06-12 04:29:00 -04:00
Ting-Yu Lin
b83352b6f4 Bug 962645 - Support wait between press->release action chain. r=mdas
wait() before press() should not raise "MarionetteException: Element has
not been pressed."
2014-06-12 02:34:00 -04:00
Ryan VanderMeulen
2921c4798a Merge m-c to inbound on a CLOSED TREE. a=merge 2014-06-12 17:32:33 -04:00
Ryan VanderMeulen
5e788e124c Merge m-c to fx-team on a CLOSED TREE. 2014-06-12 14:58:41 -04:00
Chris Manchester
2b66f8beff Bug 1021931 - Add a fallback in mozlog.structured.commandline for users of optparse. r=jgraham 2014-06-12 13:53:23 -04:00
Dave Hunt
40a85318ec Bug 1023915 - [mozversion] Support targeting device by serial identifier. r=wlach 2014-06-11 08:44:00 -04:00
William Lachance
5a9d4114aa Bug 1023883 - Update doc reference to manifestparser from manifestdestiny. r=ahal 2014-06-11 10:27:20 -04:00
Ting-Yu Lin
f912c3b2a5 Bug 1019441 - Part 2: Add marionette test cases for selection carets. r=roc, r=mdas
Add marionette test cases for selection carets feature in bug 987718.
Test cases target <input>, <textarea>, editable and non-editable
elements.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_seletioncarets.py

Run tests on b2g emulator manually:
./mach marionette-webapi layout/base/tests/marionette/test_seletioncarets.py
2014-06-11 06:28:00 -04:00
Ting-Yu Lin
16c27c8766 Bug 1019441 - Part 1: Add SelectionManager in marionette. r=mdas
* Extract those caret manipulating functions in test_touchcaret.py to
  selection.py, and generalize them for manipulating selection.
* Use SelectionManager in test_touchcaret.py.
* Remove unneeded </input> from test_touchcaret.html.
2014-06-11 03:02:00 -04:00
Ryan VanderMeulen
1c3ae110f7 Merge m-c to inbound on a CLOSED TREE. 2014-06-12 14:56:35 -04:00
Jonathan Griffin
fd0c5f398d Bug 994920 - Add --test-path to in-tree B2G mochitest config, r=ahal 2014-06-12 09:23:12 -07:00
William Lachance
e28a682e56 Bug 1021943 - Add some additional features to mozlog.structured to help with informational level logging;r=jgraham 2014-06-12 11:28:19 -04:00
Wes Kocher
62217765cf Merge inbound to m-c a=merge 2014-06-11 18:46:34 -07:00
Ed Morley
446d6e3518 Merge mozilla-central and b2g-inbound 2014-06-11 18:06:52 +01:00
Bobby Holley
50b0fd5191 Bug 1020609 - Fix up SpecialPowers for Array Xrays. r=bz
This just makes the special Object behavior apply to Array as well.
2014-06-11 15:16:06 -07:00
Jonathan Griffin
c1df2f470d Bug 1018436 - Fix import script problem on Windows, r=mdas 2014-06-11 11:26:28 -07:00
Ryan VanderMeulen
1166f1fc7d Backed out changeset ec353cd772b1 (bug 989583) for B2G emulator mochitest mass-fail. 2014-06-11 13:55:44 -04:00
Armen Zambrano Gasparnian
f04e017acc Bug 989583 - Include all tests upon build time (even disabled ones) & only run enabled ones during run time. r=jmaher 2014-06-11 12:16:10 -04:00
Dan Minor
67f33729cf Bug 919595 - Stop skipping cppunit test TestTXMgr.cpp on Android; r=ehsan 2014-06-11 07:12:31 -04:00
Ting-Yu Lin
0c30fcf209 Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Enlarge touch caret expiration time to 60 seconds to avoid intermittent
test failures in test cases which need to move touch caret.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-11 02:48:00 -04:00
Wes Kocher
1065aa48a9 Merge b2g-inbound to m-c a=merge 2014-06-10 18:37:54 -07:00
Ryan VanderMeulen
f855e00b2d Backed out changesets 5309d91dc590, b2afa18bea00, and 610b1e0c7562 (bug 951976) for introducing new rooting hazards. 2014-06-10 15:15:10 -04:00
William Lachance
4b9480677f Bug 984528 - Rename manifestdestiny -> manifestparser. r=ahal
--HG--
rename : testing/mozbase/docs/manifestdestiny.rst => testing/mozbase/docs/manifestparser.rst
rename : testing/mozbase/manifestdestiny/manifestparser/__init__.py => testing/mozbase/manifestparser/manifestparser/__init__.py
rename : testing/mozbase/manifestdestiny/manifestparser/manifestparser.py => testing/mozbase/manifestparser/manifestparser/manifestparser.py
rename : testing/mozbase/manifestdestiny/setup.py => testing/mozbase/manifestparser/setup.py
rename : testing/mozbase/manifestdestiny/tests/comment-example.ini => testing/mozbase/manifestparser/tests/comment-example.ini
rename : testing/mozbase/manifestdestiny/tests/default-skipif.ini => testing/mozbase/manifestparser/tests/default-skipif.ini
rename : testing/mozbase/manifestdestiny/tests/filter-example.ini => testing/mozbase/manifestparser/tests/filter-example.ini
rename : testing/mozbase/manifestdestiny/tests/fleem => testing/mozbase/manifestparser/tests/fleem
rename : testing/mozbase/manifestdestiny/tests/include-example.ini => testing/mozbase/manifestparser/tests/include-example.ini
rename : testing/mozbase/manifestdestiny/tests/include/bar.ini => testing/mozbase/manifestparser/tests/include/bar.ini
rename : testing/mozbase/manifestdestiny/tests/include/crash-handling => testing/mozbase/manifestparser/tests/include/crash-handling
rename : testing/mozbase/manifestdestiny/tests/include/flowers => testing/mozbase/manifestparser/tests/include/flowers
rename : testing/mozbase/manifestdestiny/tests/include/foo.ini => testing/mozbase/manifestparser/tests/include/foo.ini
rename : testing/mozbase/manifestdestiny/tests/just-defaults.ini => testing/mozbase/manifestparser/tests/just-defaults.ini
rename : testing/mozbase/manifestdestiny/tests/manifest.ini => testing/mozbase/manifestparser/tests/manifest.ini
rename : testing/mozbase/manifestdestiny/tests/mozmill-example.ini => testing/mozbase/manifestparser/tests/mozmill-example.ini
rename : testing/mozbase/manifestdestiny/tests/mozmill-restart-example.ini => testing/mozbase/manifestparser/tests/mozmill-restart-example.ini
rename : testing/mozbase/manifestdestiny/tests/no-tests.ini => testing/mozbase/manifestparser/tests/no-tests.ini
rename : testing/mozbase/manifestdestiny/tests/path-example.ini => testing/mozbase/manifestparser/tests/path-example.ini
rename : testing/mozbase/manifestdestiny/tests/relative-path.ini => testing/mozbase/manifestparser/tests/relative-path.ini
rename : testing/mozbase/manifestdestiny/tests/test_convert_directory.py => testing/mozbase/manifestparser/tests/test_convert_directory.py
rename : testing/mozbase/manifestdestiny/tests/test_convert_symlinks.py => testing/mozbase/manifestparser/tests/test_convert_symlinks.py
rename : testing/mozbase/manifestdestiny/tests/test_default_skipif.py => testing/mozbase/manifestparser/tests/test_default_skipif.py
rename : testing/mozbase/manifestdestiny/tests/test_expressionparser.py => testing/mozbase/manifestparser/tests/test_expressionparser.py
rename : testing/mozbase/manifestdestiny/tests/test_manifestparser.py => testing/mozbase/manifestparser/tests/test_manifestparser.py
rename : testing/mozbase/manifestdestiny/tests/test_read_ini.py => testing/mozbase/manifestparser/tests/test_read_ini.py
rename : testing/mozbase/manifestdestiny/tests/test_testmanifest.py => testing/mozbase/manifestparser/tests/test_testmanifest.py
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/subdir/manifest.ini => testing/mozbase/manifestparser/tests/verifyDirectory/subdir/manifest.ini
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/subdir/test_sub.js => testing/mozbase/manifestparser/tests/verifyDirectory/subdir/test_sub.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/test_1.js => testing/mozbase/manifestparser/tests/verifyDirectory/test_1.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/test_2.js => testing/mozbase/manifestparser/tests/verifyDirectory/test_2.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/test_3.js => testing/mozbase/manifestparser/tests/verifyDirectory/test_3.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/verifyDirectory.ini => testing/mozbase/manifestparser/tests/verifyDirectory/verifyDirectory.ini
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/verifyDirectory_incomplete.ini => testing/mozbase/manifestparser/tests/verifyDirectory/verifyDirectory_incomplete.ini
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/verifyDirectory_toocomplete.ini => testing/mozbase/manifestparser/tests/verifyDirectory/verifyDirectory_toocomplete.ini
2014-06-10 13:20:23 -04:00
Geoff Brown
d5d551acaa Bug 1022798 - Re-define about:healthreport url in test profiles; r=jmaher 2014-06-10 09:44:01 -06:00
Ed Morley
6b907ae33a Merge mozilla-central and inbound 2014-06-10 16:40:17 +01:00
Ed Morley
0dd254ea3c Backed out changeset a8ad10daa7c0 (bug 932804) to fix the jenkins builds; a=jenkins 2014-06-10 16:34:27 +01:00
Joel Maher
c7ce42f86d Bug 964498 - Add SNR measurements to Talos for audio tests [talos.json]. r=kmoir DONTBUILD 2014-06-10 11:28:12 -04:00
Ting-Yu Chou
8cc022d244 Bug 1007520 - Part 3: Avoid leaking SpecialPowers to nsInProcessTabChildGlobal.mMessageManager. r=ted
--HG--
extra : rebase_source : f3f878a593c5c811698c2fd3cb978145e994386c
2014-06-05 22:17:23 +08:00
Ryan VanderMeulen
9cb39a8981 Merge m-c to b2g-inbound. a=merge 2014-06-09 18:17:11 -04:00
Mark Banner
e9c2b2dd2d Merge Elm to m-c. a=merge 2014-06-09 23:04:43 +01:00
Ryan VanderMeulen
e8706596e2 Merge fx-team to m-c. a=merge 2014-06-09 16:47:38 -04:00
Malini Das
7096eecaba Bug 932804 - compensate for statusbar in APZ touch, r=dburns 2014-06-09 12:37:11 -04:00
Gijs Kruitbosch
13038eca1c Bug 1022616 - mochitest chrome template uses broken path to SimpleTest.js, r=jmaher DONTBUILD because NPOTB
--HG--
extra : rebase_source : 5924ce540737491b5ad1baef3dda1c8256b4675b
2014-06-09 13:17:21 +01:00
Mark Banner
d400d85162 Merge m-c to elm. a=merge 2014-06-09 13:00:42 +01:00
Ting-Yu Lin
2d0daee865 Bug 1020874 - Add optional parameters x and y to Action.long_press(). r=mdas
* Action.long_press() now accepts optional parameters x and y as
  Action.press() does.
* Add test cases in test_single_finger.py and
  test_single_finger_desktop.py.
2014-06-07 20:05:00 -04:00
Ting-Yu Lin
047804b5f4 Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-07 08:49:00 -04:00
Mark Banner
f67ab92ac7 Bug 994483 Add Loop unit tests to tbpl. r=dburns 2014-06-05 15:45:16 +01:00
Tim Taubert
980311dcc6 merge m-c to inbound 2014-05-29 08:32:31 +02:00
Jonathan Griffin
f419761b6c Bug 1017146 - Bump mozrunner to 5.37 and mozdevice to 0.36, r=wlach 2014-05-28 14:07:56 -07:00
David Rajchenbach-Teller
998dfc52cc Bug 976205 - Make uncaught Promise errors fatal in xpcshell. r=ted 2014-05-28 12:11:00 -04:00
Borting Chen
4345a6d64c Bug 951976 - Part 2: Test cases. r=gene 2014-05-12 18:55:49 +08:00
Wes Kocher
71d8b72158 Merge m-c to inbound 2014-06-10 18:55:47 -07:00
Jonathan Griffin
5f6588ab77 Bug 1021734 - Remove special handling for marionette-transport, r=wlach 2014-06-10 13:40:00 -07:00
Ryan VanderMeulen
088ba5726f Merge m-c to inbound. a=merge 2014-06-06 17:34:13 -04:00
Ed Morley
51a5e8d0e0 Merge mozilla-central and b2g-inbound 2014-06-06 19:12:21 +01:00
Ed Morley
0eb1c45071 Backed out changeset e982377e39a3 (bug 960897) since the new test_touchcaret.py intermittently fails 2014-06-06 18:14:43 +01:00
Cosmin Malutan
62d1500026 Bug 1009004 - [TPS] Use the python executable from within the venv for the installation. r=hskupin a=test-only DONTBUILD 2014-06-06 08:31:32 +02:00
Wes Kocher
d48f2e62a4 Merge b2g-inbound to m-c a=merge 2014-06-05 18:49:36 -07:00
Chris Manchester
7069afa3f7 Bug 1021117 - Add legacy tbpl formatter to mozlog.structured.formatters. r=jgraham 2014-06-06 11:36:28 -04:00
Ting-Yu Lin
ba201061d5 Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-04 06:21:00 -04:00
Bevis Tseng
9fce39e734 Bug 1012621 - Part 2: Move xpcshell related files into test/xpcshell sub-folder. r=vyang,khuey
--HG--
rename : dom/mobilemessage/tests/header_helpers.js => dom/mobilemessage/tests/xpcshell/header_helpers.js
rename : dom/mobilemessage/tests/test_mms_pdu_helper.js => dom/mobilemessage/tests/xpcshell/test_mms_pdu_helper.js
rename : dom/mobilemessage/tests/test_mms_service.js => dom/mobilemessage/tests/xpcshell/test_mms_service.js
rename : dom/mobilemessage/tests/test_smsservice_createsmsmessage.js => dom/mobilemessage/tests/xpcshell/test_smsservice_createsmsmessage.js
rename : dom/mobilemessage/tests/test_wsp_pdu_helper.js => dom/mobilemessage/tests/xpcshell/test_wsp_pdu_helper.js
rename : dom/mobilemessage/tests/xpcshell.ini => dom/mobilemessage/tests/xpcshell/xpcshell.ini
2014-06-03 11:17:05 +08:00
Chris Manchester
a20cf8847a Bug 1019883 - Don't populate expected field in log messages for skipped tests. r=jgraham 2014-06-03 16:08:53 -04:00
Ryan VanderMeulen
43644abf3f Merge m-c to inbound on a CLOSED TREE. 2014-06-03 17:51:31 -04:00
Ryan VanderMeulen
9089fc4d86 Merge inbound to m-c. 2014-06-03 15:21:43 -04:00
Cosmin Malutan
53de18a0f6 Bug 1009004 - Re-implement INSTALL.sh script as a python script. r=hskupin DONTBUILD 2014-06-03 18:10:01 +02:00
Joel Maher
15b2b6128b Bug 992911 - (run-by-dir) add the ability to run mochitests per directory in a loop. r=ahal 2014-06-03 11:19:28 -04:00
William Lachance
1d213302fe Bug 1019211 - Bump mozversion to 0.5. r=ahal 2014-06-02 16:53:49 -04:00
Malini Das
ee31469cd4 Bug 1019616 - release marionette-client version 0.7.8, r=dburns 2014-06-03 15:58:50 -04:00
Ting-Yu Lin
3936ac0eab Bug 1016147 - Make sendKeysToElement() respect caret position. r=automatedtester
This allows HTMLElement.send_keys() to insert text after the caret in
<input>.

Also, fix the test cast fail in test_text.py due to caret position was
not being considered.
2014-06-02 09:01:00 +02:00
Geoff Brown
9f04be3a68 Bug 1019604 - Avoid mochitest cleanup failure following error; r=jmaher 2014-06-03 08:19:37 -06:00
Shashank Sabniveesu
5370603de4 Bug 1008626 - Removed javaScriptEnabled and cssSelectors capabilities ( no longer needed); updated tests accordingly. r=automatedtester 2014-05-29 18:53:00 +02:00
Chris Peterson
5e970cca97 Bug 1018270 - Part 1: Cherrypick -Wunused-private-field warning fix from upstream gtest. r=ted
--HG--
extra : rebase_source : 45cdafffe4416cfbaa14a3a30305c4d2ce570992
2014-06-02 20:17:00 -07:00
Ryan VanderMeulen
e686500767 Backed out changeset 05ddfd9f4f09 (bug 815002) for hitting bug 1017634 again. 2014-06-02 17:57:04 -04:00
Ted Mielczarek
ec9ba25042 bug 815002 - Enable loopback devices on Linux Mochitests. r=ahal 2014-05-08 14:26:22 -04:00
Ted Mielczarek
5e7b0f3b6f bug 815002 - Enable loopback devices on Linux Mochitests. r=ahal 2014-05-08 14:26:22 -04:00
Malini Das
a87db6b02f Bug 1017022 - call close() on a valid object, r=jgriffin 2014-06-02 11:01:28 -04:00
Phil Ringnalda
8f0619f51f Merge m-c to b-i 2014-05-31 20:46:07 -07:00
Henry Chang
cf51da2e8c Bug 1017513 - Add captive portal tests to b2g emulator. r=schien 2014-05-30 17:47:43 +08:00
Henry Chang
df38aa2241 Bug 997090 - Add wifi test case. r=vchang, f=vyang 2014-05-16 10:50:37 +08:00
Ryan VanderMeulen
cd91c2a3a5 Merge inbound to m-c. 2014-05-30 16:23:21 -04:00
Ryan VanderMeulen
bbe0519957 Merge fx-team to m-c. 2014-05-30 16:04:16 -04:00
Jonathan Griffin
e13c39d71d Bug 994759 - Pass --total-chunks and --this-chunk to b2gdesktop reftests, r=ahal 2014-05-30 09:43:18 -07:00
James Graham
741802dee7 Bug 1015287 - Add complete example to mozlog.structured documentation, r=wlach 2014-05-30 17:10:26 +01:00
Mike de Boer
ff9d340bbb Bug 1014482: update XPCShell self-tests to be compatible with global Assert.jsm methods. r=gps 2014-05-30 16:26:44 +02:00
Mike de Boer
1a56be1b78 Bug 1014482: make Assert.jsm methods globally available and deprecate XPCShell-test's custom assert methods. This changes do_check_matches() semantics significantly. r=gps 2014-05-30 16:26:42 +02:00
Wes Kocher
9ef20d2479 Merge m-c to inbound 2014-05-29 18:03:39 -07:00
Wes Kocher
83d6b8f6eb Merge fx-team to m-c 2014-05-29 17:57:06 -07:00
Botond Ballo
e24dcd4aaa Bug 1016573 - Put logging of APZ test data behind a pref. r=kats 2014-05-29 12:51:28 -04:00
Ryan VanderMeulen
70d91b7e2c Backed out changeset 3a9b6d6d9224 (bug 1017596) for making Mn more orange-prone. 2014-05-29 15:17:29 -04:00
Ryan VanderMeulen
483f7e0014 Backed out changeset c9f8e59a7e0d (bug 1017675) for making Mn more orange-prone. 2014-05-29 15:17:21 -04:00
Asaf Romano
9cb701dcb5 Updae talos rev. to pick up the changes from bug 1017214. r=jmaher. 2014-05-29 16:44:14 +03:00
William Lachance
c54e25c8a9 Bug 1016467 - Allow mozversion to support getting version info out of a fennec .apk. r=davehunt 2014-05-29 14:57:52 -04:00
Andreas Tolfsen
0485d9842c Bug 1017675 - Bump moztest to version 0.5. r=jgraham
---
 testing/mozbase/moztest/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2014-05-29 18:08:31 +01:00
Andreas Tolfsen
d9ae684e84 Bug 1017596 - Add suite_start and suite_end messages to moztest.adapters.unit. r=jgraham
This properly implements the structured logging protocol in the unittest
adapter.

The patch also adds an optional argument `test_list` to StructuredTestLogger
which will include an array of all tests when sending the suite_start message.
---
 testing/mozbase/moztest/moztest/adapters/unit.py | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)
2014-05-29 18:08:24 +01:00
Joel Maher
4a01fb5fe9 Bug 1014503 - running devtools tests via mochitest-browser gives unhelpful error message. r=ted 2014-05-30 08:17:05 -04:00
Alexandre Poirot
045226d2eb Bug 1019244 - Do not throw on exception handling during xpcshell tests. r=ted 2014-06-02 15:09:00 -04:00
Jonathan Griffin
d5f62e5c7f Bug 1020650 - Bump Marionette to 0.7.9, r=mdas 2014-06-04 17:05:26 -07:00
Jonathan Griffin
ba56c90766 Bug 1020396 - Bump marionette-transport to 0.2, r=mdas 2014-06-04 13:38:33 -07:00