gecko/mobile/android/base/tests
2013-09-25 21:48:16 -04:00
..
assets
AboutHomeTest.java.in Bug 917944 - Remove "Most recent" header in history page, r=margaret 2013-09-25 21:48:16 -04:00
BaseTest.java.in merge m-c to fig 2013-09-20 14:50:31 -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 59655b2db583 (bug 910106) since it has just morphed the failures into bug 920490 2013-09-25 14:27:48 +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
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 915350 - Disable testBookmarklets, testHistory, testTabHistory & testBookmarkKeyword for too many intermittent failures 2013-09-19 15:15:32 +01:00
StringHelper.java.in Bug 917944 - Remove "Most recent" header in history page, r=margaret 2013-09-25 21:48:16 -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
testAxisLocking.java.in
testBookmark.java.in
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 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
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 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 917398 - Include test for new top sites. r=margaret 2013-09-20 13:35:29 -04: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

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.