gecko/mobile/android/base/tests
2013-07-22 19:09:57 +03:00
..
assets
BaseTest.java.in Bug 895716 - fix for the testNewTab Robocop test to now load both new tabs corretly. r=margaret 2013-07-22 19:09:57 +03:00
ContentProviderTest.java.in
devicesearch.xml Bug 861164 - use different search URLs for tablet vs. non-tablet [tests] r=margaret 2013-06-05 22:29:44 -04:00
Firefox.jpg
JavascriptTest.java.in Bug 870908 - Add Robocop Java harness for writing tests in Javascript. r=rnewman 2013-05-10 19:45:58 -07:00
MotionEventHelper.java.in
MotionEventReplayer.java.in
PixelTest.java.in Bug 859563 - Explicitly unregisterListener once event expecters are no longer needed; r=cpeterson 2013-04-18 21:18:09 -06:00
README.rst Bug 889036 - Fix test build instructions in Robocop README.rst. DONTBUILD NPOTB r=gbrown 2013-07-01 12:33:43 -07:00
robocop_404.sjs Bug 844239 - Specify character encoding in robocop test files; r=jmaher DONTBUILD 2013-04-23 16:15:45 -06:00
robocop_autophone.ini
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 Bug 844239 - Specify character encoding in robocop test files; r=jmaher DONTBUILD 2013-04-23 16:15:45 -06:00
robocop_head.js Bug 870908 - Add Robocop Java harness for writing tests in Javascript. r=rnewman 2013-05-10 19:45:58 -07:00
robocop_javascript.html Bug 870908 - Add Robocop Java harness for writing tests in Javascript. r=rnewman 2013-05-10 19:45:58 -07:00
robocop_login.html Bug 844239 - Specify character encoding in robocop test files; r=jmaher DONTBUILD 2013-04-23 16:15:45 -06:00
robocop_offline_storage.html Bug 844239 - Specify character encoding in robocop test files; r=jmaher DONTBUILD 2013-04-23 16:15:45 -06:00
robocop_picture_link.html
robocop_search.html Bug 846296 - Robocop: Add test for Add Search Engine feature. r=jmaher 2013-04-25 18:09:41 +03:00
robocop_suggestions.sjs
robocop_testharness.js Bug 870908 - Add Robocop Java harness for writing tests in Javascript. r=rnewman 2013-05-10 19:45:58 -07:00
robocop_text_page.html
robocop.ini 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
test_bug720538.html
test_bug720538.java.in Bug 746876 - Fix double-tap coordinates in robocop test and re-enable it. r=gbrown 2013-05-30 09:58:29 -04:00
test_viewport.sjs Bug 844239 - Specify character encoding in robocop test files; r=jmaher DONTBUILD 2013-04-23 16:15:45 -06:00
testAboutPage.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
testAddonManager.java.in Bug 859563 - Explicitly unregisterListener once event expecters are no longer needed; r=cpeterson 2013-04-18 21:18:09 -06:00
testAddSearchEngine.java.in merge m-c into fig 2013-07-22 12:11:05 -07:00
testAllPagesTab.java.in merge m-c into fig 2013-07-17 13:50:36 -07:00
testAwesomebar.java.in
testAwesomebarSwipes.java.in Bug 844239 - Use blockForGeckoReady in testAwesomebarSwipes; r=jmaher 2013-04-18 21:18:05 -06:00
testAxisLocking.java.in Bug 859563 - Explicitly unregisterListener once event expecters are no longer needed; r=cpeterson 2013-04-18 21:18:09 -06:00
testBookmark.java.in merge m-c into fig 2013-07-17 13:50:36 -07:00
testBookmarklets.java.in
testBookmarksTab.java.in Bug 863347 - Remove about:home from default bookmarks. r=wesj 2013-07-12 10:51:41 -07:00
testBrowserProvider.java.in
testBrowserProviderPerf.java.in
testCheck2.java.in
testCheck.java.in
testClearPrivateData.java.in Bug 872329 - Part 3: Apply new settings layout - tests. r=gbrown 2013-06-26 10:57:52 -07:00
testDeviceSearchEngine.java.in Bug 861164 - use different search URLs for tablet vs. non-tablet [tests] r=margaret 2013-06-05 22:29:44 -04:00
testDeviceSearchEngine.js Bug 880234 - Use add_test in testDeviceSearchEngines. r=mfinkle 2013-06-12 19:17:26 -07:00
testDistribution.java.in Bug 859563 - Explicitly unregisterListener once event expecters are no longer needed; r=cpeterson 2013-04-18 21:18:09 -06:00
testDoorHanger.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
testFindInPage.java.in Bug 883921 - Make testFindInPage close PaintedSurface. r=gbrown 2013-06-17 13:57:04 -07:00
testFlingCorrectness.java.in Bug 859563 - Explicitly unregisterListener once event expecters are no longer needed; r=cpeterson 2013-04-18 21:18:09 -06:00
testFormHistory.java.in
testHistory.java.in Bug 729463 - Fix tests for switch to tab. r=gbrown 2013-05-09 17:42:14 -07:00
testHistoryTab.java.in Bug 891187 - Remove unused ABOUT_HOME_URL constants. r=mcomella 2013-07-10 10:06:13 -04:00
testImportFromAndroid.java.in Bug 872329 - Part 3: Apply new settings layout - tests. r=gbrown 2013-06-26 10:57:52 -07:00
testInputAwesomeBar.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
testJarReader.java.in Bug 889939 - Wait for Gecko startup at end of testJarReader; r=nalexander 2013-07-08 18:55:34 -07:00
testJNI.java.in Bug 873569 - Part 0: Add a sanity test for JNI.jsm. r=wesj 2013-06-12 13:24:01 -07:00
testJNI.js Bug 873569 - Part 0: Add a sanity test for JNI.jsm. r=wesj 2013-06-12 13:24:01 -07:00
testLoad.java.in
testMasterPassword.java.in Bug 872329 - Part 3: Apply new settings layout - tests. r=gbrown 2013-06-26 10:57:52 -07:00
testMigration.java.in Bug 891187 - Remove unused ABOUT_HOME_URL constants. r=mcomella 2013-07-10 10:06:13 -04:00
testNewTab.java.in Bug 863828 - New tab increment animation. r=lucasr 2013-04-26 16:17:34 -07:00
testOrderedBroadcast.java.in Bug 889185 - Part 1: Test OrderedBroadcast token handling. r=rnewman 2013-07-08 13:55:20 -07:00
testOrderedBroadcast.js Bug 889185 - Part 1: Test OrderedBroadcast token handling. r=rnewman 2013-07-08 13:55:20 -07:00
testOverscroll.java.in Bug 859563 - Explicitly unregisterListener once event expecters are no longer needed; r=cpeterson 2013-04-18 21:18:09 -06:00
testPan.java.in
testPanCorrectness.java.in Bug 859563 - Explicitly unregisterListener once event expecters are no longer needed; r=cpeterson 2013-04-18 21:18:09 -06:00
testPasswordEncrypt.java.in
testPasswordProvider.java.in
testPermissions.java.in Bug 859563 - Explicitly unregisterListener once event expecters are no longer needed; r=cpeterson 2013-04-18 21:18:09 -06:00
testPrefsObserver.java.in Bug 859563 - Explicitly unregisterListener once event expecters are no longer needed; r=cpeterson 2013-04-18 21:18:09 -06:00
testSearchSuggestions.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
testSettingsMenuItems.java.in Bug 892094 - Create "Search" page in settings. r=liuche 2013-07-16 18:44:42 -07:00
testSharedPreferences.java.in Bug 866271 - Android SharedPreferences tests. r=rnewman 2013-05-10 19:46:34 -07:00
testSharedPreferences.js Bug 866271 - Android SharedPreferences tests. r=rnewman 2013-05-10 19:46:34 -07:00
testShareLink.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
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 870056 - Use BaseTest.mDevice and selectSettingsItem in robocop tests; r=jmaher 2013-05-15 13:47:26 -06:00
testThumbnails.java.in
testVkbOverlap.java.in Bug 870056 - Use BaseTest.mDevice and selectSettingsItem in robocop tests; r=jmaher 2013-05-15 13:47:26 -06:00
testWebContentContextMenu.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

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.