gecko/mobile/android/base/tests
2013-08-27 08:38:23 -07:00
..
assets Bug 886587 - Remove profile migrator, r=gcp, f=rnewman 2013-07-24 18:50:26 -04:00
AboutHomeTest.java.in Bug 906221 - [Fig] AboutHomeTest.updateBookmarks uses incorrect reflection. r=margaret 2013-08-23 10:35:18 -07:00
BaseTest.java.in Bug 907720 - Make sure HomePager is hidden before proceeding with talos tests. r=gbrown 2013-08-27 08:38:23 -07:00
ContentProviderTest.java.in
devicesearch.xml
Firefox.jpg
JavascriptTest.java.in Bug 905591 - Use Tabs.loadUrl() instead of Tabs.loadUrlInTab() in JavascriptTest (r=nalexander) 2013-08-19 21:33:49 +01:00
MotionEventHelper.java.in
MotionEventReplayer.java.in
PixelTest.java.in Bug 905591 - Load URLs in PixelTest without requiring input injection (r=gbrown) 2013-08-19 21:33:49 +01:00
README.rst
robocop_404.sjs
robocop_autophone.ini Bug 901899 - Add testBrowserSearchVisility (r=margaret) 2013-08-15 12:10:17 +01:00
robocop_big_link.html
robocop_big_mailto.html
robocop_blank_01.html
robocop_blank_02.html
robocop_blank_03.html
robocop_boxes.html
robocop_geolocation.html
robocop_head.js Bug 896756 - Fix strict warnings in xpcshell's head.js. r=jmaher 2013-07-23 18:31:30 +01:00
robocop_javascript.html
robocop_login.html
robocop_offline_storage.html
robocop_picture_link.html
robocop_search.html
robocop_suggestions.sjs
robocop_testharness.js
robocop_text_page.html
robocop.ini Bug 907274 - Disable testVkbOverlap, perma-orange on armv6 (r=gbrown) 2013-08-20 20:46:47 +01:00
test_bug720538.html
test_bug720538.java.in
test_viewport.sjs
testAboutPage.java.in Bug 905591 - Rename BaseTest's loadUrl to inputAndLoadUrl (r=gbrown) 2013-08-19 21:33:49 +01:00
testAddonManager.java.in Bug 908919 - Backout 1117002f074f:c03239a1493a (bug 906088) for causing Ts regressions; r=performance-is-job-1 2013-08-26 14:07:34 -04:00
testAddSearchEngine.java.in Bug 905591 - Rename BaseTest's loadUrl to inputAndLoadUrl (r=gbrown) 2013-08-19 21:33:49 +01:00
testAwesomebar.java.in Bug 905591 - Rename BaseTest's loadUrl to inputAndLoadUrl (r=gbrown) 2013-08-19 21:33:49 +01:00
testAwesomebarSwipes.java.in Bug 896576 - [fig] Remove [getAllPagesList] from BaseTest, r=margaret 2013-07-25 18:10:45 -04:00
testAxisLocking.java.in
testBookmark.java.in Bug 896576 - [fig] Remove [getBookmarksList] from BaseTest, r=margaret 2013-07-29 19:28:04 -04:00
testBookmarklets.java.in Bug 905591 - Rename BaseTest's loadUrl to inputAndLoadUrl (r=gbrown) 2013-08-19 21:33:49 +01:00
testBrowserProvider.java.in
testBrowserProviderPerf.java.in
testBrowserSearchVisibility.java.in Bug 901899 - Add testBrowserSearchVisility (r=margaret) 2013-08-15 12:10:17 +01:00
testCheck2.java.in Bug 907720 - Make sure HomePager is hidden before proceeding with talos tests. r=gbrown 2013-08-27 08:38:23 -07:00
testCheck.java.in
testClearPrivateData.java.in Bug 905591 - Rename BaseTest's loadUrl to inputAndLoadUrl (r=gbrown) 2013-08-19 21:33:49 +01:00
testDeviceSearchEngine.java.in
testDeviceSearchEngine.js
testDistribution.java.in Bug 908919 - Backout 1117002f074f:c03239a1493a (bug 906088) for causing Ts regressions; r=performance-is-job-1 2013-08-26 14:07:34 -04:00
testDoorHanger.java.in Bug 908919 - Backout 1117002f074f:c03239a1493a (bug 906088) for causing Ts regressions; r=performance-is-job-1 2013-08-26 14:07:34 -04:00
testFindInPage.java.in
testFlingCorrectness.java.in
testFormHistory.java.in
testHistory.java.in Bug 905591 - Rename BaseTest's loadUrl to inputAndLoadUrl (r=gbrown) 2013-08-19 21:33:49 +01:00
testImportFromAndroid.java.in Bug 906221 - [Fig] AboutHomeTest.updateBookmarks uses incorrect reflection. r=margaret 2013-08-23 10:35:18 -07:00
testInputUrlBar.java.in Bug 896571 - Update testInputAwesomeBar for new about:home (r=margaret) 2013-08-15 12:16:19 +01:00
testJarReader.java.in
testJNI.java.in
testJNI.js
testLoad.java.in
testMasterPassword.java.in Bug 905591 - Rename BaseTest's loadUrl to inputAndLoadUrl (r=gbrown) 2013-08-19 21:33:49 +01:00
testNewTab.java.in Bug 899614 - Make tab count check more robust in testNewTab; r=jmaher 2013-07-31 08:50:14 -07:00
testOrderedBroadcast.java.in
testOrderedBroadcast.js
testOverscroll.java.in
testPan.java.in Bug 907720 - Make sure HomePager is hidden before proceeding with talos tests. r=gbrown 2013-08-27 08:38:23 -07:00
testPanCorrectness.java.in
testPasswordEncrypt.java.in Bug 908919 - Backout 1117002f074f:c03239a1493a (bug 906088) for causing Ts regressions; r=performance-is-job-1 2013-08-26 14:07:34 -04:00
testPasswordProvider.java.in
testPermissions.java.in
testPrefsObserver.java.in Bug 908919 - Backout 1117002f074f:c03239a1493a (bug 906088) for causing Ts regressions; r=performance-is-job-1 2013-08-26 14:07:34 -04:00
testSearchSuggestions.java.in Bug 896560 - Update testSearchSuggestions test for new about:home (r=margaret) 2013-08-14 22:53:34 +01:00
testSettingsMenuItems.java.in Bug 906339 - Remove testing for "Automatic updates" on release builds. r=gbrown 2013-08-26 16:00:07 -07:00
testSharedPreferences.java.in
testSharedPreferences.js
testShareLink.java.in Bug 905591 - Rename BaseTest's loadUrl to inputAndLoadUrl (r=gbrown) 2013-08-19 21:33:49 +01:00
testSystemPages.java.in Bug 880060 - Update BaseTest for new about:home, and disable robocop tests that need more work to pass. r=gbrown 2013-07-18 16:02:48 -07:00
testTabHistory.java.in Bug 907624 - Change testTabHistory to inherit from BaseTest (r=gbrown) 2013-08-22 12:44:05 +01:00
testThumbnails.java.in Bug 905591 - Rename BaseTest's loadUrl to inputAndLoadUrl (r=gbrown) 2013-08-19 21:33:49 +01:00
testVkbOverlap.java.in
testWebContentContextMenu.java.in Backout 59e82ad7b744 (bug 896557), testWebContentContextMenu is failing 2013-08-19 17:00:18 +01:00

Robocop Mochitest
=================

*Robocop Mochitest* tests run on Native Android builds marked with an
'rc' in TBPL.  These are Java based tests which run from the mochitest
harness and generate similar log files.  These are designed for
testing the native UI of Android devices by sending events to the
front end.

See the documentation at
https://wiki.mozilla.org/Auto-tools/Projects/Robocop/WritingTests for
details.

Development cycle
-----------------

To deploy the robocop APK to your device and start the robocop test
suite, use::

    make -C $OBJDIR mochitest-robocop

To run a specific test case, such as ``testLoad``::

    make -C $OBJDIR mochitest-robocop TEST_PATH=testLoad

The Java files in ``mobile/android/base/tests`` are dependencies of the
robocop APK built by ``build/mobile/robocop``.  If you modify Java files
in ``mobile/android/base/tests``, you need to rebuild the robocop APK
with::

    mach build build/mobile/robocop

Changes to ``.html``, ``.css``, ``.sjs``, and ``.js`` files in
``mobile/android/base/tests`` do not require rebuilding the robocop
APK -- these changes are always 'live', since they are served by the
mochitest HTTP server and downloaded each test run by your device.

``mach package`` does build and sign a robocop APK, but ``make
mochitest-robocop`` does not use it.  (This signed APK is used to test
signed releases on the buildbots).

As always, changes to ``mobile/android/base``, ``mobile/android/chrome``,
``mobile/android/modules``, etc., require::

    mach build mobile/android/base && mach package && mach install

as usual.