gecko/mobile/android/base/tests
2013-06-25 15:33:01 -07:00
..
assets Bug 848420 - (Part 2) Test for distribution search engines. r=gbrown 2013-03-18 15:39:08 -07:00
BaseTest.java.in Bug 882191 - Wait for Settings item to be enabled before selecting; r=liuche 2013-06-25 15:33:01 -07:00
ContentProviderTest.java.in Bug 850487 - More code cleanup (@Overrides and unused imports). r=kats 2013-03-13 13:20:57 -07:00
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 Bug 846257 - Robocop: Extend 'Web Content Context Menu' test to cover the context menu options for images. r=jmaher 2013-02-26 14:46:02 +02:00
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 Bug 815862 - Bump up max allowed scrolling acceleration to deal with high-dpi devices. r=Cwiiis 2013-03-15 23:21:03 +01:00
MotionEventReplayer.java.in Bug 850487 - More code cleanup (@Overrides and unused imports). r=kats 2013-03-13 13:20:57 -07:00
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 Bug 846257 - Robocop: Extend 'Web Content Context Menu' test to cover the context menu options for images. r=jmaher 2013-02-26 14:46:02 +02:00
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 738890 - Fix testJarReader. r=wesj 2013-06-21 14:00:39 -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 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 877659 - Robocop: Find a way to check if the vkb is opened and close it without using a BACK action. r=jmaher 2013-06-04 15:16:07 +03: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 Bug 850487 - More code cleanup (@Overrides and unused imports). r=kats 2013-03-13 13:20:57 -07:00
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 Bug 850487 - More code cleanup (@Overrides and unused imports). r=kats 2013-03-13 13:20:57 -07:00
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 Bug 850487 - More code cleanup (@Overrides and unused imports). r=kats 2013-03-13 13:20:57 -07:00
testCheck.java.in Bug 850487 - More code cleanup (@Overrides and unused imports). r=kats 2013-03-13 13:20:57 -07:00
testClearPrivateData.java.in Backed out changeset ec7bccd33fc0 (bug 846340) for frequent failures. 2013-06-17 19:18:37 -04: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 856518 - Add more detailed test messages to testDoorHangers Robocop test. r=jmaher 2013-04-01 09:11:29 +03: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 Bug 850487 - More code cleanup (@Overrides and unused imports). r=kats 2013-03-13 13:20:57 -07:00
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 Bug 738890 - Fix testJarReader. r=wesj 2013-06-21 14:00:39 -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 Bug 850487 - More code cleanup (@Overrides and unused imports). r=kats 2013-03-13 13:20:57 -07:00
testMasterPassword.java.in Bug 879767 - Intermittent testMasterPassword | GeckoEventExpecter - blockForEvent timeout: DOMContentLoaded. r=jmaher 2013-06-10 18:55:04 +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 Bug 850487 - More code cleanup (@Overrides and unused imports). r=kats 2013-03-13 13:20:57 -07:00
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 Bug 850487 - More code cleanup (@Overrides and unused imports). r=kats 2013-03-13 13:20:57 -07:00
testPasswordProvider.java.in Bug 850487 - More code cleanup (@Overrides and unused imports). r=kats 2013-03-13 13:20:57 -07:00
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 Bug 878929: Fix robocop testShareLink to pass in the ListView. [r=mfinkle] 2013-06-07 10:50:43 -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 Bug 850487 - More code cleanup (@Overrides and unused imports). r=kats 2013-03-13 13:20:57 -07:00
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.