gecko/mobile/android/base/tests
2013-05-10 10:56:53 +03:00
..
assets
BaseTest.java.in Bug 870908 - Add Robocop Java harness for writing tests in Javascript. r=rnewman 2013-05-10 19:45:58 -07:00
ContentProviderTest.java.in
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 863445 - Part 3: Make build/mobile/robocop/Makefile.in produce robocop-debug-signed.apk. r=jmaher 2013-05-20 11:39:50 -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 838596 - Robocop: Add test for 'Master Password' feature. r=jmaher 2013-05-10 10:56:53 +03: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 870056 - Use BaseTest.mDevice and selectSettingsItem in robocop tests; r=jmaher 2013-05-15 13:47:26 -06: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 Bug 875363 - Improve VKB clearing in testAddSearchEngine; r=jmaher 2013-05-24 07:27:00 -06:00
testAllPagesTab.java.in Bug 729463 - Fix tests for switch to tab. r=gbrown 2013-05-09 17:42:14 -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 Bug 859563 - Explicitly unregisterListener once event expecters are no longer needed; r=cpeterson 2013-04-18 21:18:09 -06:00
testBookmarklets.java.in
testBookmarksTab.java.in Bug 729463 - Fix tests for switch to tab. r=gbrown 2013-05-09 17:42:14 -07:00
testBrowserProvider.java.in Bug 856163 - Part 4: Use gecko package for database classes. r=lucasr f=rnewman 2013-04-09 17:10:48 -07:00
testBrowserProviderPerf.java.in Bug 856163 - Part 4: Use gecko package for database classes. r=lucasr f=rnewman 2013-04-09 17:10:48 -07:00
testCheck2.java.in
testCheck.java.in
testClearPrivateData.java.in Bug 870056 - Enable robocop testClearPrivateData; r=jmaher 2013-05-08 14:46:36 -06: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 856518 - Add more detailed test messages to testDoorHangers Robocop test. r=jmaher 2013-04-01 09:11:29 +03:00
testFindInPage.java.in Bug 859563 - Explicitly unregisterListener once event expecters are no longer needed; r=cpeterson 2013-04-18 21:18:09 -06: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 870768 - Fix intermittent failure in robocop testHistoryTab; r=wesj 2013-05-14 11:37:07 -06:00
testImportFromAndroid.java.in Bug 833832 - Robocop: Add test for Import from Android feature. r=jmaher 2013-03-18 11:15:17 +02:00
testInputAwesomeBar.java.in Bug 855146 - Part 3: Add testInputAwesomeBar test for URL text. r=gbrown 2013-03-26 17:02:21 -07:00
testJarReader.java.in
testLoad.java.in
testMasterPassword.java.in Bug 838596 - Robocop: Add test for 'Master Password' feature. r=jmaher 2013-05-10 10:56:53 +03:00
testMigration.java.in Bug 856163 - Part 4: Use gecko package for database classes. r=lucasr f=rnewman 2013-04-09 17:10:48 -07:00
testNewTab.java.in Bug 863828 - New tab increment animation. r=lucasr 2013-04-26 16:17:34 -07:00
testOrderedBroadcast.java.in Bug 870371 - Android OrderedBroadcast tests. r=rnewman 2013-05-10 19:47:52 -07:00
testOrderedBroadcast.js Bug 870371 - Android OrderedBroadcast tests. r=rnewman 2013-05-10 19:47:52 -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 859563 - Explicitly unregisterListener once event expecters are no longer needed; r=cpeterson 2013-04-18 21:18:09 -06:00
testSettingsMenuItems.java.in
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 Back out e9593bf12a59:f9c1d3eb3ce6 (bug 869123) for very frequent robocop1 testAllPagesTab failures 2013-05-30 00:02:29 -07:00
testSystemPages.java.in Bug 870056 - Use BaseTest.mDevice and selectSettingsItem in robocop tests; r=jmaher 2013-05-15 13:47:26 -06: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 870056 - Use BaseTest.mDevice and selectSettingsItem in robocop tests; r=jmaher 2013-05-15 13:47:26 -06: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

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/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 mobile/android/base && mach package && mach install

as usual.