gecko-dev/mobile/android/base/tests
2013-11-04 14:39:00 -08:00
..
assets Bug 886587 - Remove profile migrator, r=gcp, f=rnewman 2013-07-24 18:50:26 -04:00
roboextender Bug 920170 - Allow adding a grid of icons to prompts. r=margaret 2013-10-15 08:53:16 -07:00
AboutHomeTest.java.in Bug 926310 - Robocop: Add test for 'Reader Mode' feature. r=jmaher 2013-10-14 16:54:06 +03:00
BaseTest.java.in Bug 918007 - Use clearEditText() and enterText() to input URLs (r=gbrown) 2013-10-31 20:50:23 +00: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 Bug 850487 - More code cleanup (@Overrides and unused imports). r=kats 2013-03-13 13:20:57 -07:00
DatabaseHelper.java.in Backed out changeset c24ba14732cd (bug 907734) for Android bustage. 2013-09-12 13:13:14 -04: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 905591 - Use Tabs.loadUrl() instead of Tabs.loadUrlInTab() in JavascriptTest (r=nalexander) 2013-08-19 21:33:49 +01: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 927296 - Fix testPrivateBrowsing NullPointerException by waiting for the title placeholder. r=gbrown 2013-10-17 14:06:21 +03: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 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 Bug 844239 - Specify character encoding in robocop test files; r=jmaher DONTBUILD 2013-04-23 16:15:45 -06:00
robocop_getusermedia.html Bug 928870 - Add test for Android gUM doorhanger. r=gbrown 2013-10-22 11:10:17 +02:00
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 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 896574 - Fix testAddSearchEngine to work with the new about:home. r=lucasr 2013-07-23 19:07:48 +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 917543 - Consolidate robocop.ini and robocop_x86.ini; r=jmaher 2013-10-23 20:36:23 -06:00
StringHelper.java.in Bug 933428 - (Part 2) Update tests to deal with context menu changes. r=gbrown 2013-11-04 14:39:00 -08: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 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 896574 - Fix testAddSearchEngine to work with the new about:home. r=lucasr 2013-07-23 19:07:48 +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 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 848671 - Intermittent testBookmark | bookmark added successfully - got false, expected true, r=lucasr, f=adriant 2013-10-23 10:13:53 -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 Bug 914377 - Intermittent testShareLink | Exception caught - junit.framework.AssertionFailedError: View is null and can therefore not be clicked! r=gbrown 2013-10-12 20:32:43 -07:00
testBrowserProvider.java.in Bug 926430 - Part 4: fix pinning and other DB use to correctly handle update-or-insert. r=bnicholson 2013-10-31 10:35:17 -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
testBrowserSearchVisibility.java.in Bug 901899 - Add testBrowserSearchVisility (r=margaret) 2013-08-15 12:10:17 +01:00
testCheck2.java.in Bug 913683 - (Part 1) Verify home pager is hidden before checking to make sure the page is painted, and increase the time we wait to make sure these things happen. r=gbrown 2013-09-19 09:37:58 -04: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 c24ba14732cd (bug 907734) for Android bustage. 2013-09-12 13:13:14 -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 922694 - Part 7: use standalone prefs to avoid racing with startup. r=ckitching 2013-10-16 19:25:13 -07: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 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
testGetUserMedia.java.in Bug 928870 - Add test for Android gUM doorhanger. r=gbrown 2013-10-22 11:10:17 +02:00
testHistory.java.in Bug 914377 - Intermittent testShareLink | Exception caught - junit.framework.AssertionFailedError: View is null and can therefore not be clicked! r=gbrown 2013-10-12 20:32:43 -07: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 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
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 Bug 850487 - More code cleanup (@Overrides and unused imports). r=kats 2013-03-13 13:20:57 -07:00
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 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 Backout testPan part of 25ccd1446424 for causing test failures 2013-08-27 17:18:17 -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 906088 - part 6 - update tests to use the new API; r=kats 2013-09-04 09:58:32 -04: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 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
testPrivateBrowsing.java.in Bug 888277 - Create a new Robocop test to test private browsing. r=gbrown 2013-06-25 08:45:14 +03:00
testPromptGridInput.java.in Bug 920170 - Allow adding a grid of icons to prompts. r=margaret 2013-10-15 08:53:16 -07:00
testReaderMode.java.in Bug 927578 - Wait for visible icon in testReaderMode; r=jmaher 2013-10-29 10:07:58 -06: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 919384 - "Text reflow" robocop test checks for the wrong RELEASE_BUILD boolean value. r=gbrown 2013-09-24 15:02:41 -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 933428 - (Part 2) Update tests to deal with context menu changes. r=gbrown 2013-11-04 14:39:00 -08:00
testSystemPages.java.in Bug 913683 - (Part 2) Remove about:home from testSystemPages checks. r=gbrown 2013-09-19 09:38:00 -04: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 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

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.