mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 14:45:29 +00:00
.. | ||
assets | ||
BaseTest.java.in | ||
ContentProviderTest.java.in | ||
Firefox.jpg | ||
JavascriptTest.java.in | ||
MotionEventHelper.java.in | ||
MotionEventReplayer.java.in | ||
PixelTest.java.in | ||
README.rst | ||
robocop_404.sjs | ||
robocop_autophone.ini | ||
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 | ||
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.ini | ||
test_bug720538.html | ||
test_bug720538.java.in | ||
test_viewport.sjs | ||
testAboutPage.java.in | ||
testAddonManager.java.in | ||
testAddSearchEngine.java.in | ||
testAllPagesTab.java.in | ||
testAwesomebar.java.in | ||
testAwesomebarSwipes.java.in | ||
testAxisLocking.java.in | ||
testBookmark.java.in | ||
testBookmarklets.java.in | ||
testBookmarksTab.java.in | ||
testBrowserProvider.java.in | ||
testBrowserProviderPerf.java.in | ||
testCheck2.java.in | ||
testCheck.java.in | ||
testClearPrivateData.java.in | ||
testDistribution.java.in | ||
testDoorHanger.java.in | ||
testFindInPage.java.in | ||
testFlingCorrectness.java.in | ||
testFormHistory.java.in | ||
testHistory.java.in | ||
testHistoryTab.java.in | ||
testImportFromAndroid.java.in | ||
testInputAwesomeBar.java.in | ||
testJarReader.java.in | ||
testLoad.java.in | ||
testMigration.java.in | ||
testNewTab.java.in | ||
testOrderedBroadcast.java.in | ||
testOrderedBroadcast.js | ||
testOverscroll.java.in | ||
testPan.java.in | ||
testPanCorrectness.java.in | ||
testPasswordEncrypt.java.in | ||
testPasswordProvider.java.in | ||
testPermissions.java.in | ||
testPrefsObserver.java.in | ||
testSearchSuggestions.java.in | ||
testSettingsMenuItems.java.in | ||
testSharedPreferences.java.in | ||
testSharedPreferences.js | ||
testShareLink.java.in | ||
testSystemPages.java.in | ||
testTabHistory.java.in | ||
testThumbnails.java.in | ||
testVkbOverlap.java.in | ||
testWebContentContextMenu.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 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.