gecko-dev/mobile/android/base/tests
2013-05-24 07:27:00 -06: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 870908 - Add Robocop Java harness for writing tests in Javascript. r=rnewman 2013-05-10 19:45:58 -07:00
ContentProviderTest.java.in Bug 850487 - More code cleanup (@Overrides and unused imports). r=kats 2013-03-13 13:20:57 -07: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 Bug 845767 - Create an Autophone specific version of the robocop manifest, r=jmaher. 2013-02-27 06:52:06 -08: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 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 Bug 822259 - Robocop: Add test for Find in Page feature. r=jmaher 2012-12-14 09:29:17 +02:00
robocop.ini Bug 833832 - Robocop: Add test for Import from Android feature. r=jmaher 2013-03-18 11:15:17 +02:00
test_bug720538.html
test_bug720538.java.in Bug 859563 - Explicitly unregisterListener once event expecters are no longer needed; r=cpeterson 2013-04-18 21:18:09 -06: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 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 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 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 850487 - More code cleanup (@Overrides and unused imports). r=kats 2013-03-13 13:20:57 -07:00
testLoad.java.in Bug 850487 - More code cleanup (@Overrides and unused imports). r=kats 2013-03-13 13:20:57 -07: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 Bug 845806 - Log robocop waitForText, waitForTest failures; r=jmaher 2013-02-27 08:21:24 -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 850487 - More code cleanup (@Overrides and unused imports). r=kats 2013-03-13 13:20:57 -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.