gecko/mobile/android/base/tests
2013-08-20 10:26:55 +03:00
..
assets Bug 886587 - Remove profile migrator, r=gcp, f=rnewman 2013-07-24 18:50:26 -04:00
roboextender Bug 934678 - Write test for Home.banner API. r=wesj 2013-11-05 15:24:21 -08:00
AboutHomeTest.java.in Bug 899187 - add a Robocop tests for Bookmarks Folders and the Bookmarks Page. r=lucasr 2013-08-20 10:26:55 +03:00
BaseTest.java.in Bug 899187 - add a Robocop tests for Bookmarks Folders and the Bookmarks Page. r=lucasr 2013-08-20 10:26:55 +03: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 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
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_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
robocop_login.html
robocop_offline_storage.html
robocop_picture_link.html
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
robocop_text_page.html
robocop.ini Bug 899187 - add a Robocop tests for Bookmarks Folders and the Bookmarks Page. r=lucasr 2013-08-20 10:26:55 +03:00
StringHelper.java.in Bug 899187 - add a Robocop tests for Bookmarks Folders and the Bookmarks Page. r=lucasr 2013-08-20 10:26:55 +03: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 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
testBookmark.java.in Bug 899187 - add a Robocop tests for Bookmarks Folders and the Bookmarks Page. r=lucasr 2013-08-20 10:26:55 +03:00
testBookmarkFolders.java.in Bug 899187 - add a Robocop tests for Bookmarks Folders and the Bookmarks Page. r=lucasr 2013-08-20 10:26:55 +03: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
testBookmarksPage.java.in Bug 899187 - add a Robocop tests for Bookmarks Folders and the Bookmarks Page. r=lucasr 2013-08-20 10:26:55 +03: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
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
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 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
testFormHistory.java.in
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
testHomeBanner.java.in Bug 934678 - Write test for Home.banner API. r=wesj 2013-11-05 15:24:21 -08: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
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
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
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
testSharedPreferences.js
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 840144 - Make about:config prettier on Android. r=wesj 2013-11-05 22:10:30 -08: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.