gecko/mobile/android/base/tests
2013-09-20 13:35:29 -04:00
..
assets Bug 886587 - Remove profile migrator, r=gcp, f=rnewman 2013-07-24 18:50:26 -04:00
AboutHomeTest.java.in Bug 917398 - Update tests for the new tabs in about:home. r=margaret 2013-09-20 13:35:29 -04:00
BaseTest.java.in Bug 917398 - Update tests for the new tabs in about:home. r=margaret 2013-09-20 13:35:29 -04:00
ContentContextMenuTest.java.in Bug 896557 - Split testWebContentContextMenu to make it more reliable (r=margaret) 2013-08-22 17:29:06 +03:00
ContentProviderTest.java.in
DatabaseHelper.java.in Backed out changeset c24ba14732cd (bug 907734) for Android bustage. 2013-09-12 13:13:14 -04:00
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 Backed out changeset dea697e42d70 (bug 913683) for robocop test failures 2013-09-17 16:12:30 +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_blank_04.html Bug 917398 - Include test for new top sites. r=margaret 2013-09-20 13:35:29 -04:00
robocop_blank_05.html Bug 917398 - Include test for new top sites. r=margaret 2013-09-20 13:35:29 -04:00
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_x86.ini Bug 917543 - Add an x86 version of the robocop.ini manifest; r=jmaher DONTBUILD 2013-09-17 17:40:58 -06:00
robocop.ini Bug 896557 - Split testWebContentContextMenu to make it more reliable (r=margaret) 2013-08-22 17:29:06 +03:00
StringHelper.java.in Bug 917398 - Update tests for the new tabs in about:home. r=margaret 2013-09-20 13:35:29 -04: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 906088 - part 6 - update tests to use the new API; r=kats 2013-09-04 09:58:32 -04:00
testAddSearchEngine.java.in Bug 908737 - Robocop: upgrade to robotium-solo-4.2.jar. r=gbrown 2013-04-11 09:53:15 +03: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
testBookmarkKeyword.java.in Backed out changeset c24ba14732cd (bug 907734) for Android bustage. 2013-09-12 13:13:14 -04:00
testBookmarklets.java.in Backed out changeset c24ba14732cd (bug 907734) for Android bustage. 2013-09-12 13:13:14 -04:00
testBrowserProvider.java.in Bug 899605 - Update testBrowserProvider for Jellybean; r=lucasr 2013-08-29 16:44:24 -06:00
testBrowserProviderPerf.java.in
testBrowserSearchVisibility.java.in Bug 901899 - Add testBrowserSearchVisility (r=margaret) 2013-08-15 12:10:17 +01:00
testCheck2.java.in Backed out changeset dea697e42d70 (bug 913683) for robocop test failures 2013-09-17 16:12:30 +01:00
testCheck.java.in
testClearPrivateData.java.in Backed out changeset c24ba14732cd (bug 907734) for Android bustage. 2013-09-12 13:13:14 -04:00
testDeviceSearchEngine.java.in
testDeviceSearchEngine.js
testDistribution.java.in Bug 906088 - part 6 - update tests to use the new API; r=kats 2013-09-04 09:58:32 -04:00
testDoorHanger.java.in Bug 906088 - part 6 - update tests to use the new API; r=kats 2013-09-04 09:58:32 -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 Backed out changeset c24ba14732cd (bug 907734) for Android bustage. 2013-09-12 13:13:14 -04: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
testLinkContextMenu.java.in Bug 896557 - Split testWebContentContextMenu to make it more reliable (r=margaret) 2013-08-22 17:29:06 +03:00
testLoad.java.in
testMailToContextMenu.java.in Bug 896557 - Split testWebContentContextMenu to make it more reliable (r=margaret) 2013-08-22 17:29:06 +03:00
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 Backout testPan part of 25ccd1446424 for causing test failures 2013-08-27 17:18:17 -07:00
testPanCorrectness.java.in
testPasswordEncrypt.java.in Bug 906088 - part 6 - update tests to use the new API; r=kats 2013-09-04 09:58:32 -04:00
testPasswordProvider.java.in
testPermissions.java.in Bug 908737 - Robocop: upgrade to robotium-solo-4.2.jar. r=gbrown 2013-04-11 09:53:15 +03:00
testPictureLinkContextMenu.java.in Bug 896557 - Split testWebContentContextMenu to make it more reliable (r=margaret) 2013-08-22 17:29:06 +03:00
testPrefsObserver.java.in Bug 906088 - part 6 - update tests to use the new API; r=kats 2013-09-04 09:58:32 -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 912519 - (2) Minor refactor of testSettingsMenuItems; r=liuche 2013-09-10 18:18:07 -06:00
testSharedPreferences.java.in
testSharedPreferences.js
testShareLink.java.in Bug 917398 - Include test for new top sites. r=margaret 2013-09-20 13:35:29 -04: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

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.